/* ============================================
   AJOS TIERNOS - Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --green-900: #1a2e1a;
  --green-800: #1e3a1e;
  --green-700: #2d5a2d;
  --green-600: #3d7a3d;
  --green-500: #4caf50;
  --green-400: #66bb6a;
  --green-300: #a5d6a7;
  --green-100: #e8f5e9;
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --cream: #faf8f2;
  --cream-dark: #f0ebe0;
  --text-dark: #1a1a1a;
  --text-body: #3d3d3d;
  --text-muted: #6b7280;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 46, 26, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.nav-logo:hover {
  opacity: 0.94;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.03);
}

.nav-logo-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.25);
  display: block;
}

.nav-logo .logo-icon {
  font-size: 1.6rem;
}

.nav-logo span,
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-logo span em,
.nav-logo-text em {
  color: var(--gold-light);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-900) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  background: transparent;
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.burger:hover,
.burger:focus,
.burger:active {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.burger:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition);
}

.burger:hover span {
  background: var(--gold);
}

.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/hero_ajos.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 46, 26, 0.88) 0%,
    rgba(26, 46, 26, 0.55) 50%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
  color: var(--gold-light);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-900);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.45);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(201, 168, 76, 0.55);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.8s ease 0.8s both;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
  z-index: 2;
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

/* ============================================
   SECTION GLOBALS
   ============================================ */
section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title em {
  color: var(--green-600);
  font-style: italic;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
  background: var(--cream);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--green-100), var(--green-300));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(-5deg);
}

.benefit-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.product {
  background: var(--green-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.product::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 175, 80, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.product-image-wrapper {
  position: relative;
}

.product-img-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.product-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-img-main:hover img {
  transform: scale(1.04);
}

.product-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-900);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.product-badge-float .badge-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.product-badge-float .badge-sub {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-content .section-tag {
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold-light);
}

.product-content .section-title {
  color: var(--white);
}

.product-content .section-title em {
  color: var(--green-300);
}

.product-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  color: white;
}

/* ============================================
   USES / HOW TO USE SECTION
   ============================================ */
.uses {
  background: var(--cream-dark);
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.use-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.use-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.use-card:hover img {
  transform: scale(1.08);
}

.use-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,26,0.9) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem 1.5rem;
  transition: var(--transition);
}

.use-card:hover .use-card-overlay {
  background: linear-gradient(to top, rgba(26,46,26,0.95) 0%, rgba(0,0,0,0.2) 60%);
}

.use-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.use-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.use-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.use-card:hover .use-desc {
  max-height: 80px;
}

/* Uses CTA Block */
.uses-cta-wrapper {
  margin-top: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.uses-cta-hint {
  font-size: 1.05rem;
  color: var(--text-body);
  font-weight: 500;
  max-width: 560px;
  line-height: 1.6;
}

.btn-recetas-hook {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-900);
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-recetas-hook:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(201, 168, 76, 0.6);
  color: var(--green-900);
}

.btn-recetas-hook svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn-recetas-hook:hover svg {
  transform: translateX(5px);
}

