/*
Theme Name: PlatosDeCasa
Theme URI: https://platosdecasa.com
Author: Antigravity Team
Author URI: https://platosdecasa.com
Description: Tema premium, ultra-rápido y optimizado para SEO, Core Web Vitals y Schema Recipe para la web de cocina PlatosDeCasa.com.
Version: 2.4.4
License: GNU General Public License v2 or later
Text Domain: platosdecasa
*/

:root {
  --color-primary: #c2410c; /* Naranja rojizo gastronómico cálido */
  --color-primary-dark: #9a3412;
  --color-primary-light: #fff7ed;
  --color-primary-border: #fed7aa;
  --color-secondary: #047857; /* Verde oliva mediterráneo */
  --color-secondary-light: #ecfdf5;
  --color-accent: #f59e0b; /* Ámbar / estrellas */
  --color-bg: #fdfbf7; /* Blanco marfil cálido */
  --color-surface: #ffffff;
  --color-border: #f1ede4;
  --color-border-dark: #e5ded3;
  --color-text-main: #1c1917;
  --color-text-muted: #57534e;
  --color-text-subtle: #78716c;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-lg: 0 10px 20px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =========================================
   TOP UTILITY BAR & COMMUNITY HEADER
   ========================================= */
.top-bar {
  background: #141211;
  color: #d6d3d1;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #262220;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.top-bar-badge {
  background: var(--color-primary);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.top-bar-text {
  font-weight: 500;
  color: #e2e8f0;
  display: none;
}
@media (min-width: 640px) {
  .top-bar-text {
    display: inline;
  }
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top-bar-guarantee {
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 700;
  display: none;
}
@media (min-width: 860px) {
  .top-bar-guarantee {
    display: inline;
  }
}
.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.top-bar-socials a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #231f1d;
  transition: all 0.2s;
}
.top-bar-socials a:hover {
  color: #fff;
  background: var(--color-primary);
}

/* =========================================
   MAIN STICKY HEADER & NAVIGATION
   ========================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

/* Brand Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  text-decoration: none;
}
.logo-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(194, 65, 12, 0.28);
  flex-shrink: 0;
}
.logo-icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.logo-brand-name .accent {
  color: var(--color-primary);
}
.site-tagline-header {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 990px) {
  .nav-desktop {
    display: flex;
  }
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #44403c;
  padding: 0.6rem 0.35rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-icon {
  font-size: 1.05rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 9999px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Inline Desktop Search Form */
.header-search-form {
  display: none;
  position: relative;
  width: 240px;
}
@media (min-width: 1200px) {
  .header-search-form {
    display: block;
  }
}
.header-search-input {
  width: 100%;
  padding: 0.55rem 2.25rem 0.55rem 0.85rem;
  font-size: 0.8125rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s;
}
.header-search-input:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
}
.header-search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.header-search-submit:hover {
  color: var(--color-primary);
}

/* Mobile Search Icon Button */
.mobile-search-btn {
  background: none;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  transition: all 0.2s;
}
@media (min-width: 1200px) {
  .mobile-search-btn {
    display: none;
  }
}
.mobile-search-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Mobile Search Dropdown */
.mobile-search-bar-dropdown {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.mobile-search-bar-dropdown.open {
  display: block;
}
.mobile-search-form-inner {
  display: flex;
  gap: 0.5rem;
}
.mobile-search-form-inner input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
.mobile-search-form-inner button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  background: none;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  transition: all 0.2s;
}
@media (min-width: 990px) {
  .mobile-menu-btn {
    display: none;
  }
}
.mobile-menu-btn:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* =========================================
   MOBILE NAVIGATION DRAWER
   ========================================= */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-nav-drawer.open {
  display: flex;
}
.drawer-content {
  background: var(--color-surface);
  width: 86%;
  max-width: 360px;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon-mini {
  font-size: 1.5rem;
}

/* Drawer Search Box */
.drawer-search-box form {
  display: flex;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.drawer-search-box input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: none;
  font-size: 0.875rem;
  outline: none;
}
.drawer-search-box button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 0.85rem;
  cursor: pointer;
}

/* Drawer Visual Cards */
.drawer-sections-heading {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  letter-spacing: 0.06em;
}
.drawer-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.drawer-cat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  text-decoration: none;
  transition: all 0.2s;
}
.drawer-cat-card:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-border);
}
.drawer-cat-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.drawer-cat-info {
  display: flex;
  flex-direction: column;
}
.drawer-cat-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
}
.drawer-secondary-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}
.drawer-sec-link {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.4rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-decoration: none;
  transition: all 0.2s;
}
.drawer-sec-link:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary-border);
}

.drawer-footer-actions {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.drawer-home-btn {
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.drawer-social-row {
  display: flex;
  gap: 0.5rem;
}
.drawer-social-btn {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-muted);
}
.drawer-social-btn.pin:hover {
  background: #e60023;
  color: #fff;
  border-color: #e60023;
}
.drawer-social-btn.ig:hover {
  background: #e1306c;
  color: #fff;
  border-color: #e1306c;
}

/* HOME HERO EDITORIAL */
.home-hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #fffbf6 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 960px) {
  .hero-editorial-grid {
    grid-template-columns: 1.6fr 1fr;
    align-items: stretch;
  }
}

.hero-feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.feature-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f5f5f4;
  overflow: hidden;
}
.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-feature-card:hover .feature-card-media img {
  transform: scale(1.05);
}
.feature-badge-gold {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.feature-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.feature-category {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: #1c1917;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .feature-title {
    font-size: 2.1rem;
  }
}
.feature-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.feature-meta-bar {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.meta-chips {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}
.meta-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.rating-pill {
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Trending Panel */
.hero-trending-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1rem;
}
.panel-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1c1917;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trending-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.trending-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.trending-item:hover {
  background: var(--color-bg);
}
.trending-thumb {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f4;
}
.trending-rank-num {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trending-info {
  display: flex;
  flex-direction: column;
}
.trending-cat {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}
.trending-item-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trending-time {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Category Browser */
.category-browser-section {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
}
.section-headline-center {
  text-align: center;
  margin-bottom: 2rem;
}
.section-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  display: block;
}
.section-main-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.01em;
}
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .category-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}
.cat-card-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.2s;
  text-decoration: none;
}
.cat-card-item:hover {
  border-color: var(--color-primary-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f5f5f4;
  overflow: hidden;
}
.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card-item:hover .cat-card-media img {
  transform: scale(1.08);
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(20, 18, 17, 0.55) 100%);
}
.cat-card-icon-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.cat-card-content {
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-card-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.cat-card-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.cat-card-arrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s;
}
.cat-card-item:hover .cat-card-arrow {
  transform: translateX(4px);
}

/* Recipes Grid & Filter Tabs Bar */
.recipes-showcase-section {
  padding: 3.5rem 0 4rem;
}
.showcase-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) {
  .showcase-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* Category Filter Tabs Bar */
.recipes-filter-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  padding-bottom: 0.5rem;
}
.filter-tab-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xs);
  user-select: none;
}
.filter-tab-pill:hover {
  border-color: var(--color-primary-border);
  color: var(--color-primary);
  transform: translateY(-1px);
}
.filter-tab-pill.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.28);
}
.filter-tab-pill .filter-count {
  background: rgba(0, 0, 0, 0.08);
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.filter-tab-pill.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.recipes-masonry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .recipes-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .recipes-masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.recipe-card-standard {
  background: var(--color-surface);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, opacity 0.25s, border-color 0.2s;
}
.recipe-card-standard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-border);
}
.recipe-card-standard.is-hidden {
  display: none !important;
}

