/* =================================================
   RECETA - LAYOUT PRINCIPAL
================================================= */

.receta-page {
  padding-bottom: 80px;
}



/* =================================================
   SLOGAN
================================================= */

.receta-slogan {
  padding: 30px 0 0;
  text-align: center;
}

.receta-slogan .slogan-texto {
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.receta-slogan .slogan-brush {
  font-family: 'VasttagBrush', cursive;
  font-size: 110px;
  color: #1a3f16;
  line-height: 1;
  margin: auto;
}

/* =================================================
   CATEGORÍAS
================================================= */

.receta-categorias {
  padding: 20px 0;
}

.receta-categorias .categorias-lista {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.receta-categorias .categoria-btn {
  flex: 1;
}

.receta-categorias .categoria-btn {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 40px;
  border-radius: 50px;
  border: 2px solid #498037;
  color: #498037;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.receta-categorias .categoria-btn:hover,
.receta-categorias .categoria-btn.activa {
  background: #498037;
  color: #ffffff;
}

/* =================================================
   HERO: IMAGEN + INFO
================================================= */

.receta-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 0px;
  position: relative;
}

.receta-imagen {
  position: relative;
}

.receta-imagen-wrapper {
  position: relative;
  width: 100%;
}

.receta-blob {
  position: absolute;
  width: 675px;
  height: 664px;
  left: 0px;
  top: 0px;
  z-index: 0;
  pointer-events: none;
}

.receta-img-principal {
  position: relative;
  width: 663px;
  height: 570px;
  display: block;
  object-fit: cover;
  clip-path: url(#blob-foto-clip);
  z-index: 1;
  top: 20px;
  left: 25px;
}

/* =================================================
   INFO DE LA RECETA
================================================= */

.receta-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.receta-titulo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 16px;
}

.receta-titulo .titulo-bold {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  color: #498037;
  text-transform: uppercase;
  display: block;
  margin: auto;
}

.receta-titulo .titulo-brush {
  font-family: 'VasttagBrush', cursive;
  font-size: 78px;
  line-height: 1;
  color: #1a3f16;
  font-weight: normal;
  display: block;
  margin: auto;
}

/* Badges y datos */
.receta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  margin-bottom: 16px;
}

.receta-badge {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: #498037;
}

.receta-badge--intermedia {
  background-color: #cd7e20;
}

.receta-badge--avanzada {
  background-color: #c31746;
}

.receta-dato-icono {
  display: flex;
  align-items: center;
  gap: 10px;
}

.receta-icono {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.receta-dato-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.receta-dato-numero {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  color: #2f6b2f;
  margin: auto;
}

.receta-dato-label {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #151515;
  text-transform: uppercase;
}

/* =================================================
   ETIQUETAS
================================================= */
.receta-dificultad-wrap .field__label,
.receta-ingredientes .field__label,
.receta-preparacion .field__label {
  display: none;
}

/* =================================================
   INGREDIENTES
================================================= */

.receta-ingredientes h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  display: block;
  color: #1a3f16 !important;  
}


.receta-ingredientes .field__label {
  display: none;
}

.receta-ingredientes, 
.receta-ingredientes * {
  font-family: 'Figtree', sans-serif !important;
  font-size: 20px !important;
  line-height: 30px !important;
  color: #498037 !important;
}

.receta-ingredientes .field__item {
  margin-top: 8px;
}

.receta-ingredientes {padding: 25px;}


/* =================================================
   PREPARACIÓN
================================================= */

.receta-preparacion {
  margin-bottom: 40px;
}

.receta-preparacion h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  padding-bottom: 6px;
  display: block;
  color: #1a3f16;
}

.receta-preparacion .field__label {
  display: none;
}

.receta-preparacion div {
  font-family: 'Figtree', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #151515;
}

.receta-preparacion p {
  margin-bottom: 18px;
}

.receta-preparacion .paso-numero {
  font-weight: 800;
  color: #498037;
}

/* =================================================
   TIPS
================================================= */

.receta-tips {
  background: #fffde7;
  border-left: 4px solid #f0c040;
  padding: 20px 24px;
  border-radius: 4px;
  margin-bottom: 48px;
}

.receta-tips h2 {
  font-family: 'Figtree', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
}

.receta-tips .field__label {
  display: none;
}

