/* ==========================================================================
   SUFINAS — Handmade Macedonian Organic Specialties
   Standalone CSS for cPanel hosting
   Brand color: #10377A (deep blue)
   ========================================================================== */

/* ===== Google Fonts import — Montserrat for everything ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&display=swap');

/* ===== CSS Variables ===== */
:root {
  /* Brand — Deep Navy #10377A (foundation: header, footer, headlines) */
  --primary: #10377A;
  --primary-light: #2a5499;
  --primary-foreground: #ffffff;

  /* Backgrounds — Warm Cream #EDE6DC (main bg); lighter cream #F5F1E8 for boxed sections */
  --background: #EDE6DC;
  --card: #ffffff;
  --secondary: #F5F1E8;
  --muted: #F5F1E8;

  /* Text — Charcoal #1A1A1A; Slate Grey #4A4A4A for body */
  --foreground: #1a1a1a;
  --espresso: #1a1a1a;
  --muted-foreground: #4A4A4A;

  /* Accents — Brand palette (saturated, from mockup examples) */
  --ochre: #D4A843;       /* Golden mustard — badge 02 */
  --terracotta: #C85A46;   /* Rust red — primary CTA, eyebrow, badge 01 */
  --olive: #7A8B4E;        /* Moss green — badge 03 */
  --cream: #ffffff;
  --terracotta-dark: #B04A38; /* hover state for terracotta buttons */

  /* UI */
  --border: #ddd5c5;
  --input: #e8e0d2;
  --ring: #10377A;
  --destructive: #c0392b;

  /* Radius — slightly larger for premium feel */
  --radius: 0.875rem;
  --radius-sm: calc(0.875rem - 4px);
  --radius-lg: 1rem;
  --radius-xl: calc(1rem + 4px);

  /* Fonts — Montserrat for everything */
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows — softer, more diffused */
  --shadow-sm: 0 1px 2px rgba(26,26,26,0.04), 0 1px 4px rgba(26,26,26,0.04);
  --shadow-md: 0 4px 16px rgba(26,26,26,0.06), 0 1px 4px rgba(26,26,26,0.04);
  --shadow-lg: 0 12px 40px -12px rgba(16,55,122,0.12), 0 4px 12px rgba(26,26,26,0.04);
  --shadow-xl: 0 24px 60px -16px rgba(16,55,122,0.18), 0 8px 20px rgba(26,26,26,0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-espresso { color: var(--espresso); }
.text-muted { color: var(--muted-foreground); }
.text-cream { color: var(--cream); }
.text-ochre { color: var(--ochre); }
.italic { font-style: italic; color: var(--primary); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Layout ===== */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--terracotta);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid rgba(16, 55, 122, 0.3);
}

.btn-outline:hover {
  background-color: rgba(16, 55, 122, 0.05);
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: 0 4px 24px -8px transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 24px -8px rgba(26, 26, 26, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header-inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .header-inner { padding: 0 2rem; }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: transform 0.5s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo img {
  height: 2rem;
  width: auto;
}

@media (min-width: 640px) {
  .header-logo img { height: 2.25rem; }
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

/* Show desktop nav on tablets and up (was 1024px, now 768px) */
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}

/* Use tighter spacing on tablets so all 7 items fit */
@media (min-width: 768px) and (max-width: 1023px) {
  .desktop-nav {
    gap: 0.125rem;
  }
  .desktop-nav a {
    padding: 0.5rem 0.5rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

.desktop-nav a {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.8);
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -0.125rem;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  color: var(--espresso);
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background-color: rgba(240, 230, 208, 0.6);
}

/* Hide hamburger on tablets and up (was 1024px, now 768px) */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile menu */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  background-color: var(--cream);
  border-bottom: none;
}

.mobile-menu.open {
  max-height: 28rem;
  opacity: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .mobile-menu nav { padding: 0.75rem 1.5rem; }
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--espresso);
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  background-color: rgba(240, 230, 208, 0.6);
  color: var(--primary);
}

.mobile-menu a img {
  width: 1rem;
  height: 1rem;
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* ===== Decorative Elements ===== */

/* Embroidery divider — repeating rhombus pattern */
.embroidery-divider {
  width: 100%;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cg fill='none' stroke='%23C85A46' stroke-width='1.4'%3E%3Cpath d='M0 7 L8 1 L16 7 L8 13 Z'/%3E%3Cpath d='M16 7 L24 1 L32 7 L24 13 Z'/%3E%3Cpath d='M32 7 L40 1 L48 7 L40 13 Z'/%3E%3Cpath d='M8 1 L16 7 L8 13 L0 7' fill='%23C85A46' fill-opacity='0.14'/%3E%3Cpath d='M24 1 L32 7 L24 13 L16 7' fill='%23C85A46' fill-opacity='0.14'/%3E%3Cpath d='M40 1 L48 7 L40 13 L32 7' fill='%23C85A46' fill-opacity='0.14'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 48px 14px;
}

.embroidery-divider.ochre {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cg fill='none' stroke='%23C85A46' stroke-width='1.4'%3E%3Cpath d='M0 7 L8 1 L16 7 L8 13 Z'/%3E%3Cpath d='M16 7 L24 1 L32 7 L24 13 Z'/%3E%3Cpath d='M32 7 L40 1 L48 7 L40 13 Z'/%3E%3Cpath d='M8 1 L16 7 L8 13 L0 7' fill='%23C85A46' fill-opacity='0.14'/%3E%3Cpath d='M24 1 L32 7 L24 13 L16 7' fill='%23C85A46' fill-opacity='0.14'/%3E%3Cpath d='M40 1 L48 7 L40 13 L32 7' fill='%23C85A46' fill-opacity='0.14'/%3E%3C/g%3E%3C/svg%3E");
}

.embroidery-divider.cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cg fill='none' stroke='%23FBF6EE' stroke-width='1.4'%3E%3Cpath d='M0 7 L8 1 L16 7 L8 13 Z'/%3E%3Cpath d='M16 7 L24 1 L32 7 L24 13 Z'/%3E%3Cpath d='M32 7 L40 1 L48 7 L40 13 Z'/%3E%3Cpath d='M8 1 L16 7 L8 13 L0 7' fill='%23FBF6EE' fill-opacity='0.14'/%3E%3Cpath d='M24 1 L32 7 L24 13 L16 7' fill='%23FBF6EE' fill-opacity='0.14'/%3E%3Cpath d='M40 1 L48 7 L40 13 L32 7' fill='%23FBF6EE' fill-opacity='0.14'/%3E%3C/g%3E%3C/svg%3E");
}

/* Woven texture overlay — fades at top & bottom edges */
.woven-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23C85A46' fill-opacity='0.04'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C85A46' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 0 L40 40 M40 0 L0 40'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--terracotta);
}

.eyebrow svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Rhombus spark icon */
.rhombus-spark {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  vertical-align: middle;
}

/* Corner ornament */
.corner-ornament {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  pointer-events: none;
}

/* ===== Producer Gallery — 6 image grid ===== */
#producer-process {
  background-color: transparent;
}