.card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #f5f5f4;
  overflow: hidden;
}
.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.recipe-card-standard:hover .card-thumb-wrap img {
  transform: scale(1.06);
}
.card-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(28, 25, 23, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  z-index: 2;
}

/* Card Floating Action Buttons (Favorites + Pinterest) */
.card-floating-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 3;
}
.card-fav-save-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #78716c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.card-fav-save-btn:hover {
  background: #fff;
  color: #e11d48;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}
.card-fav-save-btn.is-favourited {
  color: #e11d48;
  background: #fff;
}
.card-fav-save-btn.is-favourited svg {
  fill: #e11d48;
}
.card-pin-save-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e60023;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s;
  box-shadow: 0 2px 8px rgba(230, 0, 35, 0.3);
  text-decoration: none;
}
.card-pin-save-btn:hover {
  transform: scale(1.1);
  background: #bd081c;
}

.card-details-box {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta-micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.card-cat-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}
.card-rating-stars {
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
}
.card-recipe-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}
.card-recipe-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.card-recipe-title a:hover {
  color: var(--color-primary);
}
.card-recipe-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer-strip {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Difficulty Status Bullets */
.diff-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.diff-bullet.diff-fácil,
.diff-bullet.diff-facil,
.diff-bullet[class*="fácil"],
.diff-bullet[class*="facil"],
.diff-bullet[class*="muy"] {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.diff-bullet.diff-media,
.diff-bullet.diff-medio,
.diff-bullet[class*="medi"] {
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.diff-bullet.diff-difícil,
.diff-bullet.diff-dificil,
.diff-bullet[class*="difícil"],
.diff-bullet[class*="dificil"] {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Trust E-E-A-T Section */
.trust-authority-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}
.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.trust-item h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.trust-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Newsletter Banner Section */
.newsletter-banner-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-bottom: 1px solid var(--color-primary-border);
}
.newsletter-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.newsletter-card h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.newsletter-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.newsletter-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}
@media (min-width: 540px) {
  .newsletter-form-row {
    flex-direction: row;
  }
}
.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: #fafaf9;
  outline: none;
  transition: all 0.2s;
}
.newsletter-input:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}
.newsletter-btn {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.25);
}
.newsletter-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.35);
}

/* =========================================
   SINGLE RECIPE PAGE ENHANCEMENTS
   ========================================= */


/* Reading progress bar */
.reading-progress-bar {
  position: fixed;
  top: 74px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  width: 0%;
  z-index: 49;
  transition: width 0.1s ease-out;
}

/* =========================================
   FULL-WIDTH TOP HERO SECTION (EDGE-TO-EDGE)
   ========================================= */
.single-hero-fullwidth {
  width: 100%;
  position: relative;
  background: #141211;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.hero-image-stage {
  position: relative;
  width: 100%;
  height: 340px;
}
@media (min-width: 640px) {
  .hero-image-stage {
    height: 440px;
  }
}
@media (min-width: 1024px) {
  .hero-image-stage {
    height: 520px;
  }
}
@media (min-width: 1440px) {
  .hero-image-stage {
    height: 580px;
  }
}
.hero-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 17, 0.08) 0%,
    rgba(20, 18, 17, 0.15) 50%,
    rgba(20, 18, 17, 0.65) 100%
  );
  pointer-events: none;
}
.hero-stage-inner {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}
.hero-floating-pills {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.hero-caption-pill {
  background: rgba(28, 25, 23, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f5f5f4;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-pin-save-btn {
  background: #e60023;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(230, 0, 35, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-pin-save-btn:hover {
  background: #b8001c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 0, 35, 0.55);
}

.recipe-single-container {
  padding: 2.75rem 0 4.5rem;
}

.single-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .single-layout-wrapper {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.single-main-content {
  min-width: 0;
}

/* Breadcrumbs - Modern Editorial Micro-Navigation (Theme Native & Rank Math) */
.recipe-breadcrumbs,
.rank-math-breadcrumb {
  font-size: 0.8125rem;
  color: #78716c;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.recipe-breadcrumbs a,
.rank-math-breadcrumb a {
  color: #78716c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.recipe-breadcrumbs a:hover,
.rank-math-breadcrumb a:hover {
  color: var(--color-primary);
}
.recipe-breadcrumbs .bc-home-link svg {
  color: var(--color-primary);
}
.recipe-breadcrumbs .sep,
.rank-math-breadcrumb .separator {
  color: #d6d3d1;
  font-weight: 700;
  font-size: 0.85rem;
}
.recipe-breadcrumbs .current,
.rank-math-breadcrumb .last {
  color: #44403c;
  font-weight: 600;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Single Recipe Editorial Header */
.single-recipe-header {
  margin-bottom: 2rem;
}

.recipe-top-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.single-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.single-badge-pill:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-1px);
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
  transition: background 0.2s;
}
.single-badge-pill:hover .pill-dot {
  background: #ffffff;
}
.recipe-format-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.single-recipe-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1c1917;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

/* Rating & Author E-E-A-T Strip (Michelin Quality) */
.recipe-trust-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.author-avatar-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.author-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fef3c7;
  border: 1.5px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.dona-header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.author-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.author-name {
  font-size: 0.875rem;
  color: #1c1917;
}
.author-name strong {
  color: #1c1917;
  font-weight: 700;
}
.verified-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  vertical-align: middle;
}
.recipe-sub-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  color: #78716c;
}

.header-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
}
.rating-stars-visual {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.rating-score-group {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}
.rating-number {
  font-weight: 800;
  font-size: 0.95rem;
  color: #92400e;
}
.rating-max {
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 600;
}
.rating-votes {
  color: #78716c;
  font-size: 0.775rem;
}

/* Editorial Excerpt / Lead */
.single-recipe-lead {
  font-size: 1.15rem;
  color: #44403c;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  padding-left: 1.15rem;
  border-left: 3.5px solid var(--color-primary);
}

/* Unified Editorial Recipe Action Deck */
.recipe-actions-deck {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 16px);
  padding: 1.15rem 1.25rem 0.95rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

/* 4-Tool Balanced Grid */
.deck-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.deck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

/* Jump to recipe - Featured Button */
.btn-jump-recipe {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(194, 65, 12, 0.25);
}
.btn-jump-recipe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.35);
  color: #ffffff;
}

/* Print / PDF */
.btn-print-recipe {
  background: var(--color-surface);
  color: var(--color-text-main);
  border: 1px solid var(--color-border-dark);
  box-shadow: var(--shadow-xs);
}
.btn-print-recipe:hover {
  background: var(--color-bg);
  border-color: #a8a29e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Favorite Save */
.btn-fav-action {
  background: var(--color-surface);
  color: var(--color-text-main);
  border: 1px solid var(--color-border-dark);
  box-shadow: var(--shadow-xs);
}
.btn-fav-action:hover {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #e11d48;
  transform: translateY(-2px);
}
.btn-fav-action.active,
.btn-fav-action.is-favourited {
  background: #fff1f2;
  border-color: #fda4af;
  color: #e11d48;
}
.btn-fav-action.active .heart-icon,
.btn-fav-action.is-favourited .heart-icon {
  fill: #e11d48;
}

/* Pinterest */
.btn-save-pin {
  background: #e60023;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(230, 0, 35, 0.25);
}
.btn-save-pin:hover {
  background: #bd081c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 0, 35, 0.35);
}

/* Integrated Sharing Strip */
.deck-share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
  gap: 1rem;
  flex-wrap: wrap;
}
.share-strip-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.share-strip-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Share pill buttons */
.share-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-main);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.share-pill-btn.wa {
  color: #128c7e;
  border-color: rgba(37, 211, 102, 0.35);
  background: #f0fdf4;
}
.share-pill-btn.wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.share-pill-btn.copy {
  border-color: var(--color-border-dark);
}
.share-pill-btn.copy:hover {
  background: #1c1917;
  border-color: #1c1917;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .deck-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .deck-share-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .share-strip-actions {
    width: 100%;
  }
  .share-pill-btn {
    flex: 1;
    justify-content: center;
  }
}

