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

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #2D4263;
  background: #FFFFFF;
  overflow-x: hidden;
}

/* ===== GEOMETRIC STRUCTURED DESIGN - TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #2D4263;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-left: 4px solid #C84B31;
  padding-left: 16px;
}

h3 {
  font-size: 24px;
  letter-spacing: 0.02em;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* ===== GEOMETRIC STRUCTURED CONTAINERS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* ===== GEOMETRIC BUTTONS ===== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Merriweather', serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
a.btn-secondary, .filter-btn {
  color: #FFFFFF !important;
  border-color: #fff;
}
.btn-primary {
  background: #C84B31;
  color: #FFFFFF;
  border-color: #C84B31;
}

.btn-primary:hover {
  background: #2D4263;
  border-color: #2D4263;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(200, 75, 49, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #2D4263;
  border-color: #2D4263;
}

.btn-secondary:hover {
  background: #2D4263;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(45, 66, 99, 0.3);
}

/* ===== GEOMETRIC HEADER ===== */
header {
  background: #FFFFFF;
  border-bottom: 4px solid #C84B31;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 32px;
}

.main-nav img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links li a {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2D4263;
  padding: 8px 0;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #C84B31;
  transition: width 0.3s ease;
}

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

/* ===== MOBILE MENU TOGGLE BUTTON ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: #C84B31;
  color: #FFFFFF;
  border: 3px solid #C84B31;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #2D4263;
  border-color: #2D4263;
  transform: scale(1.05);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #2D4263;
  z-index: 999;
  padding: 80px 32px 32px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 3px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 28px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.mobile-menu-close:hover {
  background: #C84B31;
  border-color: #C84B31;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  color: #FFFFFF;
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #C84B31;
  transform: translateX(8px);
}

/* ===== GEOMETRIC HERO SECTIONS ===== */
.hero,
.page-hero,
.error-hero,
.premium-hero,
.thank-you-hero,
.legal-hero {
  background: linear-gradient(135deg, #2D4263 0%, #1a2740 100%);
  color: #FFFFFF;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(200, 75, 49, 0.1);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(45deg);
}

.hero h1,
.page-hero h1,
.error-hero h1,
.premium-hero h1,
.thank-you-hero h1,
.legal-hero h1 {
  color: #FFFFFF;
  margin-bottom: 24px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 700px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ===== GEOMETRIC CARDS & GRIDS ===== */
.category-grid,
.benefits-grid,
.recipe-grid,
.region-grid,
.collection-grid,
.plan-grid,
.testimonial-grid,
.link-grid,
.contact-grid,
.promise-grid,
.stats-grid,
.philosophy-grid,
.action-grid,
.steps-grid,
.story-grid,
.tips-grid,
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.category-card,
.benefit,
.benefit-card,
.recipe-card,
.region-card,
.collection-card,
.plan-card,
.link-card,
.contact-card,
.promise-item,
.stat-item,
.philosophy-item,
.action-card,
.step-item,
.story-card,
.tip-card,
.cookie-category,
.right-card,
.faq-item {
  background: #FFFFFF;
  border: 3px solid #ECDBBA;
  padding: 32px;
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  transition: all 0.3s ease;
  position: relative;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.category-card:hover,
.benefit-card:hover,
.recipe-card:hover,
.region-card:hover,
.collection-card:hover,
.action-card:hover,
.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(200, 75, 49, 0.2);
  border-color: #C84B31;
}

.category-card::before,
.benefit-card::before,
.recipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #C84B31;
  transition: width 0.3s ease;
}

.category-card:hover::before,
.benefit-card:hover::before,
.recipe-card:hover::before {
  width: 120px;
}

.recipe-card h3,
.category-card h3,
.region-card h3 {
  margin-bottom: 12px;
  color: #2D4263;
}

.recipe-card p,
.category-card p,
.region-card p {
  color: #5a6a85;
  margin-bottom: 20px;
}

/* ===== GEOMETRIC BADGES ===== */
.time-badge,
.difficulty,
.region-badge,
.trial-badge,
.savings-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #ECDBBA;
  color: #2D4263;
  margin-top: 12px;
  margin-right: 8px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.region-badge {
  background: #C84B31;
  color: #FFFFFF;
}

.trial-badge,
.savings-badge {
  background: #C84B31;
  color: #FFFFFF;
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ===== SECTIONS WITH GEOMETRIC SPACING ===== */
.section,
.featured-categories,
.value-proposition,
.testimonials,
.premium-teaser,
.recipe-filter,
.recipe-grid-section,
.featured-collections,
.quick-promise,
.time-based-recipes,
.cooking-tips,
.regional-categories,
.featured-regional,
.cultural-stories,
.mission,
.story,
.statistics,
.philosophy,
.contact-invitation,
.premium-benefits,
.pricing-plans,
.premium-testimonials,
.faq,
.contact-options,
.contact-form-section,
.location-info,
.helpful-links,
.popular-recipes,
.next-steps,
.suggested-actions,
.featured-content,
.legal-content {
  padding: 60px 20px;
  margin-bottom: 0;
}

.section:nth-child(even),
.value-proposition,
.quick-promise,
.statistics,
.premium-benefits,
.contact-options {
  background: #f8f9fa;
}

/* ===== GEOMETRIC TESTIMONIALS ===== */
.testimonial-card {
  background: #FFFFFF;
  border: 3px solid #ECDBBA;
  padding: 32px;
  flex: 1 1 calc(50% - 24px);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 72px;
  font-family: 'Merriweather', serif;
  color: #ECDBBA;
  line-height: 1;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #2D4263;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.testimonial-author strong {
  color: #2D4263;
  font-family: 'Merriweather', serif;
  font-size: 16px;
}

.testimonial-author span {
  color: #5a6a85;
  font-size: 14px;
}

/* ===== PREMIUM PRICING ===== */
.plan-card {
  flex: 1 1 calc(50% - 24px);
  text-align: center;
  position: relative;
}

.plan-card.featured {
  border-color: #C84B31;
  border-width: 4px;
  transform: scale(1.05);
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 0;
  padding: 24px 0;
  border-top: 3px solid #ECDBBA;
  border-bottom: 3px solid #ECDBBA;
}

.plan-price .amount {
  font-size: 48px;
  font-weight: 700;
  color: #C84B31;
  font-family: 'Merriweather', serif;
}

.plan-price .period {
  font-size: 14px;
  color: #5a6a85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}

.plan-features li {
  padding-left: 28px;
  position: relative;
  color: #2D4263;
}

.plan-features li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #C84B31;
  font-size: 20px;
}

.pricing-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
}

.pricing-highlight .price {
  font-size: 36px;
  font-weight: 700;
  color: #C84B31;
  font-family: 'Merriweather', serif;
}

/* ===== FORMS WITH GEOMETRIC STRUCTURE ===== */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2D4263;
}