.producer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background-color: var(--muted);
  padding: 1.5rem;
  border-radius: 1.5rem;
}

.producer-gallery-item {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 3px solid var(--card);
  box-shadow: 0 4px 12px rgba(26,26,26,0.06);
  aspect-ratio: 1 / 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.producer-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(16,55,122,0.12);
}

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

.producer-gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .producer-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .producer-gallery-item:nth-child(5),
  .producer-gallery-item:nth-child(6) {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero { padding-top: 7rem; }
}

@media (min-width: 1024px) {
  .hero { padding-bottom: 6rem; }
}

/* Hero botanical background — client-provided illustration pattern.
   A centered radial cream gradient creates a "calm reading zone" in the
   middle of the hero, letting the botanical pattern show through at the edges. */
.hero-illustrated-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 78% 85% at 50% 50%,
      var(--background) 0%,
      rgba(245, 241, 232, 0.96) 22%,
      rgba(245, 241, 232, 0.74) 48%,
      rgba(245, 241, 232, 0.32) 76%,
      transparent 100%),
    url('/images/hero-bg-botanical.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* Bottom fade — blends the hero image into the page background seamlessly */
.hero-illustrated-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6rem;
  background: linear-gradient(to bottom, transparent 0%, var(--background) 100%);
  pointer-events: none;
}

/* Hero centered title */
.hero-top {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
  display: inline-block;
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.5rem;
  }
}

/* Hero split layout */
.hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 45fr 55fr;
    gap: 3rem;
  }
}

.hero-split-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
}

@media (max-width: 1023px) {
  .hero-split-left {
    text-align: center !important;
    align-items: center !important;
  }
  .hero-cta {
    align-self: center !important;
  }
}

.hero-logo-float {
  width: 5.175rem;
  height: 5.175rem;
  align-self: center;
  margin-bottom: 0.5rem;
  animation: float-slow 6s ease-in-out infinite;
}

.hero-subtext {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 28rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero-trust-item svg {
  color: var(--primary);
}

.hero-trust-divider {
  width: 1px;
  height: 1rem;
  background: var(--border);
}

.hero-cta {
  margin-top: 0.75rem;
  align-self: center;
}

/* Hero right side — images */
.hero-split-right {
  position: relative;
  height: 30rem;
}

@media (max-width: 1023px) {
  .hero-split-right {
    height: 22rem;
    margin-top: 1rem;
  }
}

@media (max-width: 639px) {
  .hero-split-right {
    height: 16rem;
  }
}

.hero-main-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 4px solid var(--card);
  box-shadow: 0 12px 40px -12px rgba(16,55,122,0.2), 0 4px 12px rgba(26,26,26,0.06);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-main-image:hover {
  transform: translateY(-4px);
}

.hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-accent-image {
  position: absolute;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 3px solid var(--card);
  box-shadow: 0 8px 24px -6px rgba(26,26,26,0.2);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.hero-accent-image:hover {
  transform: translateY(-3px);
}

.hero-accent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-accent-1 {
  bottom: -1rem;
  left: -1.25rem;
  width: 9.2rem;
  height: 9.2rem;
}

.hero-accent-1:hover { transform: translateY(-3px) rotate(-3deg); }

.hero-accent-2 {
  top: -1rem;
  right: -1.25rem;
  width: 8.05rem;
  height: 8.05rem;
}

.hero-accent-2:hover { transform: translateY(-3px) rotate(3deg); }

.hero-accent-3 {
  bottom: 1.5rem;
  right: -1.5rem;
  width: 6.9rem;
  height: 6.9rem;
}

.hero-accent-3:hover { transform: translateY(-3px) rotate(2deg); }

@media (max-width: 1023px) {
  .hero-accent-1 { width: 6.9rem; height: 6.9rem; bottom: -0.75rem; left: -0.75rem; }
  .hero-accent-2 { width: 5.75rem; height: 5.75rem; top: -0.75rem; right: -0.75rem; }
  .hero-accent-3 { display: none; }
}

@media (max-width: 639px) {
  .hero-accent-1 { width: 5.2rem; height: 5.2rem; }
  .hero-accent-2 { width: 4.6rem; height: 4.6rem; }
}

/* ===== Section通用 ===== */
.section {
  padding: 4rem 0;
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .section { padding: 6rem 0; }
}

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

/* Floating butterfly above each section title */
.section-butterfly {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  margin: 0 auto 1rem;
  animation: float-slow 6s ease-in-out infinite;
}

.section-header h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .section-header h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section-header h2 { font-size: 3rem; }
}

.section-header h2 .italic {
  color: var(--primary);
}

.section-header p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

/* ===== Values Section ===== */
.values-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 55, 122, 0.3);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
}