/* Quick Specs Overview Grid */
.quick-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 580px) {
  .quick-specs-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.spec-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.spec-icon {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.spec-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.spec-val {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  font-weight: 800;
}

/* Recipe Content Prose */
.recipe-prose-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #292524;
  margin-bottom: 3.5rem;
}
.recipe-prose-content h2 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}
.recipe-prose-content p {
  margin-bottom: 1.35rem;
}

/* Callout Box (Consejos del Chef) */
.callout-box {
  background: #fffbeb;
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}
.callout-title {
  font-weight: 800;
  color: #92400e;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================
   DYNAMIC RECIPE CARD BOX
   ========================================= */
.recipe-card-box {
  background: var(--color-surface);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  .recipe-card-box {
    padding: 2.75rem 2.25rem;
  }
}
.card-box-header {
  border-bottom: 2px dashed var(--color-border-dark);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}
.card-box-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.card-pretitle {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}
.card-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-action-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-bg);
  color: var(--color-text-main);
  border: 1px solid var(--color-border-dark);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.card-action-mini-btn:hover {
  background: #e7e5e4;
}
.card-action-mini-btn.pin {
  color: #e60023;
  border-color: rgba(230, 0, 35, 0.3);
  background: rgba(230, 0, 35, 0.05);
}
.card-action-mini-btn.pin:hover {
  background: #e60023;
  color: #fff;
}
.card-box-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}
.recipe-card-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .recipe-card-badges {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card-badge {
  background: var(--color-bg);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--color-border);
}
.badge-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}
.badge-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 0.2rem;
}

/* Recipe Control Toolbar (Cook Mode & Servings Scaler) */
.recipe-interactive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary-border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

/* Cook Mode Toggle */
.cook-mode-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cook-mode-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cook-mode-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.cook-mode-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cook-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d6d3d1;
  transition: .3s;
  border-radius: 24px;
}
.cook-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cook-mode-switch input:checked + .cook-slider {
  background-color: var(--color-primary);
}
.cook-mode-switch input:checked + .cook-slider:before {
  transform: translateX(22px);
}
.cook-mode-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Servings Scaler */
.servings-scaler-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.scaler-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
}
.scaler-buttons {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.scaler-btn {
  background: none;
  border: none;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.scaler-btn:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}
.scaler-btn.active {
  background: var(--color-primary);
  color: #fff;
}

/* Ingredients */
.section-title-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ingredients-hint {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  font-style: italic;
}
.recipe-section-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-main);
}
.ingredient-list {
  list-style: none;
  margin: 0 0 2rem 0 !important;
  padding: 0;
}
.ingredient-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.2s;
}
.ingredient-item.checked {
  opacity: 0.5;
  text-decoration: line-through;
}
.ingredient-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  width: 100%;
}
.ingredient-checkbox {
  width: 19px;
  height: 19px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.ingredient-text {
  font-size: 1rem;
  color: var(--color-text-main);
}
.ingredient-amount {
  font-weight: 800;
  color: var(--color-primary-dark);
}

/* Section Title Strip & Progress Counter */
.section-title-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.steps-progress-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}
.steps-progress-counter.all-done {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

/* Steps with Photos & Title - Modern Split Editorial Layout */
.recipe-visual-steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 1.25rem 0 2.5rem;
}
.recipe-visual-step-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 16px);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.recipe-visual-step-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.recipe-visual-step-card.completed {
  background: #f8faf9;
  border-color: #86efac;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.08);
}

/* Step Card Header Bar */
.step-card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--color-border);
  gap: 1rem;
}
.step-num-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.step-num-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.28);
}
.recipe-visual-step-card.completed .step-num-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.step-phase-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-subtle);
}

/* Step Complete Toggle Button */
.step-complete-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  user-select: none;
  transition: all 0.2s ease;
}
.step-complete-toggle:hover {
  border-color: #86efac;
  color: #15803d;
  background: #f0fdf4;
}
.step-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.step-toggle-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--color-border-dark);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}
.step-complete-toggle input:checked + .step-toggle-box {
  background: #10b981;
  border-color: #10b981;
}
.step-complete-toggle input:checked + .step-toggle-box::after {
  content: '';
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}
.step-complete-toggle input:checked ~ .step-toggle-text {
  color: #15803d;
}

/* Step Card Split Body (Grid Layout) */
.step-card-split-body {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
.recipe-visual-step-card.has-step-photo .step-card-split-body {
  grid-template-columns: 1.25fr 1fr;
}
.recipe-visual-step-card.no-step-photo .step-card-split-body {
  grid-template-columns: 1fr;
}

/* Text Column */
.step-card-text-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.step-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.35;
  transition: color 0.2s;
}
.recipe-visual-step-card.completed .step-card-title {
  color: #065f46;
}
.step-card-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* Media Column & Step Photo Frame */
.step-card-media-col {
  width: 100%;
}
.step-photo-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f5f5f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-photo-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
.step-zoomable-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.step-photo-frame:hover .step-zoomable-img {
  transform: scale(1.05);
}
.step-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 12, 10, 0.78) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.step-zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: #1c1917;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
}
.step-camera-tag {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.725rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .recipe-visual-step-card.has-step-photo .step-card-split-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .recipe-visual-step-card {
    padding: 1.25rem;
  }
}

/* Fullscreen Step Photo Lightbox Modal */
.pdc-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  animation: pdcBackdropFadeIn 0.25s ease-out;
}
.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pdcModalZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-close-btn {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lightbox-close-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: rotate(90deg) scale(1.08);
}
.lightbox-img-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  background: #000;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  margin-top: 0.85rem;
  color: #f5f5f4;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
@keyframes pdcBackdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pdcModalZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Nutrition Facts Label */
.nutrition-facts-box {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 2px dashed var(--color-border-dark);
}
.nutrition-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.nutrition-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nutrition-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
@media (min-width: 540px) {
  .nutrition-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.nutri-pill {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
}
.nutri-name {
  font-size: 0.725rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
}
.nutri-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-top: 0.15rem;
}