@media (max-width: 600px) {
  .btn-recetas-hook {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ============================================
   FIELD / ORIGIN SECTION
   ============================================ */
.origin {
  background: var(--white);
}

.origin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.origin-imgs {
  position: relative;
  height: 500px;
}

.origin-img-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.origin-img-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.origin-img-front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.origin-img-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.origin-content {
  padding: 1rem 0;
}

.origin-content .section-title em {
  color: var(--green-600);
}

.origin-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.origin-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.pillar {
  background: var(--cream);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-500);
}

.pillar-title {
  font-weight: 600;
  color: var(--green-800);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.pillar-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-tag {
  background: rgba(201,168,76,0.2);
  color: var(--gold-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.stars {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--cream);
  text-align: center;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box .section-tag {
  background: rgba(201,168,76,0.2);
  color: var(--gold-light);
}

.cta-box .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-box .section-desc {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--green-900);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.75);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand .logo-text em {
  color: var(--gold-light);
  font-style: italic;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--green-600);
  border-color: var(--green-500);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover,
.footer-col ul li.footer-contact-text:hover {
  color: var(--green-300);
  padding-left: 4px;
}

.footer-col ul li.footer-contact-text {
  cursor: default;
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--green-900);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--gold-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .product-layout,
  .origin-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-image-wrapper {
    order: -1;
  }

  .product-badge-float {
    right: 1rem;
    bottom: -1rem;
  }

  .origin-imgs {
    height: 380px;
  }

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

/* Mobile */
@media (max-width: 600px) {
  section {
    padding: 4rem 1.25rem;
  }

  .navbar {
    padding: 1rem 1.25rem;
  }

  .navbar.scrolled {
    padding: 0.75rem 1.25rem;
  }

  .nav-logo {
    gap: 0.6rem;
  }

  .nav-logo-img {
    height: 34px;
  }

  .nav-logo-text {
    font-size: 1.15rem;
  }

  .nav-logo-divider {
    height: 20px;
  }

  .hero-content {
    padding: 0 1.25rem;
    padding-top: 90px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

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

  .use-card {
    aspect-ratio: 2/3;
  }

  .origin-imgs {
    height: 300px;
  }

  .cta-box {
    padding: 3rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .origin-pillars {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 420px) {
  .uses-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    justify-content: center;
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Left Info Panel --- */
.contact-info .section-tag {
  background: rgba(201,168,76,0.2);
  color: var(--gold-light);
}

.contact-info-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  transition: var(--transition);
}

a.contact-detail-value:hover {
  color: var(--gold-light);
}

/* --- Right Form Panel --- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form-group label span {
  color: var(--green-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e8e0;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d7a3d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0a8a0;
}

/* Error state */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

/* --- Checkbox --- */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #cbd5cb;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 2px;
  accent-color: var(--green-600);
}

.form-check label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-check label a {
  color: var(--green-600);
  text-decoration: underline;
  transition: var(--transition);
}

.form-check label a:hover {
  color: var(--green-700);
}

/* --- Submit Button --- */
.btn-submit {
  width: 100%;
  padding: 1.05rem;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(61,122,61,0.35);
  letter-spacing: 0.02em;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61,122,61,0.45);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- Feedback Messages --- */
.form-success,
.form-error {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* --- Responsive Contact --- */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info {
    text-align: center;
  }

  .contact-detail-item {
    justify-content: center;
    text-align: left;
  }

  .contact-details {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .contact-form-wrapper {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================
   SHARED BACK BUTTON & BOTTOM NAV
   ============================================ */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.25rem 0.55rem 0.85rem;
  border-radius: 50px;
  border: 1.5px solid rgba(45, 90, 45, 0.22);
  box-shadow: 0 3px 12px rgba(26, 46, 26, 0.06);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.back-link .back-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.back-link .back-icon {
  width: 16px;
  height: 16px;
  stroke: var(--green-700);
  transition: transform 0.25s ease, stroke 0.25s ease;
  flex-shrink: 0;
}

.back-link:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26, 46, 26, 0.18);
}

.back-link:hover .back-icon-circle {
  background: rgba(255, 255, 255, 0.2);
  color: var(--gold-light);
}

.back-link:hover .back-icon {
  stroke: var(--gold-light);
  transform: translateX(-3px);
}

.back-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 46, 26, 0.12);
}

.back-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Bottom navigation container */
.legal-bottom-nav {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e0ece0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  border-radius: 50px;
  border: 1px solid #d4e6d4;
  background: var(--white);
  transition: all 0.25s ease;
  text-decoration: none;
}

.back-to-top-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.back-to-top-btn:hover {
  color: var(--green-900);
  background: var(--green-100);
  border-color: var(--green-400);
  transform: translateY(-2px);
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .back-link {
    width: 100%;
    justify-content: center;
  }

  .legal-bottom-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .back-to-top-btn {
    justify-content: center;
  }
}

/* ============================================
   RECIPES PAGE (RECETAS)
   ============================================ */

.recipes-hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  padding: 10rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.recipes-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/ajos_cocina.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
}

.recipes-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.recipes-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.recipes-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.recipes-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto 2.5rem;
}

/* Search & Filters */
.recipes-controls {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.4rem 1rem 3.2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(232, 201, 110, 0.25);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: var(--gold-light);
  pointer-events: none;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.filter-pill.active {
  background: var(--gold-light);
  color: var(--green-900);
  border-color: var(--gold-light);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

/* Recipes Content Section */
.recipes-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.recipes-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.recipes-count {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.recipes-count strong {
  color: var(--green-800);
}

/* Recipe Cards Grid */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.2rem;
}

.recipe-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5eee5;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(26, 46, 26, 0.12);
  border-color: var(--green-300);
}

.recipe-card-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--green-900);
}

.recipe-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.recipe-card:hover .recipe-card-media img {
  transform: scale(1.06);
}

.recipe-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(26, 46, 26, 0.85);
  color: var(--gold-light);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(232, 201, 110, 0.3);
}