.value-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.value-icon.olive { background-color: rgba(122, 139, 78, 0.12); color: var(--olive); }
.value-icon.primary { background-color: rgba(16, 55, 122, 0.1); color: var(--primary); }
.value-icon.terracotta { background-color: rgba(200, 90, 70, 0.12); color: var(--terracotta); }
.value-icon.ochre { background-color: rgba(212, 168, 67, 0.12); color: var(--ochre); }

.value-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--espresso);
}

.value-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Health badges */
.health-badges {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background: linear-gradient(to right, rgba(107,142,78,0.05), rgba(16,55,122,0.05), rgba(212,165,46,0.05));
}

@media (min-width: 640px) {
  .health-badges { padding: 2rem; }
}

.health-badges-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .health-badges-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.health-badges h3 {
  font-size: 1.25rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .health-badges h3 { font-size: 1.5rem; }
}

.health-badges-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--espresso);
}

.health-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--olive);
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
}

.about-image-frame img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.about-image-quote {
  position: absolute;
  bottom: -1.25rem;
  right: -0.5rem;
  max-width: 15rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-md);
}

@media (max-width: 639px) {
  .about-image-quote { display: none; }
}

.about-image-quote p {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted-foreground);
}

.about-content h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .about-content h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .about-content h2 { font-size: 3rem; }
}

.about-content h2 .italic { color: var(--primary); }

/* Center-align the about heading and butterfly */
.about-content h2 {
  text-align: center;
}

.about-content .section-butterfly {
  margin-left: auto;
  margin-right: auto;
}

.about-content p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.about-content p strong {
  color: var(--espresso);
  font-weight: 600;
}

/* Challenges grid */
.challenges-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .challenges-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .challenges-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.challenge-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
}

.challenge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: rgba(16, 55, 122, 0.1);
  color: var(--primary);
}

.challenge-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.challenge-card h4 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--espresso);
}

.challenge-card p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Goal conflicts */
.conflicts-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.conflict-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
}

.conflict-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background-color: rgba(212, 168, 67, 0.15);
  color: var(--ochre);
}

.conflict-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.conflict-card h4 {
  font-size: 1.125rem;
  color: var(--espresso);
}

.conflict-card p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ===== Products Section ===== */
.products-section {
  position: relative;
}

.products-intro {
  text-align: center;
}

/* Match section-header h2 responsive sizing for the products heading */
.products-intro h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .products-intro h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .products-intro h2 { font-size: 3rem; }
}

.products-intro .butterfly {
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  animation: float-slow 6s ease-in-out infinite;
}

.category-section {
  margin-top: 5rem;
  scroll-margin-top: 6rem;
}

.category-header {
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .category-header { grid-template-columns: 7fr 5fr; gap: 2.5rem; }
}

.category-header h3 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .category-header h3 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .category-header h3 { font-size: 3rem; }
}

.category-header h3 .italic { color: var(--primary); }

.category-header p {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.category-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 4px solid var(--card);
  box-shadow: var(--shadow-md);
}

.category-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Product cards grid */
.product-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 55, 122, 0.3);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.4), transparent 50%);
  opacity: 0.6;
}

.product-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(212, 168, 67, 0.95);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--espresso);
  box-shadow: var(--shadow-sm);
}

.product-soldout {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(16, 55, 122, 0.9);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-foreground);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-soldout svg {
  width: 0.75rem;
  height: 0.75rem;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.product-card-body h4 {
  font-size: 1.25rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .product-card-body h4 { font-size: 1.5rem; }
}

.product-card-body .subtitle {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.product-card-body .description {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.product-usage {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background-color: rgba(240, 230, 208, 0.5);
}

.product-usage p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.product-usage .label {
  font-weight: 600;
  color: var(--espresso);
}

.product-ingredients-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.product-ingredients-label svg {
  width: 0.875rem;
  height: 0.875rem;
}

.product-ingredients {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.product-ingredient {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--background);
  font-size: 0.75rem;
  color: var(--espresso);
}

.product-ingredient .pct {
  font-weight: 600;
  color: var(--primary);
}

.product-notes {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: var(--olive);
}

.product-notes li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-notes li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--olive);
}

.product-card-cta {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-card-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s ease;
}

.product-card-cta a:hover {
  color: var(--primary-light);
}

.product-card-cta a svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.product-card:hover .product-card-cta a svg {
  transform: translateX(2px);
}

.product-card-cta .soldout-note {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted-foreground);
}

/* View all products link */
.view-all-link {
  margin-top: 1.5rem;
  text-align: center;
}

.view-all-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s ease;
}

.view-all-link a:hover {
  color: var(--primary-light);
}

/* ===== Producers Section ===== */
.producers-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
  background-color: var(--muted);
  padding: 2rem;
  border-radius: 1.5rem;
}

@media (min-width: 640px) {
  .producers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .producers-grid { grid-template-columns: repeat(3, 1fr); }
}

.producer-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
  transition: all 0.3s ease;
}

.producer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 55, 122, 0.3);
}

.producer-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.producer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
}

.producer-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.producer-group {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.producer-names {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.producer-name {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 55, 122, 0.2);
  background-color: rgba(16, 55, 122, 0.05);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--espresso);
}

.producer-name svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--primary);
}

.producer-role {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ===== Blog Section ===== */
.blog-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.blog-header h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .blog-header h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .blog-header h2 { font-size: 3rem; }
}

.blog-header h2 .italic { color: var(--primary); }

.blog-header p {
  margin-top: 0.75rem;
  max-width: 36rem;
  color: var(--muted-foreground);
}

.blog-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 55, 122, 0.3);
  background-color: rgba(16, 55, 122, 0.05);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.blog-all-link:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.blog-all-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.blog-all-link:hover svg {
  transform: translateX(2px);
}