/* =========================================
   INTERACTIVE FAQS ACCORDION
   ========================================= */
.faq-section {
  margin: 3.5rem 0;
}
.faq-section-header {
  margin-bottom: 1.5rem;
}
.faq-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-accordion-item.active {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-sm);
}
.faq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-accordion-trigger:hover {
  color: var(--color-primary);
}
.faq-trigger-icon {
  flex-shrink: 0;
  color: var(--color-text-subtle);
  transition: transform 0.25s ease, color 0.2s;
}
.faq-accordion-item.active .faq-trigger-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.faq-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-panel-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
}

/* ==========================================================================
   Final Dish Presentation Showcase Box
   ========================================================================== */
.final-dish-showcase-box {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
}
.final-dish-header {
  margin-bottom: 1.25rem;
}
.final-dish-kicker {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.final-dish-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.3;
}
.final-dish-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  background: #1c1917;
  aspect-ratio: 16 / 10;
}
.final-dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.final-dish-frame:hover .final-dish-img {
  transform: scale(1.025);
}
.final-dish-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.final-dish-notes {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.final-dish-notes .notes-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.1rem;
}
.final-dish-notes .notes-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}
.final-dish-notes .notes-content p {
  font-size: 0.925rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Doña Carmen Secret Grandmother Tip Callout
   ========================================================================== */
.dona-carmen-tip-box {
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #fffcf9 0%, #fff7ed 100%);
  border: 1.5px solid var(--color-primary-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.06);
  position: relative;
  overflow: hidden;
}
.dona-carmen-tip-box::before {
  content: "“";
  position: absolute;
  top: -15px;
  right: 15px;
  font-size: 6.5rem;
  font-family: var(--font-serif);
  line-height: 1;
  color: rgba(194, 65, 12, 0.08);
  pointer-events: none;
  user-select: none;
}
.tip-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.dona-tip-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffedd5;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.15);
}
.tip-chef-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tip-body-col {
  flex: 1;
  position: relative;
  z-index: 1;
}
.tip-badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.tip-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tip-highlight-pill {
  background: #ffedd5;
  color: #9a3412;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid #fed7aa;
}
.tip-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.075rem;
  line-height: 1.65;
  color: #431407;
  font-style: italic;
}

/* ==========================================================================
   Doña Carmen Dedicated Author Bio Card (E-E-A-T Signal)
   ========================================================================== */
.dona-carmen-bio-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin: 3.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}
.dona-bio-portrait-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.dona-portrait-wrap {
  position: relative;
  width: 110px;
  height: 110px;
}
.dona-bio-portrait {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.dona-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.dona-exp-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #fde68a;
  white-space: nowrap;
}
.dona-bio-content-col {
  flex: 1;
}
.dona-bio-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.dona-role-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}
.dona-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.2;
}
.dona-trust-seal {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  background: var(--color-secondary-light);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}
.dona-bio-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1rem 0;
}
.dona-trust-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pillar-pill {
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  color: #44403c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.pillar-pill:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-border);
  color: var(--color-primary-dark);
}

/* Fallback Author Bio Card */
.author-bio-card {
  background: linear-gradient(135deg, #fffbf6 0%, #ffffff 100%);
  border: 1px solid #f1ede4;
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
}
.bio-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}
.bio-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fef3c7;
  border: 2px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.bio-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}
.bio-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bio-header-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.bio-header-line h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1c1917;
  margin: 0;
}
.bio-tag {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.bio-desc {
  font-size: 0.925rem;
  color: #57534e;
  line-height: 1.65;
  margin: 0;
}
.bio-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.bio-pillar-pill {
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  color: #44403c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

@media (max-width: 640px) {
  .final-dish-showcase-box {
    padding: 1.35rem 1.15rem;
    margin: 2rem 0;
  }
  .dona-carmen-tip-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.15rem;
    gap: 1rem;
  }
  .tip-badge-row {
    justify-content: center;
  }
  .dona-carmen-bio-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }
  .dona-bio-header {
    justify-content: center;
  }
  .dona-trust-pillars {
    justify-content: center;
  }
}

/* Related Recipes Section - Complete 3-Card Balanced Grid */
.single-related-section {
  padding-top: 2.75rem;
  border-top: 2px solid var(--color-border);
}
.related-header-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}
.related-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}
.related-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: #1c1917;
  margin: 0;
}
.related-see-all {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: transform 0.2s;
}
.related-see-all:hover {
  transform: translateX(3px);
}
.related-cards-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .related-cards-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
.related-recipe-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.related-recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-border);
}
.related-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f4;
}
.related-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}
.related-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.related-recipe-card:hover .related-thumb-link img {
  transform: scale(1.08);
}
.related-cat-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}
.related-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}
.related-card-rating .stars {
  color: #f59e0b;
}
.related-card-rating .score {
  font-weight: 700;
  color: #92400e;
}
.related-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-title a {
  color: #1c1917;
  text-decoration: none;
  transition: color 0.2s;
}
.related-recipe-card:hover .related-card-title a {
  color: var(--color-primary);
}
.related-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.775rem;
  color: #78716c;
  font-weight: 600;
}
.related-card-footer .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.related-card-footer .meta-sep {
  color: #d6d3d1;
}

/* SIDEBAR COLUMN */
.single-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1c1917;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1rem;
}
.quick-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}
.quick-nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  display: block;
  background: var(--color-primary-light);
  transition: all 0.2s;
}
.quick-nav-links a:hover {
  background: #ffedd5;
  transform: translateX(3px);
}

.widget-recipes-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.widget-recipe-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.widget-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f4;
}
.widget-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-recipe-meta h6 {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.widget-submeta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
}
.widget-stars {
  color: #92400e;
  font-weight: 700;
}
.widget-dot {
  color: var(--color-border-dark);
}
.widget-time {
  color: var(--color-text-subtle);
}

.widget-newsletter-card {
  text-align: center;
}
.newsletter-icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 0.4rem;
}
.widget-newsletter-card h5 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.widget-newsletter-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.widget-newsletter-card form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.widget-newsletter-card input {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-dark);
  font-size: 0.875rem;
}
.widget-newsletter-card button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.widget-newsletter-card button:hover {
  background: var(--color-primary-dark);
}

/* =========================================
   PRE-FOOTER VIP STRIP & REFINED FOOTER
   ========================================= */
.footer-vip-strip {
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: #f5f5f4;
  border-top: 1px solid #44403c;
  border-bottom: 1px solid #292524;
  padding: 2.25rem 0;
}
.footer-vip-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 860px) {
  .footer-vip-inner {
    flex-direction: row;
    gap: 2.5rem;
  }
}
.vip-text-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}
.vip-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.vip-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.vip-desc {
  font-size: 0.875rem;
  color: #d6d3d1;
  line-height: 1.45;
  margin: 0;
}
.vip-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 440px;
}
.vip-form input[type="email"] {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}
.vip-form input[type="email"]::placeholder {
  color: #a8a29e;
}
.vip-form input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.25);
}
.vip-form button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.35);
}
.vip-form button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.site-footer {
  background: #141211;
  color: #e5e5e5;
  margin-top: auto;
  border-top: 1px solid #262220;
}