.recipe-meta-badges {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  display: flex;
  gap: 0.5rem;
}

.recipe-badge {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.recipe-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--green-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.recipe-card:hover .recipe-card-body h3 {
  color: var(--green-600);
}

.recipe-card-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

/* Author chip inside card */
.recipe-author-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid #e8ede8;
}

.author-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.author-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
}

/* Card Button */
.btn-view-recipe {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(26, 46, 26, 0.15);
}

.btn-view-recipe:hover {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 46, 26, 0.25);
}

.btn-view-recipe svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn-view-recipe:hover svg {
  transform: translateX(4px);
}

/* No results state */
.no-recipes-found {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--green-300);
  grid-column: 1 / -1;
  display: none;
}

.no-recipes-found h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.no-recipes-found p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ============================================
   RECIPE DETAIL MODAL
   ============================================ */
.recipe-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 15, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.recipe-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.recipe-modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  border-radius: var(--radius-md);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.recipe-modal-backdrop.open .recipe-modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--green-700);
  transform: rotate(90deg);
}

.recipe-modal-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--green-900);
}

.recipe-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-modal-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(26, 46, 26, 0.85) 100%);
}

.recipe-modal-hero-info {
  position: absolute;
  bottom: 1.75rem;
  left: 2rem;
  right: 2rem;
  color: var(--white);
}

.recipe-modal-hero-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.recipe-modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-meta-pill {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.recipe-modal-inner {
  padding: 2.2rem;
}

.recipe-summary-box {
  background: var(--cream);
  border-left: 4px solid var(--green-600);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Two-column layout for details */
.recipe-details-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.ingredients-col h3,
.steps-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--green-900);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ingredients-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ingredients-list li {
  font-size: 0.94rem;
  color: var(--text-body);
  padding: 0.65rem 0.85rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}

.ingredients-list li::before {
  content: '🌿';
  font-size: 0.85rem;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.step-text strong {
  color: var(--green-900);
}

/* Chef tip card */
.chef-tip-box {
  background: #fbf8eb;
  border: 1px solid #ebd9a4;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.chef-tip-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.chef-tip-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #795516;
  margin-bottom: 0.35rem;
}

.chef-tip-body p {
  font-size: 0.9rem;
  color: #5c4314;
  line-height: 1.6;
  margin: 0;
}

/* Dedicated Authorship & Source Box */
.recipe-source-card {
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
  border: 1.5px solid var(--green-300);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.source-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.source-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(45, 90, 45, 0.25);
}

.source-text-meta h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.2rem;
}

.source-text-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--green-800);
  border: 1.5px solid var(--green-600);
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-source-link:hover {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45, 90, 45, 0.25);
}

.recipe-modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5eee5;
  flex-wrap: wrap;
}

.print-mobile-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  width: 100%;
  margin: -0.25rem 0 0 0;
  line-height: 1.4;
}

@media (max-width: 650px) {
  .print-mobile-hint {
    text-align: center;
    margin-top: 0.25rem;
  }
}