.blog-grid-home {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .blog-grid-home { grid-template-columns: 8fr 4fr; gap: 2.5rem; }
}

/* Blog card */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 55, 122, 0.3);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card.featured .blog-card-image {
  aspect-ratio: 16 / 9;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 55, 122, 0.4), transparent 50%);
  opacity: 0.5;
}

.blog-card-category {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(212, 168, 67, 0.95);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--espresso);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.blog-card-date svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

.blog-card-body h3 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  color: var(--espresso);
}

.blog-card.featured .blog-card-body h3 {
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .blog-card.featured .blog-card-body h3 { font-size: 1.875rem; }
}

.blog-card-excerpt {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-readmore {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-card-readmore svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card-readmore svg {
  transform: translateX(2px);
}

/* Blog sidebar */
.blog-sidebar-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
}

.blog-sidebar-card h3 {
  font-size: 1.125rem;
  color: var(--espresso);
}

.blog-sidebar-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.blog-sidebar-card a {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-sidebar-card a svg {
  width: 1rem;
  height: 1rem;
}

.blog-rss-card {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 55, 122, 0.2);
  background: linear-gradient(to bottom right, rgba(16,55,122,0.05), rgba(212,165,46,0.05));
}

.blog-rss-card .rss-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-rss-card .rss-label svg {
  width: 1rem;
  height: 1rem;
}

.blog-rss-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Blog listing page */
.blog-listing-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .blog-listing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Blog post page */
.blog-post-header {
  max-width: 48rem;
  margin: 0 auto;
}

.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.blog-post-back:hover {
  color: var(--primary);
}

.blog-post-back svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.blog-post-back:hover svg {
  transform: translateX(-2px);
}

.blog-post-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.blog-post-category {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(16, 55, 122, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.blog-post-category svg {
  width: 0.75rem;
  height: 0.75rem;
}

.blog-post-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-post-date svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.blog-post-header h1 {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .blog-post-header h1 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .blog-post-header h1 { font-size: 3rem; }
}

.blog-post-excerpt {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.blog-post-cover {
  margin: 2rem auto 0;
  max-width: 64rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .blog-post-cover { padding: 0 1.5rem; }
}

.blog-post-cover-image {
  overflow: hidden;
  border-radius: 2rem;
  border: 4px solid var(--card);
  box-shadow: var(--shadow-xl);
}

.blog-post-cover-image img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.blog-post-body {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .blog-post-body { padding: 0 1.5rem; }
}

/* Markdown content styles */
.blog-post-body h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .blog-post-body h2 { font-size: 1.875rem; }
}

.blog-post-body h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .blog-post-body h3 { font-size: 1.5rem; }
}

.blog-post-body p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.9);
}

.blog-post-body ul {
  margin-bottom: 1.25rem;
  padding-left: 0.25rem;
}

.blog-post-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.9);
}

.blog-post-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.blog-post-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style: decimal;
}

.blog-post-body ol li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.9);
}

.blog-post-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid rgba(16, 55, 122, 0.4);
  background-color: rgba(16, 55, 122, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-post-body blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: rgba(26, 26, 26, 0.8);
}

.blog-post-body strong {
  font-weight: 600;
  color: var(--espresso);
}

.blog-post-body em {
  font-style: italic;
  color: var(--primary);
}

.blog-post-body hr {
  margin: 2rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Blog post footer */
.blog-post-footer {
  max-width: 48rem;
  margin: 3rem auto 0;
  padding: 2rem 1rem 0;
  border-top: 1px solid rgba(224, 216, 200, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .blog-post-footer {
    flex-direction: row;
    padding: 2rem 1.5rem 0;
  }
}

.blog-post-signoff {
  max-width: 48rem;
  margin: 4rem auto 4rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .blog-post-signoff { padding: 0 1.5rem; }
}

.signoff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 55, 122, 0.15);
  background: linear-gradient(to bottom right, rgba(16,55,122,0.05), rgba(212,165,46,0.05));
  text-align: center;
}

.signoff-card img {
  width: 3rem;
  height: 3rem;
}

.signoff-card p.title {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--espresso);
}

.signoff-card p.text {
  margin-top: 0.5rem;
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.signoff-card .btn {
  margin-top: 1rem;
}

/* ===== Contact Section ===== */
.contact-wrap {
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(224, 216, 200, 0.7);
  background-color: var(--card);
  box-shadow: var(--shadow-lg);
}

.contact-grid {
  display: grid;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 7fr; }
}

.contact-info {
  position: relative;
  padding: 2rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .contact-info { padding: 2.5rem; }
}

.contact-info .butterfly {
  width: 3rem;
  height: 3rem;
  animation: float-slow 6s ease-in-out infinite;
}

.contact-info .eyebrow {
  margin-top: 1.25rem;
  color: var(--primary-foreground);
}

.contact-info h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .contact-info h2 { font-size: 2.25rem; }
}

.contact-info > p {
  margin-top: 1rem;
  line-height: 1.7;
  color: rgba(251, 246, 238, 0.8);
}

.contact-info-items {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 246, 238, 0.15);
  background-color: rgba(251, 246, 238, 0.05);
  transition: background-color 0.2s ease;
}

.contact-info-item:hover {
  background-color: rgba(251, 246, 238, 0.1);
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background-color: rgba(251, 246, 238, 0.15);
  color: var(--primary-foreground);
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(251, 246, 238, 0.5);
}

.contact-info-value {
  font-weight: 500;
  color: var(--primary-foreground);
}

.contact-info-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(251, 246, 238, 0.6);
}

/* Contact form */
.contact-form-panel {
  padding: 2rem;
}

@media (min-width: 640px) {
  .contact-form-panel { padding: 2.5rem; }
}

.form-required {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}

