/* ===== RECETAS ADAR - Editorial Wellness Magazine Design ===== */
/* Design Concept: Premium food magazine meets modern wellness */

/* ===== VARIABLES ===== */
:root {
  /* Colores de marca - Editorial sophistication */
  --primary-green: #8BC34A;
  --primary-pink: #E91E63;
  --primary-yellow: #FFC107;
  --primary-cyan: #4DD0E1;

  /* Editorial palette */
  --editorial-dark: #1a1a1a;
  --editorial-cream: #faf8f5;
  --editorial-white: #ffffff;
  --editorial-beige: #f5f0e8;
  --editorial-text: #2d2d2d;
  --editorial-muted: #6b6b6b;
  --editorial-accent: #c4a47c;

  /* Tipografía Editorial Premium */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaciado editorial */
  --radius-editorial: 4px;
  --radius-card: 2px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Sombras sofisticadas */
  --shadow-editorial: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.1);

  /* Animaciones */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-editorial: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET Y BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--editorial-cream);
  color: var(--editorial-text);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== BACKGROUND TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 195, 74, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(233, 30, 99, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(77, 208, 225, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ===== HERO HEADER - Modern Editorial con colores SUNSHINE TEAM ===== */
.header {
  position: relative;
  background: linear-gradient(135deg,
      var(--primary-green) 0%,
      #6ab044 25%,
      var(--primary-cyan) 75%,
      #3db8ca 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(139, 195, 74, 0.25);
}

/* Animated gradient background */
@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Decorative elements with brand colors */
.header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse,
      rgba(255, 193, 7, 0.15) 0%,
      transparent 70%);
  transform: rotate(25deg);
  animation: floatDecor 20s ease-in-out infinite;
  pointer-events: none;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 40%;
  height: 150%;
  background: radial-gradient(ellipse,
      rgba(233, 30, 99, 0.12) 0%,
      transparent 60%);
  transform: rotate(-15deg);
  animation: floatDecor 25s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes floatDecor {

  0%,
  100% {
    transform: rotate(25deg) translateY(0);
  }

  50% {
    transform: rotate(25deg) translateY(-20px);
  }
}

/* Content wrapper */
.header-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

/* Logo - enhanced with brand colors */
.logo {
  max-width: 160px;
  height: auto;
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
  animation: logoEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Main title - bold and modern */
.header h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1);
  animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtitle - clean and modern */
.header p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
  letter-spacing: 0.02em;
  line-height: 1.5;
  animation: subtitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes subtitleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorative divider with brand colors */
.header-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg,
      var(--primary-pink) 0%,
      var(--primary-yellow) 50%,
      var(--primary-cyan) 100%);
  margin: var(--spacing-md) auto;
  border-radius: 2px;
  animation: dividerReveal 0.8s ease-out 0.4s forwards;
  opacity: 0;
  transform: scaleX(0);
}

@keyframes dividerReveal {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* PDF Button - modern with brand colors */
.pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  color: var(--primary-green);
  border: none;
  padding: 1.1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 0 0 0 rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  animation: buttonReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.pdf-button .button-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.pdf-button .button-text {
  font-weight: 600;
}

/* Shimmer effect on button */
.pdf-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(139, 195, 74, 0.3),
      transparent);
  transition: left 0.6s ease;
}

@keyframes buttonReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pdf-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 28px rgba(139, 195, 74, 0.35),
    0 0 0 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(245, 245, 245, 0.98) 100%);
}

.pdf-button:hover::before {
  left: 100%;
}

.pdf-button:hover .button-icon {
  transform: translateY(-2px);
}

.pdf-button:active {
  transform: translateY(-1px) scale(1.01);
}

/* Phase Notes - Compacto y bien espaciado */
.phase-notes {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-editorial);
  padding: 1.25rem 1.75rem;
  max-width: 480px;
  margin: var(--spacing-md) auto 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  animation: phaseNotesReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes phaseNotesReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phase-notes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      var(--primary-pink),
      var(--primary-yellow),
      var(--primary-cyan));
  border-radius: var(--radius-editorial) var(--radius-editorial) 0 0;
}

.phase-notes-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.phase-notes-list {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}

.phase-notes-list li {
  color: var(--editorial-text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  padding-left: 1.75rem;
  position: relative;
}

.phase-notes-list li:last-child {
  margin-bottom: 0;
}

.phase-notes-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-pink);
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: bold;
}

.phase-notes-list strong {
  color: var(--primary-green);
  font-weight: 600;
}

/* ===== SEARCH - Editorial Style ===== */
.search-container {
  max-width: 700px;
  margin: var(--spacing-lg) auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 10;
}

