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

/* CSS Variables & Theme Setup */
:root {
  /* Premium Palette (Eco-Active Luxury) */
  --color-primary: #1B3224;      /* Rich Pine/Forest Green */
  --color-secondary: #2C4A37;    /* Deep Sage Green */
  --color-accent: #C05621;       /* Terracotta Trail Rust */
  --color-accent-light: #DD6B20; /* Vibrant Terracotta */
  --color-accent-dark: #9C4216;  /* Deep Trail Rust */
  
  /* Neutral Palette */
  --color-bg-light: #FAF9F6;     /* Luxury Soft Ivory */
  --color-bg-cream: #F4F0E8;     /* Warm Wool Sand */
  --color-text-dark: #1C201E;    /* Dark Charcoal Text */
  --color-text-muted: #5C6460;   /* Muted Green-Gray Text */
  --color-white: #ffffff;
  --color-border: rgba(27, 50, 36, 0.12); /* Soft Border */
  --color-success: #2F855A;      /* Emerald Forest Success */
  --color-error: #9B2C2C;        /* Deep Crimson Error */
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Shadows & Depth */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 10px 30px rgba(27, 50, 36, 0.04);
  --shadow-layered: 
    0 1px 2px rgba(0,0,0,0.01), 
    0 2px 4px rgba(0,0,0,0.01), 
    0 4px 8px rgba(0,0,0,0.01), 
    0 8px 16px rgba(0,0,0,0.01), 
    0 16px 32px rgba(0,0,0,0.01);
  --shadow-accent: 0 8px 24px rgba(192, 86, 33, 0.15);
  
  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Glassmorphism */
  --glass-bg: rgba(250, 249, 246, 0.85);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-blur: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Reusable Utility Classes & Structures */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

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

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.luxury-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 1rem auto;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-layered);
  border-radius: 8px;
}

/* Premium Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-slow) ease, visibility var(--transition-slow) ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-container {
  width: 200px;
  text-align: center;
}

.loader-bar {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  position: absolute;
  left: -60%;
  animation: shimmer 1.5s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes shimmer {
  0% { left: -60%; }
  100% { left: 100%; }
}

.loader-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-bg-cream);
  margin-top: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.6;
}

/* Header & Navigation styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth), padding var(--transition-smooth);
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
}

header.sticky-header {
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
}

header.scroll-shadow {
  box-shadow: var(--shadow-subtle);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
}

.logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-left: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hamburger & Drawer styles */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0.5rem;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 34, 17, 0.4);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: var(--color-bg-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  z-index: 1060;
  padding: 6rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
}

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

.mobile-nav-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-dark);
  display: block;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--color-accent);
}

/* Button & CTA styles */
.btn-cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.9rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-accent);
}

.btn-cta:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(192, 86, 33, 0.25);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
  padding: 0.9rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, #E6EFDF 0%, var(--color-bg-light) 60%);
  border-bottom: 1px solid var(--color-border);
}

.hero-content {
  max-width: 580px;
}

.hero-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-layered);
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.hero-img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.03);
}

/* Product Showcase & Gallery */
.product-showcase {
  padding: 6rem 0;
  background-color: var(--color-bg-cream);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.gallery-main-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-layered);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
}

.gallery-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: var(--color-white);
  display: block;
  transition: opacity 0.3s ease, transform var(--transition-slow);
}

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

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xs);
}

.gallery-thumb-btn {
  background: none;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--color-white);
}

.gallery-thumb-btn.active {
  border-color: var(--color-accent);
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-info-col {
  padding-left: 2rem;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.star-rating {
  color: var(--color-accent);
  letter-spacing: 2px;
}

.product-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.product-title {
  margin-bottom: 1rem;
}

/* Tabbed Specifications Component */
.specs-tabs-container {
  margin: 2rem 0;
}

.specs-tabs-headers {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.specs-tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}

.specs-tab-btn:hover {
  color: var(--color-primary);
}

.specs-tab-btn.active {
  color: var(--color-primary);
}

.specs-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

.specs-tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.specs-tab-content.active {
  display: block;
}

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

.specs-grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.specs-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(27, 50, 36, 0.06);
}

.specs-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.specs-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.price-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-subtle);
}

.price-original {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--color-text-muted);
  margin-right: 0.75rem;
}

.price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-serif);
}

.price-tag span {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 2px;
}

/* Editorial & Review Layout */
.editorial-section {
  padding: 7rem 0;
}

.review-card-container {
  max-width: 850px;
  margin: 0 auto;
}

.review-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: var(--space-lg);
  margin-top: 3rem;
}

.review-article {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-dark);
}

.review-article p {
  margin-bottom: 1.5rem;
}

.review-article h3 {
  margin: 2.5rem 0 1rem 0;
  font-size: 1.6rem;
  font-weight: 500;
}

.review-summary-box {
  padding: 2rem;
  border-radius: 8px;
  align-self: start;
}

.score-badge-circle {
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-accent);
}

.score-num {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1;
}