.footer-main-body {
  padding: 3rem 1.25rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.footer-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-logo-badge svg {
  width: 18px;
  height: 18px;
}
.footer-logo .brand-accent {
  color: var(--color-primary);
}
.footer-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 1.15rem;
}
.footer-seal-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1f1b19;
  border: 1px solid #44403c;
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.775rem;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
}
.footer-seal-trust strong {
  color: #fbbf24;
}
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #231f1d;
  color: #f1f5f9;
  border: 1px solid #44403c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}
.social-icon-btn:hover {
  transform: translateY(-2px);
}
.social-icon-btn.pin:hover {
  background: #e60023;
  border-color: #e60023;
  color: #fff;
}
.social-icon-btn.ig:hover {
  background: #e1306c;
  border-color: #e1306c;
  color: #fff;
}
.social-icon-btn.yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

.footer-col-heading {
  display: block;
  font-size: 0.8125rem;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-nav-list a {
  font-size: 0.875rem;
  color: #e2e8f0;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}
.footer-nav-list a:hover {
  color: #ffffff;
  text-decoration: underline;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid #2d2825;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #e2e8f0;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}
.footer-copy {
  color: #e2e8f0;
}
.footer-bottom strong {
  color: #ffffff;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-bottom-links a {
  color: #e2e8f0;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}
.footer-bottom-links .sep {
  color: #94a3b8;
}

/* =========================================
   CATEGORY & ARCHIVE PAGES - PANORAMIC HERO
   ========================================= */
.archive-panoramic-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: #141211;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .archive-panoramic-hero {
    min-height: 380px;
    padding: 4.5rem 0 4rem;
  }
}
.archive-hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.archive-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) saturate(1.1);
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.archive-panoramic-hero:hover .archive-hero-bg-img {
  transform: scale(1.05);
}
.archive-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 17, 0.45) 0%,
    rgba(20, 18, 17, 0.72) 60%,
    rgba(20, 18, 17, 0.92) 100%
  );
}
.archive-hero-content-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.archive-breadcrumbs-light {
  justify-content: center;
  margin-bottom: 1.25rem;
}
.archive-breadcrumbs-light a {
  color: #d6d3d1;
  text-decoration: none;
}
.archive-breadcrumbs-light a:hover {
  color: #ffffff;
}
.archive-breadcrumbs-light .sep {
  color: #78716c;
}
.archive-breadcrumbs-light .current {
  color: #fbbf24;
  font-weight: 700;
}
.archive-header-box {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.archive-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.archive-main-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .archive-main-title {
    font-size: 3.1rem;
  }
}
.archive-description {
  font-size: 1.05rem;
  color: #e7e5e4;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 660px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.archive-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.archive-count-pill {
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(4px);
  color: #f5f5f4;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.archive-trust-pill {
  background: rgba(254, 243, 199, 0.92);
  color: #92400e;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid #fde68a;
}
.archive-fresh-pill {
  background: rgba(224, 242, 254, 0.92);
  color: #0369a1;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
}

/* Category Visual Pills Switcher Bar */
.archive-recipes-section {
  padding: 3rem 0 4.5rem;
}
.archive-category-nav-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .archive-category-nav-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cat-nav-title-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cat-nav-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cat-nav-visual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.cat-visual-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-dark);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.pill-thumb-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.pill-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pill-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
}
.cat-visual-pill:hover {
  background: var(--color-surface);
  border-color: var(--color-primary-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cat-visual-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 3px 10px rgba(194, 65, 12, 0.3);
}
.cat-visual-pill.active .pill-title {
  color: #ffffff;
}
.cat-visual-pill.active .pill-thumb-wrap {
  border-color: rgba(255, 255, 255, 0.5);
}

.archive-pagination {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}
.archive-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
  transition: all 0.2s;
  text-decoration: none;
}
.archive-pagination .page-numbers:hover, 
.archive-pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Empty Category State */
.archive-empty-notice {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--color-surface);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-md);
  margin: 2rem 0;
}
.empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}
.archive-empty-notice h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}
.archive-empty-notice p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Category SEO Block (E-E-A-T & Google Authority) */
.archive-seo-text-section {
  padding: 3.5rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.archive-seo-box {
  max-width: 860px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
}
.seo-badge-tag {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}
.archive-seo-box h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.85rem;
}
.archive-seo-box p {
  color: var(--color-text-muted);
  line-height: 1.75;
  font-size: 0.975rem;
  margin-bottom: 1.25rem;
}
.seo-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.seo-pill {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

/* =========================================
   MOBILE FLOATING ACTION DOCK
   ========================================= */
.mobile-sticky-action-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  justify-content: space-around;
  gap: 0.5rem;
}
@media (max-width: 1023px) {
  .mobile-sticky-action-dock {
    display: flex;
  }
}
.mobile-sticky-action-dock.visible {
  transform: translateY(0);
}
.dock-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.dock-btn.dock-jump {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.3);
}
.dock-btn.dock-print {
  background: var(--color-bg);
  color: var(--color-text-main);
  border: 1px solid var(--color-border-dark);
}
.dock-btn.dock-pin {
  background: #e60023;
  color: #fff;
}