.form-required .star {
  color: var(--primary);
}

.form-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--espresso);
}

.form-field label .star {
  color: var(--primary);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--input);
  background-color: var(--background);
  font-size: 0.875rem;
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 55, 122, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 0.75rem;
  color: var(--destructive);
}

/* Form success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 20rem;
  height: 100%;
  padding: 3rem 1.5rem;
}

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(107, 142, 78, 0.15);
  color: var(--olive);
}

.form-success-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.form-success h3 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  color: var(--espresso);
}

.form-success p {
  margin-top: 0.5rem;
  max-width: 24rem;
  color: var(--muted-foreground);
}

/* ===== Footer ===== */
.site-footer {
  margin-top: auto;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
  .footer-inner { padding: 3.5rem 1.5rem; }
}

@media (min-width: 1024px) {
  .footer-inner { padding: 3.5rem 2rem; }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand img.footer-logo {
  height: 3.5rem;
  width: auto;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 20rem;
  color: rgba(251, 246, 238, 0.75);
}

.footer-col h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.footer-col ul li a {
  color: rgba(251, 246, 238, 0.75);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-foreground);
}

.footer-values li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(251, 246, 238, 0.75);
}

.footer-values li svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary-foreground);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact li svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary-foreground);
  flex-shrink: 0;
}

.footer-contact li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 246, 238, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(251, 246, 238, 0.6);
}

.footer-bottom .heart {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  color: var(--primary-foreground);
  fill: var(--primary-foreground);
  vertical-align: middle;
}

/* ===== Product Detail Page ===== */
.product-page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .product-page-hero { padding-top: 8rem; }
}

.product-page-hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .product-page-hero-inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .product-page-hero-inner { padding: 0 2rem; }
}

.product-page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.product-page-back:hover {
  color: var(--primary);
}

.product-page-back svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.product-page-back:hover svg {
  transform: translateX(-2px);
}

.product-page-header {
  display: grid;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .product-page-header { grid-template-columns: 7fr 5fr; gap: 2.5rem; }
}

.product-page-header h1 {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .product-page-header h1 { font-size: 2.75rem; }
}

@media (min-width: 1024px) {
  .product-page-header h1 { font-size: 3.5rem; }
}

.product-page-header h1 .italic { color: var(--primary); }

.product-page-header .origin {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.product-page-certifications {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(107, 142, 78, 0.3);
  background-color: rgba(107, 142, 78, 0.1);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--olive);
}

.cert-badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

.product-page-hero-image {
  overflow: hidden;
  border-radius: 2rem;
  border: 4px solid var(--card);
  box-shadow: var(--shadow-xl);
}

.product-page-hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ===== Floating jar cutouts (hazelnut hero) ===== */
/* When heroImages are used, the container becomes a transparent stage
   with floating product jars instead of a single framed image. */
.product-page-hero-image:has(.hero-floating-jars) {
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
}

.hero-floating-jars {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Raw ingredient backdrop — removed; raw products now use the same jar styling */

.hero-floating-jar {
  position: absolute;
  width: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-jar img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(16, 55, 122, 0.18))
          drop-shadow(0 4px 8px rgba(26, 26, 26, 0.08));
  animation: float-slow 6s ease-in-out infinite;
}

.hero-floating-jar-1 {
  left: -6%;
  top: 8%;
  z-index: 2;
}

.hero-floating-jar-1 img {
  animation-delay: 0s;
}

.hero-floating-jar-2 {
  right: -6%;
  bottom: 8%;
  z-index: 1;
}

.hero-floating-jar-2 img {
  animation-delay: -3s;
}

/* Third floating jar (raw product) — centered below the two jars */
.hero-floating-jar-3 {
  left: 50%;
  bottom: -4%;
  width: 42%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-floating-jar-3 img {
  animation-delay: -1.5s;
}

/* When there are 3 jars: jar-1 top-left, jar-2 top-right, jar-3 centered below */
.hero-floating-jars:has(.hero-floating-jar-3) .hero-floating-jar-1 {
  left: -4%;
  top: 0;
  bottom: auto;
  width: 52%;
  z-index: 2;
}

.hero-floating-jars:has(.hero-floating-jar-3) .hero-floating-jar-2 {
  right: -4%;
  bottom: auto;
  top: 0;
  width: 52%;
  z-index: 1;
}

@media (max-width: 639px) {
  .hero-floating-jar { width: 58%; }
  .hero-floating-jar-1 { left: -2%; }
  .hero-floating-jar-2 { right: -2%; }
  .hero-floating-jars:has(.hero-floating-jar-3) .hero-floating-jar-1 {
    left: -2%;
    width: 50%;
  }
  .hero-floating-jars:has(.hero-floating-jar-3) .hero-floating-jar-2 {
    right: -2%;
    width: 50%;
  }
  .hero-floating-jar-3 {
    width: 40%;
    bottom: -2%;
  }
}

/* When there's only one jar, center it */
.hero-floating-jars .hero-floating-jar:first-child:last-child {
  position: relative;
  left: auto;
  top: auto;
  right: auto;
  bottom: auto;
  margin: 0 auto;
  width: 72%;
}

/* Product detail sections (alternating) */
.product-detail-section {
  padding: 3rem 0;
}

/* ===== Top hero: image (left, vertically centered) + intro text (right) ===== */
.product-detail-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .product-detail-hero { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

.product-detail-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 4px solid var(--card);
  box-shadow: var(--shadow-lg);
}

.product-detail-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail-intro h3 {
  font-size: 1.5rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .product-detail-intro h3 { font-size: 2rem; }
}

.product-detail-intro .subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.product-detail-intro .description {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.product-detail-intro .description p {
  margin-bottom: 0.75rem;
}

/* ===== Bottom info: 2-column layout (spec sheet + qualities card) ===== */
/* Left: flat spec rows (Origin, Usage, Ingredients, Storage, Availability)
   Right: "Qualities & benefits" card (Dietary notes, Certifications, Health benefits) */
.product-detail-info {
  margin-top: 3rem;
  text-align: left;
}

.product-info-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .product-info-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
  }
}