/* =================================================
   GALERÍA
================================================= */

.receta-galeria {
  margin-bottom: 48px;
}

/* =================================================
   PRODUCTOS RELACIONADOS
================================================= */

.receta-productos {
  padding: 48px 0;
}

.receta-productos .section-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 34px;
  letter-spacing: 0em;
  color: #2f6b2f;
  margin-bottom: 40px;
  text-transform: uppercase;
  text-align: center;
}

.receta-productos .field__label {
  display: none;
}

.receta-productos > .field > div > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.producto-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.producto-teaser-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
}

.producto-teaser-titulo a {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #498037;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.producto-teaser-titulo a:hover {
  text-decoration: underline;
}

.producto-teaser-tiendas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.producto-teaser-tiendas .tienda-logo {
  max-height: 30px;
  width: auto;
}

.tienda-item {
  margin-top: 10px;
}

.compra-aqui {
  font-family: 'Figtree', sans-serif;
  color: #151515;
  margin-top: -15px;
}

.producto-teaser-tiendas > div > div:first-child {
  display: none;
}
/* =================================================
   RESPONSIVE
================================================= */

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

  .receta-titulo {
    font-size: 1.5rem;
  }

  .receta-slogan .slogan-brush {
    font-size: 64px;
  }

  .receta-categorias .categorias-lista {
    justify-content: center;
  }
}

/* =================================================
   LÍNEA DIVISORA HERO
================================================= */

.receta-divisor {
  height: 2px;
  background-color: #498037;
  margin: 0 -40px;
  margin-bottom: 0px;
  z-index: 22;
}
/* =================================================
   SEPARADOR
================================================= */

hr.receta-separador {
  border: none;
  border-top: 2px solid #498037;
  margin: 0 0 48px;
}

/* =================================================
   RECETAS DESTACADAS
================================================= */

.recetas-destacadas {
  padding: 60px 0;
  text-align: center;
}

.recetas-destacadas-titulo {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #2f6b2f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}

.receta-destacada-item {
  position: relative;
  width: 100%;
  padding: 20px;
}

.receta-destacada-blob {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 0;
  pointer-events: none;
}

.blob-destacada {
  width: 100%;
  height: auto;
}

.receta-destacada-foto {
  position: relative;
  z-index: 1;
  width: 85%;
  margin: 5% auto;
}

.receta-destacada-foto img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.receta-destacada-foto a {
  display: block;
}

.recetas-destacadas-swiper {
  padding: 20px 0 40px;
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.recetas-destacadas-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.recetas-destacadas-swiper .swiper-button-prev,
.recetas-destacadas-swiper .swiper-button-next {
  color: #2f6b2f;
  background: rgba(255,255,255,0.8);
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.recetas-destacadas-swiper .swiper-button-prev::after,
.recetas-destacadas-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: 800;
}

/* Ocultar título y labels */
.receta-destacada-foto .field__label,
.recetas-destacadas .views-field-title {
  display: none;
}

/* =================================================
   RECETA INDIVIDUAL — MÓVIL
================================================= */

@media screen and (max-width: 764px) {
  .receta-hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .receta-imagen {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  .receta-imagen-wrapper {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }

  .receta-blob {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
  }

  .receta-img-principal {
    width: 100%;
    height: 82%;
    object-fit: cover;
    left: 5px;
    top: 15px;
  }

  .receta-info {
    width: 100%;
    padding: 0 20px;
  }

  .receta-titulo {
    font-size: 2rem;
  }

  .receta-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .receta-badge {
    width: 100%;
    text-align: center;
  }

  .receta-badge--intermedia {
    max-width: 300px;
    margin: auto;
    height: 40px;
    padding-top: 10px;
    margin-bottom: 40px;
  }

  .receta-dato-icono {
    flex: 1;
    justify-content: center;
  }

  .receta-ingredientes,
  .receta-preparacion {
    padding: 0 20px;
  }

  .receta-tips,
  .receta-galeria,
  .receta-productos {
    padding: 0 20px;
  }

  .breadcrumb-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px;
    font-size: 12px;
  }

  .receta-divisor {
    height: 3px;
    margin: 0px;
    max-width: 100%;
  }

  .receta-preparacion.container {
    margin-top: 30px;
}
}