/* Toast Notification */
.pdc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1c1917;
  color: #fff;
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .pdc-toast {
    bottom: 74px;
  }
}
.pdc-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 40;
}
@media (max-width: 1023px) {
  .back-to-top-btn {
    bottom: 74px;
  }
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* =========================================
   EDITORIAL & LEGAL PAGES STYLES
   ========================================= */

/* 1. Page Panoramic Header */
.editorial-page-hero {
  background: linear-gradient(180deg, #fffbf6 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.editorial-hero-inner {
  max-width: 840px;
  margin: 0 auto;
}
.page-breadcrumbs {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.page-bc-parent {
  color: #78716c;
}
.page-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 2px solid var(--color-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.12);
}
.page-hero-kicker {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.page-hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 1.5rem;
}
.page-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.page-meta-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  color: #57534e;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}
.page-meta-pill strong {
  color: var(--color-text-main);
}

/* 2. Main Page Layout & Legal Hub */
.editorial-page-content-area {
  padding: 3.5rem 0 5rem;
}
.standard-page-container {
  max-width: 860px;
  margin: 0 auto;
}
.legal-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .legal-layout-grid {
    grid-template-columns: 290px 1fr;
    align-items: start;
  }
}

/* Legal Sidebar Navigation */
.legal-sidebar {
  position: sticky;
  top: 100px;
}
.legal-nav-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.legal-nav-title {
  display: block;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #78716c;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.legal-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
}
.legal-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  color: #57534e;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.legal-nav-links a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}
.legal-nav-links a.active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-border);
}
.legal-nav-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 1.25rem 0;
}
.legal-nav-subhead {
  display: block;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #a8a29e;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}
.legal-nav-links.sub-links a {
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
}
.legal-help-box {
  margin-top: 1.5rem;
  background: #fffbf7;
  border: 1px dashed var(--color-primary-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}
.legal-help-box .help-ico {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.35rem;
}
.legal-help-box p {
  font-size: 0.8rem;
  color: #78716c;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.btn-legal-contact {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.btn-legal-contact:hover {
  background: var(--color-primary-dark);
}

/* 3. Legal Document Content Styling */
.legal-main {
  min-width: 0;
}
.page-article-body {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .page-article-body {
    padding: 3.5rem 3rem;
  }
}
.legal-document-wrapper {
  color: #44403c;
  line-height: 1.75;
  font-size: 0.975rem;
}
.legal-document-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1c1917;
  margin: 2.25rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--color-border);
  letter-spacing: -0.01em;
}
.legal-document-wrapper h2:first-of-type {
  margin-top: 1.5rem;
}
.legal-document-wrapper p {
  margin-bottom: 1.25rem;
}
.legal-document-wrapper ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.legal-document-wrapper li {
  margin-bottom: 0.65rem;
}
.legal-document-wrapper a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Callout Boxes */
.legal-callout {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: 0.925rem;
  line-height: 1.6;
}
.legal-callout.info {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.legal-callout.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.legal-callout strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

/* Summary Tables */
.legal-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.875rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.legal-summary-table th,
.legal-summary-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.legal-summary-table th {
  background: #fafaf9;
  font-weight: 700;
  color: #1c1917;
  width: 28%;
}
.legal-summary-table td {
  color: #57534e;
}
.legal-summary-table tr:last-child th,
.legal-summary-table tr:last-child td {
  border-bottom: none;
}

/* Bottom Action Bar */
.page-bottom-actions {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .page-bottom-actions {
    flex-direction: row;
  }
}
.page-actions-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid var(--color-border-dark);
  background: var(--color-bg);
  color: #44403c;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.page-action-btn:hover {
  background: #e7e5e4;
}
.page-action-btn.btn-home {
  color: var(--color-primary);
  border-color: var(--color-primary-border);
  background: var(--color-primary-light);
}
.page-action-btn.btn-home:hover {
  background: var(--color-primary);
  color: #ffffff;
}
.legal-seal-badge {
  font-size: 0.75rem;
  color: #a8a29e;
  font-weight: 600;
}

/* =========================================
   SOBRE NOSOTROS (ABOUT US) PAGE STYLES
   ========================================= */
.about-hero-section {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #fff7ed 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-primary-border);
  text-align: center;
}
.about-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.about-hero-tag {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  display: block;
}
.about-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #1c1917;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.about-hero-lead {
  font-size: 1.15rem;
  color: #57534e;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}
.about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.about-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}

/* Manifesto Section */
.about-manifesto-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.about-grid-manifesto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 992px) {
  .about-grid-manifesto {
    grid-template-columns: 1.2fr 1fr;
  }
}
.manifesto-kicker {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.45rem;
}
.manifesto-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.manifesto-text-block p {
  font-size: 1rem;
  color: #57534e;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.manifesto-quote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.25rem;
  margin: 1.75rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #292524;
  background: #fff7ed;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.manifesto-visual-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.visual-card-inner .seal-large {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.visual-card-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 1.25rem;
}
.commitments-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.commitments-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.925rem;
  line-height: 1.5;
  color: #44403c;
}
.commitments-list svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 4 Pillars Grid */
.about-pillars-section {
  padding: 4.5rem 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pillar-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-border);
}
.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.65rem;
}
.pillar-card p {
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.6;
}

/* Team Grid */
.about-team-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.section-lead-center {
  max-width: 640px;
  margin: 0.5rem auto 2.5rem;
  color: #78716c;
  font-size: 1rem;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team-member-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.member-photo-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f4;
}
.member-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-member-card:hover .member-photo-wrap img {
  transform: scale(1.06);
}
.member-role-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(28, 25, 23, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.member-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.member-info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.25rem;
}
.member-title {
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.member-info p {
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.6;
}

/* Stats Strip */
.about-stats-strip {
  padding: 3rem 0;
  background: #1c1917;
  color: #ffffff;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #d6d3d1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* About CTA */
.about-cta-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}
.about-cta-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
}
.about-cta-box h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.75rem;
}
.about-cta-box p {
  font-size: 1rem;
  color: #57534e;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.cta-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.btn-cta-primary {
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
  transition: all 0.2s;
}
.btn-cta-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.btn-cta-secondary {
  background: var(--color-bg);
  color: #1c1917;
  border: 1px solid var(--color-border-dark);
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-cta-secondary:hover {
  background: #e7e5e4;
}

/* =========================================
   CONTACTO (CONTACT) PAGE STYLES
   ========================================= */
.contact-hero-section {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #fffbf6 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.contact-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.contact-hero-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}
.contact-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.contact-hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 660px;
  margin: 0 auto;
}

.contact-main-section {
  padding: 4rem 0 5rem;
}
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 340px 1fr;
    align-items: start;
  }
}

/* Contact Info Cards */
.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.info-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.65rem;
}
.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.4rem;
}
.contact-info-card p {
  font-size: 0.85rem;
  color: #78716c;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.info-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-schedule-box {
  background: #fbfbfa;
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}
.contact-schedule-box h4 {
  font-size: 0.875rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.35rem;
}
.contact-schedule-box p {
  font-size: 0.825rem;
  color: #78716c;
  line-height: 1.5;
  margin-bottom: 0.65rem;
}
.location-tag {
  font-size: 0.775rem;
  font-weight: 700;
  color: #57534e;
}

.contact-social-dock {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.dock-title {
  display: block;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #78716c;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.social-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.contact-social-pill.pin {
  background: rgba(230, 0, 35, 0.08);
  color: #e60023;
  border-color: rgba(230, 0, 35, 0.2);
}
.contact-social-pill.pin:hover {
  background: #e60023;
  color: #fff;
}
.contact-social-pill.ig {
  background: rgba(225, 48, 108, 0.08);
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.2);
}
.contact-social-pill.ig:hover {
  background: #e1306c;
  color: #fff;
}
.contact-social-pill.yt {
  background: rgba(255, 0, 0, 0.08);
  color: #cc0000;
  border-color: rgba(255, 0, 0, 0.2);
}
.contact-social-pill.yt:hover {
  background: #cc0000;
  color: #fff;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) {
  .contact-form-card {
    padding: 3rem 2.5rem;
  }
}
.form-header h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.35rem;
}
.form-header p {
  font-size: 0.95rem;
  color: #78716c;
  margin-bottom: 2rem;
}

.editorial-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.form-row-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-row-dual {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1c1917;
}
.required {
  color: #dc2626;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  background: var(--color-bg);
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
  color: #1c1917;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}
.form-checkbox-row {
  margin: 0.5rem 0;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.825rem;
  color: #57534e;
  line-height: 1.5;
  cursor: pointer;
}
.consent-label input {
  margin-top: 3px;
  accent-color: var(--color-primary);
}
.consent-label a {
  color: var(--color-primary);
  text-decoration: underline;
}
.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.28);
}
.btn-submit-contact:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.38);
}

/* Contact FAQs */
.contact-faq-section {
  padding: 4.5rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .contact-faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cfaq-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.cfaq-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.65rem;
}
.cfaq-card p {
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.6;
}


/* =========================================
   SEARCH RESULTS PAGE STYLES (SEARCH.PHP)
   ========================================= */