.search-box {
  width: 100%;
  padding: 1.25rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  border: 2px solid transparent;
  border-radius: 50px;
  background: white;
  box-shadow: var(--shadow-editorial);
  transition: all 0.4s var(--transition-smooth);
  letter-spacing: 0.01em;
}

.search-box::placeholder {
  color: var(--editorial-muted);
  font-weight: 300;
}

.search-box:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.1), var(--shadow-card);
  transform: scale(1.01);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-xl);
  position: relative;
  z-index: 1;
}

/* ===== RECIPES GRID - Asymmetrical Editorial Layout ===== */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* Create visual interest with uneven item sizing */
.recipes-grid .recipe-card:nth-child(3n+1) {
  grid-row: span 1;
}

.recipes-grid .recipe-card:nth-child(5n) {
  grid-column: span 1;
}

/* ===== RECIPE CARD - Editorial Premium ===== */
.recipe-card {
  background: var(--editorial-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  transition: all 0.5s var(--transition-editorial);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(30px);
  animation: cardReveal 0.8s var(--transition-editorial) forwards;
}

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations */
.recipes-grid .recipe-card:nth-child(1) {
  animation-delay: 0.1s;
}

.recipes-grid .recipe-card:nth-child(2) {
  animation-delay: 0.15s;
}

.recipes-grid .recipe-card:nth-child(3) {
  animation-delay: 0.2s;
}

.recipes-grid .recipe-card:nth-child(4) {
  animation-delay: 0.25s;
}

.recipes-grid .recipe-card:nth-child(5) {
  animation-delay: 0.3s;
}

.recipes-grid .recipe-card:nth-child(n+6) {
  animation-delay: 0.35s;
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.recipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.recipe-card:hover::before {
  opacity: 1;
}

/* Image container with editorial treatment */
.recipe-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #2d2d2d;
}

.recipe-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s var(--transition-editorial);
  display: block;
}

.recipe-card:hover .recipe-image {
  transform: scale(1.08);
}

/* Overlay on hover */
.recipe-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.recipe-card:hover .recipe-image-wrapper::after {
  opacity: 1;
}

/* Content area */
.recipe-content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Category tag - Editorial style */
.recipe-category {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-yellow));
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: var(--spacing-sm);
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.25);
}

/* Title - Editorial typography */
.recipe-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--editorial-text);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Ingredients and preparation */
.recipe-ingredients,
.recipe-preparation {
  font-size: 0.95rem;
  color: var(--editorial-muted);
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.recipe-ingredients strong,
.recipe-preparation strong {
  color: var(--primary-green);
  font-weight: 600;
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  color: var(--editorial-muted);
  grid-column: 1 / -1;
}

.no-results h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--editorial-text);
}

/* ===== SCROLL TOP BUTTON ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-green);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(139, 195, 74, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-display);
  transition: all 0.4s var(--transition-editorial);
  z-index: 1000;
}

.scroll-top:hover {
  background: var(--primary-cyan);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(77, 208, 225, 0.5);
}

.scroll-top.visible {
  display: flex;
  animation: bounceIn 0.5s var(--transition-editorial);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .recipes-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
  }

  .header {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
  }

  .logo {
    max-width: 120px;
  }

  .header h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .header p {
    font-size: 0.9rem;
  }

  .header-divider {
    width: 70px;
    height: 3px;
    margin: var(--spacing-sm) auto;
  }

  .pdf-button {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.85rem;
  }

  .phase-notes {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .phase-notes-title {
    font-size: 1.1rem;
  }

  .phase-notes-list li {
    font-size: 0.85rem;
    padding-left: 1.5rem;
  }

  .recipes-grid {
    grid-template-columns: 1fr;
  }

  .recipe-title {
    font-size: 1.4rem;
  }

  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

/* ===== PRINT STYLES - SUNSHINE MAGAZINE MODE ===== */
@page {
  size: A4;
  margin: 0;
  /* Full bleed */
}