/* Section heading ("Product details" / "Qualities & benefits") */
.product-info-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

/* LEFT: Product Details — flat spec sheet */
.product-details-panel {
  min-width: 0;
}

.product-spec-sheet {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.spec-row:first-child {
  border-top: none;
  padding-top: 0;
}

.spec-row:last-child {
  padding-bottom: 0;
}

@media (min-width: 640px) {
  .spec-row {
    grid-template-columns: 10rem 1fr;
    gap: 1.5rem;
    padding: 1.25rem 0;
  }
}

.spec-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.spec-label svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* Availability row icon gets ochre accent */
.spec-row:last-child .spec-label svg {
  color: var(--ochre);
}

.spec-value {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--foreground);
}

.spec-value p {
  margin: 0;
}

/* Product detail ingredients */
.product-detail-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

/* RIGHT: Qualities & Benefits card */
.qualities-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background-color: var(--secondary);
  border: 1px solid var(--border);
}

.qualities-card .product-info-heading {
  border-bottom-color: var(--terracotta);
}

/* Quality blocks inside the card */
.quality-block + .quality-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.quality-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.quality-label svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

/* ===== Quality block icon colors (semantic classes) ===== */
/* Default (no specific class) — blue */
.quality-block .quality-label svg { color: var(--primary); }

/* Varieties — green icon (olive) on all pages EXCEPT Ajvar page */
.quality-block.is-varieties .quality-label svg { color: var(--olive); }
/* Ajvar page varieties stays as-is (yellow/red pills) — handled below */

/* Certifications — blue icon */
.quality-block.is-certs .quality-label svg { color: var(--primary); }

/* Dietary notes — blue icon */
.quality-block.is-notes .quality-label svg { color: var(--primary); }

/* Health benefits — red icon (terracotta) */
.quality-block.is-health .quality-label svg { color: var(--terracotta); }

/* ===== Product detail notes (pills) ===== */
.product-detail-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Default pill — blue */
.product-detail-note {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 55, 122, 0.25);
  background-color: rgba(16, 55, 122, 0.07);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

/* Certification pills — GREEN on all pages */
.quality-block.is-certs .product-detail-note {
  border-color: rgba(107, 142, 78, 0.3);
  background-color: rgba(107, 142, 78, 0.12);
  color: var(--olive);
}

/* Varieties pills — BLUE on all pages EXCEPT Ajvar page */
.quality-block.is-varieties .product-detail-note {
  border-color: rgba(16, 55, 122, 0.25);
  background-color: rgba(16, 55, 122, 0.07);
  color: var(--primary);
}

/* Dietary notes pills — BLUE */
.quality-block.is-notes .product-detail-note {
  border-color: rgba(16, 55, 122, 0.25);
  background-color: rgba(16, 55, 122, 0.07);
  color: var(--primary);
}

/* ===== Ajvar page OVERRIDES (keep as they are) ===== */
/* Ajvar, Lutenica & Malidzano — varieties pill colors (Mild=yellow, Spicy=red) */
#ajvar .quality-block.is-varieties .product-detail-note:nth-child(1),
#lutenica .quality-block.is-varieties .product-detail-note:nth-child(1),
#malidzano .quality-block.is-varieties .product-detail-note:nth-child(1) {
  background-color: rgba(212, 168, 67, 0.15) !important;
  border-color: rgba(212, 168, 67, 0.4) !important;
  color: var(--ochre) !important;
}
#ajvar .quality-block.is-varieties .product-detail-note:nth-child(2),
#lutenica .quality-block.is-varieties .product-detail-note:nth-child(2),
#malidzano .quality-block.is-varieties .product-detail-note:nth-child(2) {
  background-color: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  color: #fff !important;
}

/* Allergen ingredient pills — italic */
.product-ingredient.allergen {
  font-style: italic;
}

/* Product detail health benefits */
.product-health-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-health-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.product-health-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--terracotta);
  flex-shrink: 0;
}

/* Product detail CTA */
.product-cta-section {
  padding: 3rem 0;
}

.product-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(16, 55, 122, 0.15);
  background: linear-gradient(to bottom right, rgba(16,55,122,0.05), rgba(212,165,46,0.05));
  text-align: center;
}

.product-cta-card .butterfly {
  width: 3rem;
  height: 3rem;
}

.product-cta-card h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: var(--espresso);
}

@media (min-width: 640px) {
  .product-cta-card h2 { font-size: 2rem; }
}

.product-cta-card p {
  margin-top: 0.5rem;
  max-width: 36rem;
  color: var(--muted-foreground);
}

/* ===== Animations ===== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal animation classes (toggled by JS) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Scrollbar — blue thumb, transparent track (no cutout) ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(16, 55, 122, 0.4);
  border-radius: 5px;
  border: none;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 55, 122, 0.6);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 55, 122, 0.4) transparent;
}

/* ===== Toast notification ===== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-width: 24rem;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-color: var(--olive);
}

.toast.error {
  border-color: var(--destructive);
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--olive); }
.toast.error .toast-icon { color: var(--destructive); }

.toast-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--espresso);
}

.toast-description {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ===== Responsive tweaks ===== */
@media (max-width: 639px) {
  .hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.5rem; }
  .contact-info { padding: 1.5rem; }
  .contact-form-panel { padding: 1.5rem; }
}

/* ==========================================================================
   DESIGN POLISH — Minimal fixes only (butterfly + header shadow)
   ========================================================================== */

/* ===== Hero badge butterfly — white, properly sized, not clipped ===== */
.hero-badge-butterfly {
  width: 1.25rem !important;
  height: 1.25rem !important;
  object-fit: contain !important;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  padding: 0 1px;
}