.search-hero-header {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #fffbf6 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.search-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.search-hero-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.search-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 2px solid var(--color-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.12);
}
.search-kicker {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.search-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.query-highlight {
  color: var(--color-primary);
}
.search-count-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #57534e;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
}
.search-refine-form {
  width: 100%;
  max-width: 540px;
}
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-wrapper:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}
.search-input-wrapper .search-ico {
  margin-left: 1rem;
  color: #a8a29e;
  flex-shrink: 0;
}
.search-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  outline: none;
  color: #1c1917;
}
.search-input-wrapper button {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.search-input-wrapper button:hover {
  background: var(--color-primary-dark);
}

.search-results-section {
  padding: 3.5rem 0 5rem;
}
.search-empty-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-surface);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
}
.search-empty-box .empty-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
}
.search-empty-box h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.65rem;
}
.search-empty-box p {
  color: #78716c;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.empty-suggestions-group h3 {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #a8a29e;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}
.suggested-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.tag-pill {
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-main);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
}
.tag-pill:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary-border);
}

/* =========================================
   ERROR 404 PAGE STYLES (404.PHP)
   ========================================= */
.page-404-container {
  padding: 4rem 0 5rem;
}
.card-404-hero {
  max-width: 760px;
  margin: 0 auto 4.5rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-md);
}
.badge-404 {
  display: inline-block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.icon-404 {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.title-404 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.subtitle-404 {
  font-size: 1.05rem;
  color: #57534e;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.search-404-form {
  max-width: 520px;
  margin: 0 auto 2rem;
}
.actions-404-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.btn-404-home {
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-404-home:hover {
  background: var(--color-primary-dark);
}
.btn-404-cat {
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-main);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-404-cat:hover {
  background: #e7e5e4;
}
.section-404-recommendations {
  border-top: 1px solid var(--color-border);
  padding-top: 3.5rem;
}

/* =========================================
   GDPR / AEPD COOKIE CONSENT BANNER
   ========================================= */
.pdc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 25, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #44403c;
  color: #f5f5f4;
  padding: 1.25rem 0;
  z-index: 9999;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.pdc-cookie-banner.visible {
  transform: translateY(0);
}
.pdc-cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 860px) {
  .pdc-cookie-inner {
    flex-direction: row;
    gap: 2.5rem;
  }
}
.cookie-text-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cookie-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.cookie-message strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.cookie-message p {
  font-size: 0.825rem;
  color: #d6d3d1;
  line-height: 1.5;
  margin: 0;
}
.cookie-message a {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 860px) {
  .cookie-actions {
    width: auto;
  }
}
.cookie-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  border: none;
  flex: 1;
  text-align: center;
}
@media (min-width: 860px) {
  .cookie-btn {
    flex: initial;
  }
}
.btn-cookie-accept {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.35);
}
.btn-cookie-accept:hover {
  background: var(--color-primary-dark);
}
.btn-cookie-reject {
  background: rgba(255, 255, 255, 0.1);
  color: #d6d3d1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* =========================================
   FAVORITES (MIS RECETAS FAVORITAS - ❤️)
   ========================================= */
/* Header Heart Button */
.header-fav-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #44403c;
  cursor: pointer;
  transition: all 0.2s;
}
.header-fav-btn:hover {
  background: #fef2f2;
  color: #e11d48;
  border-color: #fecdd3;
  transform: translateY(-1px);
}
.fav-count-bubble {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  background: #78716c;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.fav-count-bubble.has-items {
  background: #e11d48;
}

/* Single Post Favorite Action Button */
.btn-fav-action {
  background: var(--color-bg);
  color: #44403c;
  border-color: var(--color-border-dark);
}
.btn-fav-action:hover,
.btn-fav-action.active {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}
.btn-fav-action.active svg {
  fill: #e11d48;
}

/* Favorites Slide-Out Drawer */
.favorites-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: var(--color-surface);
  z-index: 10001;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}
.favorites-drawer.open {
  transform: translateX(0);
  visibility: visible;
}
.fav-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fav-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fav-drawer-title-group h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1c1917;
  margin: 0;
}
.fav-drawer-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #78716c;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.fav-drawer-close:hover {
  color: #1c1917;
}

.fav-drawer-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
}
.fav-empty-state {
  text-align: center;
  padding: 3rem 1rem;
}
.fav-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}
.fav-empty-state h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 0.35rem;
}
.fav-empty-state p {
  font-size: 0.85rem;
  color: #78716c;
  line-height: 1.5;
}

.fav-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.fav-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fav-item-row:hover {
  transform: translateX(-2px);
  box-shadow: var(--shadow-sm);
}
.fav-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f4;
}
.fav-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fav-item-info {
  flex: 1;
  min-width: 0;
}
.fav-item-title {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fav-item-title a {
  color: #1c1917;
  text-decoration: none;
}
.fav-item-title a:hover {
  color: var(--color-primary);
}
.fav-item-meta {
  font-size: 0.725rem;
  color: #78716c;
}
.fav-item-remove {
  background: none;
  border: none;
  color: #a8a29e;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.fav-item-remove:hover {
  color: #dc2626;
  background: #fee2e2;
}

.fav-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: #fafaf9;
}
.fav-footer-tip {
  font-size: 0.75rem;
  color: #78716c;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}


/* =========================================
   FEATURE 3: LIVE PREDICTIVE SEARCH AUTOCOMPLETE
   ========================================= */
.search-input-shell {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.live-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 320px;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(28, 25, 23, 0.16);
  z-index: 10010;
  overflow: hidden;
  animation: liveSearchSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes liveSearchSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.live-search-header {
  padding: 0.65rem 1rem;
  background: #fafaf9;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.live-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 380px;
  overflow-y: auto;
}
.live-search-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f5f5f4;
  text-decoration: none;
  transition: all 0.15s ease;
  color: var(--color-text-main);
}
.live-search-item:last-child {
  border-bottom: none;
}
.live-search-item:hover,
.live-search-item.selected,
.live-search-item:focus {
  background: #fff7ed;
  outline: none;
}
.live-search-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f5f4;
}
.live-search-content {
  flex: 1;
  min-width: 0;
}
.live-search-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1c1917;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.live-search-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: #78716c;
}
.live-search-cat {
  background: #f5f5f4;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  color: var(--color-primary);
}
.live-search-footer {
  padding: 0.65rem 1rem;
  background: #fafaf9;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.live-search-footer a {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.live-search-footer a:hover {
  text-decoration: underline;
}
.live-search-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #78716c;
  font-size: 0.875rem;
}
.live-search-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  color: #78716c;
  font-size: 0.85rem;
}
.live-search-spinner::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border-dark);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================
   FEATURE 5: INTERACTIVE 5-STAR RATING WIDGET
   ========================================= */