@media print {

  html,
  body {
    width: 210mm;
    height: 297mm;
    margin: 0;
    padding: 0;
    background: white;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    font-family: var(--font-body) !important;
  }

  /* Hide UI elements */
  .search-container,
  .scroll-top,
  .pdf-button,
  .header-divider,
  .phase-notes {
    display: none !important;
  }

  /* ===== COVER PAGE (The Header becomes the cover or first distinct section) ===== */
  .header {
    height: 297mm;
    /* Full A4 page */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20mm !important;
    background: linear-gradient(135deg, #00A9CE 0%, #008ba8 100%) !important;
    /* Sunshine Turquoise */
    color: white !important;
    page-break-after: always;
    margin: 0 !important;
    position: relative;
    z-index: 1;
  }

  /* Decorative circles on cover */
  .header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: block !important;
    z-index: -1;
  }

  .header::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 107, 0.2);
    /* Sunshine Coral */
    border-radius: 50%;
    display: block !important;
    z-index: -1;
  }

  .logo {
    max-width: 180px !important;
    margin-bottom: 20mm !important;
    filter: brightness(0) invert(1);
    /* Make logo white */
  }

  .header h1 {
    font-size: 4rem !important;
    line-height: 1.1;
    margin-bottom: 10mm !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    transform: none !important;
    color: white !important;
  }

  .header p {
    font-size: 1.5rem !important;
    font-weight: 300;
    opacity: 1 !important;
    transform: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 80%;
  }

  /* ===== RECIPE "MAGAZINE" PAGES ===== */
  .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .recipes-grid {
    display: block !important;
    margin: 0 !important;
  }

  .recipe-card {
    height: 297mm;
    /* Full A4 page */
    width: 210mm;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    page-break-after: always;
    page-break-inside: avoid;
    display: flex !important;
    flex-direction: column;
    position: relative;
    background: #f8fafc !important;
    /* Gris flojito / Soft Slate */
    overflow: hidden;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Decorative border for each page */
  .recipe-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 8mm solid white;
    /* Reduced from 15mm to avoid cutting content */
    pointer-events: none;
    z-index: 10;
  }

  /* Page Number / Footer decorative */
  .recipe-card::before {
    content: 'SUNSHINE TEAM RECIPES | FASE 2';
    position: absolute;
    bottom: 8mm;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 8pt;
    letter-spacing: 3px;
    color: #94a3b8;
    font-family: var(--font-body);
    text-transform: uppercase;
    z-index: 20;
    opacity: 1 !important;
    background: transparent !important;
    height: auto !important;
  }

  /* ===== RECIPE IMAGE (HERO) ===== */
  .recipe-image-wrapper {
    height: 50% !important;
    /* Slightly reduced height to fit better */
    width: 100% !important;
    aspect-ratio: auto !important;
    position: relative;
    background: #2d2d2d;
    margin: 8mm 0 0 0 !important;
    /* Pushes content down to clear the frame */
    z-index: 1;
    -webkit-print-color-adjust: exact !important;
  }

  /* Diagonal cut effect - REMOVED FOR PRINT to avoid cutting image content */
  .recipe-image-wrapper::after {
    display: none !important;
  }

  .recipe-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Ensure banner text is never cut */
    object-position: center !important;
    transform: none !important;
    background: #1e293b;
    /* Fallback for transparency/contain */
  }

  /* ===== RECIPE CONTENT (LOWER HALF) ===== */
  .recipe-content {
    flex: 1;
    padding: 10mm 20mm 20mm 20mm !important;
    /* Dentro del margen visual */
    background: white !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    /* Align content to top of text area */
    position: relative;
    z-index: 2;
  }

  /* Category Badge */
  .recipe-category {
    background: #E0F7FA !important;
    /* Sunshine Turquoise Light */
    color: #00A9CE !important;
    /* Sunshine Turquoise */
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 10pt !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 5mm !important;
    align-self: flex-start;
    border: 1px solid #00A9CE !important;
    box-shadow: none !important;
  }

  /* Title */
  .recipe-title {
    font-family: var(--font-display) !important;
    font-size: 32pt !important;
    color: #111827 !important;
    /* Gray 900 */
    margin: 0 0 8mm 0 !important;
    line-height: 1.1 !important;
    padding-bottom: 5mm;
    position: relative;
  }

  .recipe-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #FF6B6B !important;
    /* Sunshine Coral */
    border-radius: 2px;
  }

  /* Ingredients & Preparation Sections */
  .recipe-ingredients,
  .recipe-preparation {
    font-family: var(--font-body) !important;
    font-size: 11pt !important;
    line-height: 1.6 !important;
    color: #4B5563 !important;
    /* Gray 600 */
    margin-bottom: 8mm !important;
    background: #F9FAFB !important;
    /* Gray 50 - Sutil caja de texto */
    padding: 15px !important;
    border-radius: 8px !important;
    border-left: 4px solid #00A9CE !important;
    /* Accent border */
  }

  .recipe-ingredients strong,
  .recipe-preparation strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14pt;
    color: #00A9CE !important;
    margin-bottom: 2mm;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

}

/* ===== UTILITY ANIMATIONS ===== */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}