.btn-modal-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #c8dec8;
  background: var(--white);
  color: var(--green-800);
}

.btn-modal-action:hover {
  background: var(--green-100);
  border-color: var(--green-500);
}

/* Responsive Recipes */
@media (max-width: 900px) {
  .recipe-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 650px) {
  .recipes-hero {
    padding: 8rem 1.25rem 3.5rem;
  }

  .recipes-main {
    padding: 3rem 1.25rem 4rem;
  }

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

  .recipe-modal-hero {
    height: 240px;
  }

  .recipe-modal-inner {
    padding: 1.5rem 1.25rem;
  }

  .recipe-source-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .source-details {
    flex-direction: column;
  }

  .btn-source-link {
    justify-content: center;
  }

  .recipe-modal-footer-actions {
    justify-content: stretch;
  }

  .btn-modal-action {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================
   COOKIE CONSENT BANNER & MODAL (AEPD / LSSI-CE)
   ============================================ */

/* --- Banner flotante inferior --- */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 1.25rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner-wrapper.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid rgba(45, 90, 45, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(26, 46, 26, 0.22), 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 900px) {
  .cookie-banner-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.cookie-banner-content {
  flex: 1;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.cookie-banner-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.cookie-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  margin: 0;
}

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.cookie-banner-text a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: var(--green-900);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Botones del banner con paridad de prominencia según la directriz de la AEPD */
.btn-cookie {
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cookie-accept {
  background: var(--green-800);
  color: var(--white);
  border: 1.5px solid var(--green-800);
}

.btn-cookie-accept:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  box-shadow: 0 4px 14px rgba(26, 46, 26, 0.25);
  transform: translateY(-1px);
}

.btn-cookie-reject {
  background: var(--cream);
  color: var(--green-900);
  border: 1.5px solid var(--green-700);
}

.btn-cookie-reject:hover {
  background: #eef5ee;
  border-color: var(--green-900);
  transform: translateY(-1px);
}

.btn-cookie-config {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid rgba(45, 90, 45, 0.25);
}

.btn-cookie-config:hover {
  background: var(--cream);
  color: var(--green-900);
  border-color: var(--green-700);
}

/* --- Modal de configuración detallada --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 15, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(45, 90, 45, 0.15);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-backdrop.is-open .cookie-modal {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  padding: 1.5rem 1.75rem 1.2rem;
  border-bottom: 1px solid #e8ede8;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: var(--cream);
}

.cookie-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--green-900);
  margin: 0 0 0.25rem 0;
}

.cookie-modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: var(--transition);
}

.cookie-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--green-900);
}

.cookie-modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-category-item {
  border: 1px solid #e4eae4;
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.cookie-category-item:hover {
  border-color: var(--green-300);
}

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.cookie-category-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-badge-required {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--green-100);
  color: var(--green-700);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-category-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

/* Custom Switch Toggle */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--green-700);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-slider {
  opacity: 0.75;
  cursor: not-allowed;
  background-color: var(--green-700);
}

.cookie-modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid #e8ede8;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Botón flotante para reabrir ajustes en cualquier momento --- */
.cookie-floating-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 9998;
  background: var(--white);
  color: var(--green-800);
  border: 1.5px solid rgba(45, 90, 45, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 50px;
  padding: 0.5rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cookie-floating-btn:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 46, 26, 0.2);
}

.cookie-floating-btn span.cookie-emoji {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .cookie-banner-wrapper {
    padding: 0.75rem;
  }

  .cookie-banner-card {
    padding: 1.25rem 1.25rem;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cookie {
    width: 100%;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer .btn-cookie {
    width: 100%;
  }

  .cookie-floating-btn span.cookie-btn-text {
    display: none;
  }

  .cookie-floating-btn {
    padding: 0.6rem;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    justify-content: center;
  }
}

/* ============================================
   PRINT / PDF STYLESHEET FOR RECIPES
   ============================================ */
#printableRecipeCard {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm;
  }

  /* Reset global backgrounds and scroll behavior */
  html, body {
    background: #ffffff !important;
    color: #1a1a1a !important;
    overflow: visible !important;
    height: auto !important;
    font-size: 10pt !important;
    line-height: 1.45 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hide normal web components during print */
  nav,
  .navbar,
  .mobile-nav,
  .recipes-hero,
  .recipes-main,
  .recipe-modal-backdrop,
  footer,
  .footer,
  .legal-footer-note,
  .cookie-banner-wrapper,
  .cookie-modal-backdrop,
  .cookie-floating-btn,
  .back-to-top-btn,
  #bambolaCookieBanner,
  #bambolaCookieModal,
  #bambolaCookieFloatBtn {
    display: none !important;
    visibility: hidden !important;
  }

  /* Display the printable card in normal document flow */
  #printableRecipeCard {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* Header */
  .print-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 2px solid #2d5a2d !important;
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
  }

  .print-header-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .print-header-logo {
    height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .print-header-text h2 {
    font-size: 14pt !important;
    color: #1a2e1a !important;
    font-family: 'Playfair Display', serif !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .print-header-text p {
    font-size: 8pt !important;
    color: #3d683d !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 600 !important;
  }

  /* Title and badges */
  .print-recipe-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 17pt !important;
    font-weight: 700 !important;
    color: #1a2e1a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
  }

  .print-meta-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .print-pill {
    background: #f0f7f0 !important;
    border: 1px solid #c8dec8 !important;
    color: #1e3a1e !important;
    font-size: 8.5pt !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
  }

  .print-summary-text {
    font-size: 9.5pt !important;
    color: #333333 !important;
    font-style: italic !important;
    margin-bottom: 14px !important;
    line-height: 1.45 !important;
    border-left: 3px solid #c9a84c !important;
    padding-left: 10px !important;
    background: #faf9f5 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  /* 2-Columns grid */
  .print-grid {
    display: flex !important;
    gap: 20px !important;
    align-items: flex-start !important;
  }

  .print-col-left {
    width: 38% !important;
    flex-shrink: 0 !important;
  }

  .print-col-right {
    flex: 1 !important;
  }

  .print-recipe-image {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #d4e0d4 !important;
    margin-bottom: 12px !important;
  }

  .print-section-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 11.5pt !important;
    color: #1e3a1e !important;
    margin: 0 0 6px 0 !important;
    padding-bottom: 3px !important;
    border-bottom: 1.5px solid #dbe6db !important;
  }

  .print-ingredients-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
  }

  .print-ingredients-list li {
    font-size: 9pt !important;
    padding: 3.5px 0 !important;
    border-bottom: 1px dashed #e4ebe4 !important;
    color: #222 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    line-height: 1.35 !important;
  }

  .print-ingredients-list li .print-box {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    border: 1.5px solid #555 !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
    margin-top: 1.5px !important;
    background: #fff !important;
  }

  .print-steps-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
  }

  .print-step-item {
    font-size: 9pt !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    display: flex !important;
    gap: 8px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .print-step-badge {
    width: 19px !important;
    height: 19px !important;
    background: #2d5a2d !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 7.5pt !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
  }

  .print-step-content {
    flex: 1 !important;
    color: #222 !important;
  }

  .print-tip-box {
    background: #fef9ed !important;
    border: 1px solid #f2dfa8 !important;
    border-left: 3px solid #c9a84c !important;
    padding: 8px 10px !important;
    border-radius: 4px !important;
    margin: 10px 0 !important;
    font-size: 8.5pt !important;
    line-height: 1.4 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .print-source-box {
    background: #f7faf7 !important;
    border: 1px solid #e0ece0 !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    font-size: 8pt !important;
    color: #444 !important;
    margin-top: 10px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .print-footer-info {
    border-top: 1px solid #ccc !important;
    padding-top: 6px !important;
    margin-top: 12px !important;
    font-size: 7.5pt !important;
    color: #666 !important;
    text-align: center !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
}