.input-field,
.search-input,
select,
textarea {
  padding: 16px;
  border: 3px solid #ECDBBA;
  background: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #2D4263;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.input-field:focus,
.search-input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #C84B31;
  box-shadow: 0 4px 12px rgba(200, 75, 49, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* ===== FILTER CONTROLS ===== */
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  padding: 32px;
  background: #FFFFFF;
  border: 3px solid #ECDBBA;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 200px;
}

.search-input {
  flex: 1 1 300px;
}

.time-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.filter-btn {
  padding: 12px 24px;
  border: 3px solid #ECDBBA;
  background: transparent;
  color: #2D4263;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.filter-btn:hover,
.filter-btn.active {
  background: #C84B31;
  border-color: #C84B31;
  color: #FFFFFF;
}

/* ===== 404 ERROR PAGE ===== */
.error-code {
  font-size: 120px;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  color: #C84B31;
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(45, 66, 99, 0.3);
}

/* ===== THANK YOU PAGE ===== */
.success-icon {
  width: 80px;
  height: 80px;
  background: #C84B31;
  color: #FFFFFF;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 24px;
}

.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content ul li {
  list-style: square;
  margin-bottom: 8px;
  color: #2D4263;
}

.legal-content ul li::marker {
  color: #C84B31;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.cookie-table th,
.cookie-table td {
  padding: 16px;
  text-align: left;
  border: 3px solid #ECDBBA;
}

.cookie-table th {
  background: #2D4263;
  color: #FFFFFF;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.cookie-table tr:nth-child(even) {
  background: #f8f9fa;
}

.rights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0;
}

/* ===== FOOTER WITH GEOMETRIC DESIGN ===== */
footer {
  background: #2D4263;
  color: #FFFFFF;
  padding: 60px 20px 20px;
  margin-top: 80px;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 280px;
}

.footer-section h3 {
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: 20px;
  border-left: 4px solid #C84B31;
  padding-left: 12px;
}

.footer-section p,
.footer-section ul li {
  color: #ECDBBA;
  font-size: 14px;
  line-height: 1.8;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section ul li a {
  color: #ECDBBA;
  transition: all 0.3s ease;
  padding-left: 12px;
  position: relative;
}

.footer-section ul li a::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #C84B31;
}

.footer-section ul li a:hover {
  color: #FFFFFF;
  padding-left: 16px;
}

.footer-bottom {
  border-top: 2px solid rgba(236, 219, 186, 0.3);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: #ECDBBA;
  font-size: 14px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2D4263;
  color: #FFFFFF;
  padding: 24px;
  z-index: 998;
  border-top: 4px solid #C84B31;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  flex: 1 1 400px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-btn {
  padding: 12px 24px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.cookie-btn-accept {
  background: #C84B31;
  color: #FFFFFF;
  border-color: #C84B31;
}

.cookie-btn-accept:hover {
  background: #a03d26;
  border-color: #a03d26;
}

.cookie-btn-reject {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.cookie-btn-reject:hover {
  background: #FFFFFF;
  color: #2D4263;
}

.cookie-btn-settings {
  background: transparent;
  color: #ECDBBA;
  border-color: #ECDBBA;
}

.cookie-btn-settings:hover {
  background: #ECDBBA;
  color: #2D4263;
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-content {
  background: #FFFFFF;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 3px solid #2D4263;
  color: #2D4263;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.cookie-modal-close:hover {
  background: #C84B31;
  border-color: #C84B31;
  color: #FFFFFF;
  transform: rotate(90deg);
}

.cookie-category {
  padding: 20px;
  margin-bottom: 16px;
  border: 3px solid #ECDBBA;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cookie-toggle {
  width: 60px;
  height: 32px;
  background: #ECDBBA;
  border: 3px solid #ECDBBA;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.cookie-toggle.active {
  background: #C84B31;
  border-color: #C84B31;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  transition: transform 0.3s ease;
}

.cookie-toggle.active::after {
  transform: translateX(28px);
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */
@media (max-width: 768px) {
  /* Typography scaling */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide desktop navigation */
  .nav-links {
    display: none;
  }

  /* Header adjustments */
  .main-nav {
    padding: 16px 0;
  }

  .main-nav img {
    height: 40px;
  }

  /* Hero sections */
  .hero,
  .page-hero,
  .error-hero {
    padding: 60px 20px;
  }

  .error-code {
    font-size: 80px;
  }

  /* Grid layouts - stack on mobile */
  .category-card,
  .benefit,
  .benefit-card,
  .recipe-card,
  .region-card,
  .collection-card,
  .plan-card,
  .testimonial-card,
  .link-card,
  .contact-card,
  .promise-item,
  .stat-item,
  .philosophy-item,
  .action-card,
  .step-item,
  .story-card,
  .tip-card,
  .right-card {
    flex: 1 1 100%;
  }

  /* Filter controls stack */
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group,
  .search-input {
    flex: 1 1 100%;
  }

  /* Footer sections stack */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-section {
    flex: 1 1 100%;
  }

  /* Cookie consent */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-text {
    flex: 1 1 100%;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  /* Modal adjustments */
  .cookie-modal-content {
    padding: 24px;
    max-height: 90vh;
  }

  /* Sections padding */
  .section,
  .featured-categories,
  .value-proposition,
  .testimonials,
  .premium-teaser,
  footer {
    padding: 40px 20px;
  }

  /* CTA buttons stack */
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .category-card,
  .benefit-card,
  .recipe-card,
  .region-card,
  .collection-card,
  .testimonial-card {
    flex: 1 1 calc(50% - 24px);
  }

  .plan-card {
    flex: 1 1 calc(50% - 24px);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.mb-32 {
  margin-bottom: 32px;
}

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

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ===== PRINT STYLES ===== */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal {
    display: none !important;
  }

  header {
    position: static;
  }

  body {
    color: #000;
  }
}