/* ===== Header — glassmorphism when scrolled (frosted, not opaque) ===== */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 24px -8px rgba(26, 26, 26, 0.08) !important;
}

/* ===== Mobile improvements ===== */
@media (max-width: 639px) {
  .hero-image-badge {
    font-size: 0.625rem !important;
    padding: 0.375rem 0.75rem !important;
  }

  .hero-badge-butterfly {
    width: 1rem !important;
    height: 1rem !important;
  }
}

/* ==========================================================================
   PREMIUM POLISH — Rustic elegance refinements
   ========================================================================== */

/* ===== Paper grain texture overlay on body ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

/* ===== Headings — Montserrat bold ===== */
.hero h1 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: clamp(1.75rem, 4vw, 3.5rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}

.hero h1 .italic {
  font-style: italic;
  font-weight: 700;
}

.section-header h2,
.blog-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
}

/* ===== Body text — better line height for readability ===== */
p {
  line-height: 1.7;
}

/* ===== Nav links — refined with letter-spacing ===== */
.desktop-nav a {
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  padding: 0.5rem 0.875rem !important;
}

/* ===== Buttons — premium outline style ===== */
.btn {
  border-radius: 9999px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  font-size: 0.8125rem !important;
  padding: 0.625rem 1.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary {
  background-color: var(--terracotta) !important;
  color: var(--primary-foreground) !important;
  border: 1.5px solid var(--terracotta) !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 8px rgba(200, 90, 70, 0.15) !important;
}

.btn-primary:hover {
  background-color: var(--terracotta-dark) !important;
  border-color: var(--terracotta-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(200, 90, 70, 0.2) !important;
}

.btn-outline {
  background-color: transparent !important;
  color: var(--primary) !important;
  border: 1.5px solid rgba(16, 55, 122, 0.25) !important;
}

.btn-outline:hover {
  background-color: rgba(16, 55, 122, 0.04) !important;
  border-color: rgba(16, 55, 122, 0.4) !important;
  transform: translateY(-1px) !important;
}

.btn-lg {
  padding: 0.75rem 1.75rem !important;
  font-size: 0.875rem !important;
}

/* ===== Cards — soft elevated shadows ===== */
.product-card,
.blog-card,
.producer-card,
.value-card,
.challenge-card,
.conflict-card {
  border-radius: 1rem !important;
  border: 1px solid rgba(221, 213, 197, 0.6) !important;
  background-color: var(--card) !important;
  box-shadow: 0 1px 3px rgba(26,26,26,0.03) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-card:hover,
.blog-card:hover,
.producer-card:hover,
.value-card:hover {
  box-shadow: 0 12px 40px -12px rgba(16, 55, 122, 0.15), 0 4px 12px rgba(26,26,26,0.04) !important;
  border-color: rgba(16, 55, 122, 0.15) !important;
  transform: translateY(-3px) !important;
}

/* ===== Card images — smoother zoom ===== */
.product-card-image img,
.blog-card-image img,
.category-image img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ===== Icon chips — hover scale ===== */
.value-icon,
.producer-icon,
.challenge-icon {
  transition: transform 0.3s ease !important;
}

.value-card:hover .value-icon,
.producer-card:hover .producer-icon {
  transform: scale(1.08);
}

/* ===== Eyebrow — refined ===== */
.eyebrow {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
}

/* ===== Hero image frame — subtle inner glow ===== */
.hero-image-frame {
  border-radius: 1.5rem !important;
  overflow: hidden;
}

.hero-image-frame img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

/* ===== Contact section — refined card ===== */
.contact-wrap {
  border-radius: 1.5rem !important;
  border: 1px solid rgba(221, 213, 197, 0.5) !important;
  box-shadow: 0 12px 40px -12px rgba(16, 55, 122, 0.12), 0 4px 12px rgba(26,26,26,0.04) !important;
}

/* ===== Footer links — smooth hover slide ===== */
.footer-col ul li a {
  transition: all 0.2s ease !important;
}

.footer-col ul li a:hover {
  padding-left: 4px;
}

/* ===== Form inputs — premium focus ring ===== */
.form-field input,
.form-field textarea {
  border-radius: 0.625rem !important;
  border: 1.5px solid var(--input) !important;
  padding: 0.625rem 0.875rem !important;
  transition: all 0.2s ease !important;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(16, 55, 122, 0.06) !important;
}

/* ===== Selection color ===== */
::selection {
  background-color: rgba(16, 55, 122, 0.12);
  color: var(--primary);
}

/* ===== Smooth scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Section spacing — more breathing room ===== */
.section {
  padding: 5rem 0 !important;
}

@media (min-width: 768px) {
  .section {
    padding: 6.5rem 0 !important;
  }
}

/* ==========================================================================
   DESIGN ENHANCEMENTS — 5 premium refinements
   ========================================================================== */

/* ===== 1. Hero image depth — layered drop shadow ===== */
.hero-image-frame {
  box-shadow:
    0 4px 6px -1px rgba(26, 26, 26, 0.05),
    0 10px 20px -5px rgba(26, 26, 26, 0.08),
    0 20px 40px -10px rgba(16, 55, 122, 0.12),
    0 30px 60px -15px rgba(16, 55, 122, 0.1) !important;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 5%;
  right: 5%;
  height: 2rem;
  background: radial-gradient(ellipse at center, rgba(16, 55, 122, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(8px);
}

/* ===== 2. Challenge cards — remove borders, soft shadows, circular icons ===== */
.challenge-card {
  border: none !important;
  background-color: var(--card) !important;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.04), 0 4px 12px rgba(26, 26, 26, 0.03) !important;
  padding: 1.75rem !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.challenge-card:hover {
  box-shadow: 0 8px 28px -8px rgba(16, 55, 122, 0.12), 0 4px 12px rgba(26, 26, 26, 0.05) !important;
  transform: translateY(-4px) !important;
}

.challenge-icon {
  border-radius: var(--radius) !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ===== 5. Contact form — floating labels ===== */
.form-field {
  position: relative;
}

.form-field label {
  position: absolute;
  top: 0.75rem;
  left: 0.875rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
  padding: 0 0.25rem;
  z-index: 2;
}

.form-field input,
.form-field textarea {
  padding: 1.5rem 0.875rem 0.5rem 0.875rem !important;
}

/* Label comes BEFORE input in HTML, so use :focus-within on parent */
.form-field:focus-within label {
  top: 0.3125rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--card);
}

/* When input has content (not placeholder-shown), float the label */
.form-field:has(input:not(:placeholder-shown)) label,
.form-field:has(textarea:not(:placeholder-shown)) label {
  top: 0.3125rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--card);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: transparent;
}

/* ===== 7. Section transitions — clean spacing (no border lines) ===== */
.section[id="about"],
.section[id="products"],
.section[id="producers"],
.section[id="blog-preview"],
.section[id="contact"] {
  padding-top: 6rem !important;
}

/* ===== 10. Staggered reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) !important;
}

/* Stagger children inside grids */
.producers-grid .reveal:nth-child(1),
.challenges-grid .reveal:nth-child(1) { transition-delay: 0s !important; }
.producers-grid .reveal:nth-child(2),
.challenges-grid .reveal:nth-child(2) { transition-delay: 0.08s !important; }
.producers-grid .reveal:nth-child(3),
.challenges-grid .reveal:nth-child(3) { transition-delay: 0.16s !important; }
.producers-grid .reveal:nth-child(4),
.challenges-grid .reveal:nth-child(4) { transition-delay: 0.24s !important; }
.producers-grid .reveal:nth-child(5) { transition-delay: 0.32s !important; }
.producers-grid .reveal:nth-child(6) { transition-delay: 0.4s !important; }

/* Product cards stagger */
.products-section .product-card:nth-child(1) { transition-delay: 0s !important; }
.products-section .product-card:nth-child(2) { transition-delay: 0.1s !important; }
.products-section .product-card:nth-child(3) { transition-delay: 0.2s !important; }

/* Blog cards stagger */
.blog-listing-grid .blog-card:nth-child(1) { transition-delay: 0s !important; }
.blog-listing-grid .blog-card:nth-child(2) { transition-delay: 0.1s !important; }
.blog-listing-grid .blog-card:nth-child(3) { transition-delay: 0.2s !important; }


/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

/* New wrapper to hold image + caption vertically */
.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
}

.lightbox-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lightbox img {
  max-width: 90vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Caption area (counter + comment) — below the image, not on it */
.lightbox-caption {
  margin-top: 1.25rem;
  padding: 0 1rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-counter {
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.lightbox-comment {
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 400;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1;
  transition: background 0.2s ease;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1;
  transition: background 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}


/* ===== Usage Inspiration Collage ===== */
.usage-collage-section {
  padding: 3rem 0 4rem;
}

.usage-collage-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.usage-collage-header h2 {
  font-size: 1.875rem;
  color: var(--espresso);
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .usage-collage-header h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .usage-collage-header h2 { font-size: 3rem; }
}

.usage-collage-header .italic {
  color: var(--primary);
}

.usage-collage {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Each collage item — white frame like product images */
.collage-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 4px solid var(--card);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0s 0.4s;
  background: var(--card);
}

.collage-item:hover {
  transform: translateY(-6px) scale(1.03) rotate(0deg) !important;
  box-shadow: 0 20px 50px -12px rgba(16, 55, 122, 0.25), 0 8px 24px rgba(26, 26, 26, 0.08);
  z-index: 20;
  transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0s 0s;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.collage-item:hover img {
  transform: scale(1.08);
}

/* Scattered layout — varied sizes and rotations */
.collage-item-1 {
  width: 280px;
  height: 220px;
  transform: rotate(-3deg);
  margin-top: 1rem;
}
.collage-item-2 {
  width: 220px;
  height: 180px;
  transform: rotate(2deg);
  margin-top: 0;
}
.collage-item-3 {
  width: 240px;
  height: 200px;
  transform: rotate(-1.5deg);
  margin-top: 1.5rem;
}
.collage-item-4 {
  width: 200px;
  height: 170px;
  transform: rotate(2.5deg);
  margin-top: 0.5rem;
}
.collage-item-5 {
  width: 260px;
  height: 210px;
  transform: rotate(-2deg);
  margin-top: 1rem;
}
.collage-item-6 {
  width: 210px;
  height: 175px;
  transform: rotate(1.5deg);
  margin-top: 0;
}

/* Tablet */
@media (max-width: 1023px) {
  .collage-item-1 { width: 220px; height: 175px; }
  .collage-item-2 { width: 180px; height: 145px; }
  .collage-item-3 { width: 200px; height: 160px; }
  .collage-item-4 { width: 170px; height: 140px; }
  .collage-item-5 { width: 210px; height: 170px; }
  .collage-item-6 { width: 175px; height: 145px; }
}

/* Mobile */
@media (max-width: 639px) {
  .usage-collage {
    gap: 0.75rem;
  }
  .collage-item-1 { width: 160px; height: 130px; }
  .collage-item-2 { width: 130px; height: 105px; }
  .collage-item-3 { width: 145px; height: 120px; }
  .collage-item-4 { width: 125px; height: 100px; }
  .collage-item-5 { width: 155px; height: 125px; }
  .collage-item-6 { width: 130px; height: 105px; }
  .collage-item {
    transform: rotate(0deg) !important;
  }
  .collage-item:hover {
    transform: translateY(-4px) scale(1.02) !important;
  }
}