.score-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pro-con-section {
  margin-top: 1.5rem;
}

.pro-con-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.pro-list, .con-list {
  list-style: none;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pro-list li, .con-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.pro-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.con-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--color-error);
  font-weight: 700;
}

/* Feature Spotlight Component */
.feature-spotlight {
  padding: 6rem 0;
  background-color: var(--color-bg-cream);
}

.card-feature {
  padding: 2rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.card-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.feature-icon-wrapper {
  color: var(--color-accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card-title {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Bottom Banner */
.bottom-cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bottom-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(192, 86, 33, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.bottom-cta-title {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.bottom-cta-desc {
  color: rgba(250, 249, 246, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

/* Cookie Consent Popup */
.cookie-popup {
  position: fixed;
  bottom: -300px;
  left: var(--space-md);
  max-width: 420px;
  width: calc(100% - 2 * var(--space-md));
  z-index: 10000;
  padding: 1.8rem;
  transition: bottom var(--transition-slow);
}

.cookie-popup.show {
  bottom: var(--space-md);
}

.cookie-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cookie-content p a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-btn {
  flex: 1;
  padding: 0.7rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.cookie-btn-accept {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.cookie-btn-accept:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
}

.cookie-btn-reject:hover {
  background-color: rgba(27, 50, 36, 0.05);
}

/* Contact Page Form & Styling */
.contact-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-lg);
}

.contact-info-card {
  padding: 2.5rem;
  background-color: var(--color-bg-cream);
  border-radius: 8px;
  align-self: start;
}

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.contact-item p, .contact-item a {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.contact-form-card {
  padding: 2.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(192, 86, 33, 0.15);
}

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

.form-checkbox-label {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 0.2rem;
}

.contact-alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  display: none;
}

.contact-alert-success {
  background-color: #E6FFFA;
  border: 1px solid #B2F5EA;
  color: var(--color-success);
}

.contact-alert-error {
  background-color: #FFF5F5;
  border: 1px solid #FED7D7;
  color: var(--color-error);
}

/* Legal Pages Styling */
.legal-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-dark);
}

.legal-content h1 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1.2rem;
}

.legal-content ul {
  list-style-type: square;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer Section */
footer {
  background-color: var(--color-primary);
  color: var(--color-bg-light);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(250, 249, 246, 0.1);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: 4rem;
}

.footer-col-info .logo {
  color: var(--color-bg-light);
  margin-bottom: 1.5rem;
}

.footer-owner-info {
  margin-bottom: 1.5rem;
  color: rgba(250, 249, 246, 0.7);
  line-height: 1.6;
}

.footer-owner-info strong {
  color: var(--color-bg-light);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-owner-info a {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-owner-info a:hover {
  color: var(--color-accent-light);
}

.footer-col-info p {
  color: rgba(250, 249, 246, 0.6);
  line-height: 1.6;
  max-width: 320px;
}

footer h4 {
  color: var(--color-bg-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

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

.footer-links-list a {
  color: rgba(250, 249, 246, 0.7);
}

.footer-links-list a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 249, 246, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(250, 249, 246, 0.5);
  margin-bottom: 0;
}

.affiliate-disclaimer {
  font-size: 0.75rem;
  font-style: italic;
  max-width: 450px;
  text-align: right;
}

/* Tablet Responsive Optimization (Viewport < 992px) */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.1fr;
    gap: var(--space-md);
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .review-summary-box {
    width: 100%;
  }
}

/* Mobile Responsive Optimization (Viewport < 768px) */
@media (max-width: 767px) {
  :root {
    --space-md: 1.25rem;
    --space-lg: 2.25rem;
    --space-xl: 3.5rem;
  }

  body, html {
    overflow-x: hidden;
  }

  /* Prevent long German words from causing layout breaking */
  h1, h2, h3, h4, h5, h6, p, li, span, a, label {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .product-info-col {
    padding-left: 0;
  }

  /* Header adjustments */
  header {
    padding: 1rem 0;
  }
  
  nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .hero-content div[style*="display: flex"] {
    flex-direction: column;
    width: 100%;
  }

  .hero-content .btn-cta, 
  .hero-content .btn-secondary {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .hero-content .btn-secondary {
    margin-bottom: 0;
  }

  /* Contact wrapper */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Footer adjustments */
  footer {
    padding: var(--space-lg) 0 var(--space-md) 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-col-info p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .affiliate-disclaimer {
    text-align: left;
    max-width: 100%;
  }
}

/* Extra Small Devices Optimization (Viewport < 480px) */
@media (max-width: 480px) {
  .rating-badge {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
    gap: 0.2rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
  }

  .gallery-thumb-btn {
    min-width: 0;
  }

  .specs-grid-list {
    grid-template-columns: 1fr;
  }

  .cookie-popup {
    left: var(--space-xs);
    width: calc(100% - 2 * var(--space-xs));
    bottom: -350px;
    padding: 1.25rem;
  }

  .cookie-popup.show {
    bottom: var(--space-xs);
  }

  .cookie-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

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