.interactive-star-rater {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fafaf9;
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.interactive-star-rater:hover {
  border-color: #fed7aa;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.06);
}
.star-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.star-btn {
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 1.35rem;
  line-height: 1;
  color: #d6d3d1;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}
.star-btn:hover {
  transform: scale(1.2);
}
.star-btn.active,
.star-btn.hovered {
  color: #f59e0b;
  text-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}
.star-rating-meta {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.825rem;
}
.rating-avg-num,
.rating-number {
  font-size: 1rem;
  font-weight: 800;
  color: #1c1917;
}
.rating-max {
  font-size: 0.75rem;
  color: #78716c;
}
.rating-votes-count,
.rating-votes {
  font-size: 0.775rem;
  color: #78716c;
}
.rating-user-tooltip {
  font-size: 0.725rem;
  color: #78716c;
  transition: color 0.2s;
}
.interactive-star-rater.rated .rating-user-tooltip {
  color: #047857;
  font-weight: 700;
}
.rating-pulse-anim {
  animation: starPulse 0.4s ease;
}
@keyframes starPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* =========================================
   RANK MATH SEO BLOCKS INTEGRATION
   ========================================= */

/* 1. Rank Math Table of Contents (TOC) Block */
.wp-block-rank-math-toc-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-xs);
}
.wp-block-rank-math-toc-block h2,
.wp-block-rank-math-toc-block .rank-math-toc-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wp-block-rank-math-toc-block h2::before,
.wp-block-rank-math-toc-block .rank-math-toc-title::before {
  content: '📌';
  font-size: 1.15rem;
}
.wp-block-rank-math-toc-block nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.wp-block-rank-math-toc-block nav ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.wp-block-rank-math-toc-block nav ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}
.wp-block-rank-math-toc-block nav ul li a {
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.wp-block-rank-math-toc-block nav ul li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 2. Rank Math FAQ Block */
.wp-block-rank-math-faq-block {
  margin: 2.5rem 0;
}
.wp-block-rank-math-faq-block .rank-math-faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wp-block-rank-math-faq-block .rank-math-faq-item:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-sm);
}
.wp-block-rank-math-faq-block .rank-math-question {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.wp-block-rank-math-faq-block .rank-math-question::before {
  content: '❓';
  font-size: 1rem;
}
.wp-block-rank-math-faq-block .rank-math-answer {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* 3. Rank Math HowTo Block */
.wp-block-rank-math-howto-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-xs);
}
.wp-block-rank-math-howto-block .rank-math-howto-step {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed var(--color-border);
}
.wp-block-rank-math-howto-block .rank-math-howto-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.wp-block-rank-math-howto-block .rank-math-step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}
.wp-block-rank-math-howto-block .rank-math-step-content {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* =========================================
   FEATURE 24: SMART RECIPE TABLE OF CONTENTS (TOC)
   ========================================= */
.recipe-quick-toc-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 14px;
  padding: 1.15rem 1.4rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
}
.toc-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--color-border-dark);
}
.toc-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toc-badge-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.toc-main-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}
.toc-tagline {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}
.toc-nav-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.toc-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.toc-chip-link:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-border);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(194, 65, 12, 0.12);
}
.toc-chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  border: 1px solid var(--color-border);
}
.toc-chip-link:hover .toc-chip-num {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* =========================================
   FEATURE 25: VIDEO RECIPE INTEGRATION & PLAYER
   ========================================= */
.recipe-video-showcase {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.video-header-line {
  margin-bottom: 1rem;
}
.video-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.video-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.3;
  margin: 0;
}
.video-responsive-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1c1917;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.video-responsive-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   FEATURE 26: DIETARY BADGES & RECETA DEL DÍA
   ========================================= */
.dietary-badge-pill {
  display: inline-flex;
  align-items: center;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}
.card-diet-pill {
  display: inline-flex;
  align-items: center;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  line-height: 1.2;
}
.hero-micro-pill {
  font-size: 0.725rem;
  padding: 0.15rem 0.55rem;
}
.feature-top-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.feature-diet-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-dona-receta-dia-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.825rem !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
}
.hero-dona-badge-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* =========================================
   FEATURE 4: HIGH-IMPACT PRINT & PDF KITCHEN SHEET
   ========================================= */
@media print {
  @page {
    size: A4;
    margin: 10mm 12mm 15mm 12mm;
  }
  
  /* Hide all digital UI clutter */
  .site-header, .top-bar, .home-hero, .category-browser-section, .trust-authority-section, 
  .newsletter-banner-section, .single-action-dock, .single-sidebar-col, .single-related-section, 
  .author-bio-card, .dona-carmen-bio-card, .site-footer, .back-to-top-btn, .reading-progress-bar, .recipe-interactive-toolbar,
  .mobile-sticky-action-dock, .pdc-toast, .single-social-sharing-strip, .single-hero-fullwidth,
  .hero-pin-save-btn, .card-action-mini-btn, .recipe-actions-deck, .actions-primary-group, 
  .actions-share-group, .deck-share-icons, .recipe-breadcrumbs, .live-search-dropdown,
  .favorites-drawer, .drawer-backdrop, .pdc-cookie-banner, .faq-section,
  .recipe-quick-toc-box, .recipe-video-showcase {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #1c1917 !important;
    font-size: 10pt !important;
    line-height: 1.45 !important;
  }

  .recipe-single-container, .single-layout-wrapper, .single-main-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Clean Kitchen Sheet Header with Logo & Source */
  .single-recipe-header::before {
    content: "PlatosDeCasa.com  —  Ficha Oficial de Cocina Casera";
    display: block;
    font-size: 13pt;
    font-weight: 800;
    color: #c2410c;
    border-bottom: 2pt solid #c2410c;
    padding-bottom: 4pt;
    margin-bottom: 10pt;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .single-recipe-title {
    font-size: 18pt !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    margin-bottom: 6pt !important;
  }

  /* Quick Specs Strip in Print */
  .quick-specs-grid {
    display: flex !important;
    gap: 12pt !important;
    background: #f8fafc !important;
    border: 1pt solid #cbd5e1 !important;
    border-radius: 4pt !important;
    padding: 6pt 10pt !important;
    margin: 6pt 0 12pt 0 !important;
    page-break-inside: avoid;
  }
  .spec-cell {
    flex: 1 !important;
  }

  /* Recipe Card Box in Print */
  .recipe-card-box {
    border: 1.5pt solid #cbd5e1 !important;
    border-radius: 6pt !important;
    padding: 12pt !important;
    margin-top: 8pt !important;
    background: #ffffff !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  .card-box-header-top {
    display: none !important;
  }

  .recipe-card-badges {
    display: flex !important;
    gap: 8pt !important;
    margin-bottom: 10pt !important;
  }
  .card-badge {
    border: 1pt solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 4pt 8pt !important;
  }

  /* Ingredients & Steps Print Layout */
  .recipe-ingredients-block {
    page-break-inside: avoid;
    margin-bottom: 12pt !important;
  }
  .ingredient-list {
    columns: 2 !important;
    column-gap: 20pt !important;
    list-style: square !important;
    padding-left: 14pt !important;
  }
  .ingredient-item {
    page-break-inside: avoid;
    margin-bottom: 4pt !important;
  }
  .ingredient-checkbox {
    display: none !important;
  }

  .recipe-visual-step-card {
    border: 1pt solid #e2e8f0 !important;
    margin-bottom: 8pt !important;
    padding: 8pt !important;
    page-break-inside: avoid;
    background: #ffffff !important;
  }
  .recipe-step-img-box {
    display: none !important; /* Save printer ink */
  }
}
