/* ========================================
   FORESTA LUXURY WEBSITE - ROLLS-ROYCE INSPIRED
   Premium, minimal, immersive design
   ======================================== */

/* ===== CUSTOM FONTS ===== */
@font-face {
  font-family: 'Matt Complete Family';
  src: local('Matt Complete Family'), local('Matt-Complete-Family'),
       local('Matt'), local('MattComplete');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Matt Variable Roman';
  src: local('Matt Variable Roman'), local('Matt-Variable-Roman'),
       local('Matt Variable'), local('MattVariable');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Luxury Color Palette - White & Green Theme */
  --color-deep-green: #0c4326;
  --color-forest-green: #2d8f5f;
  --color-accent-green: #6B8E23;
  --color-light-green: #e8f5e9;
  --color-soft-green: #4a7c59;
  --color-charcoal: #0c4326;
  --color-charcoal-light: #4a7c59;
  --color-off-white: #faf8f5;
  --color-cream: #f5f2ed;
  --color-wood-accent: #f7f7f7;
  --color-gold-subtle: #ffffff;
  
  /* Typography */
  --font-display: 'Matt Complete Family', 'Inter', sans-serif;
  --font-body: 'Matt Variable Roman', 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-xxl: 8rem;
  
  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  
  /* Layout */
  --max-width: 1400px;
  --section-padding: 10vh 5vw;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-off-white);
  color: var(--color-charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.015em;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.015em;
}

h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 600;
  letter-spacing: 0;
}

p, li, label, input, button, textarea, select {
  font-family: var(--font-body);
  letter-spacing: 0.015em;
  line-height: 1.65;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-forest-green);
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.section-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--spacing-md);
  color: var(--color-charcoal);
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  font-feature-settings: 'lnum' 1;
}

.section-description {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  color: var(--color-charcoal-light);
  line-height: 1.8;
  font-family: var(--font-body);
}

.large-text {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-body);
}

/* ===== LUXURY HEADER & NAVIGATION ===== */
.luxury-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(12, 67, 38, 0.95) 0%, rgba(12, 67, 38, 0.8) 100%);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  padding: 1.5rem 3rem;
}

/* Reading progress bar */
.luxury-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-forest-green), var(--color-accent-green));
  width: 0%;
  transition: width 0.1s ease;
}

.luxury-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Hamburger Menu */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: var(--transition-smooth);
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-off-white);
  transition: var(--transition-smooth);
  transform-origin: center;
}

.hamburger-menu:hover span {
  background: var(--color-gold-subtle);
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  width: 180px;
  height: 60px;
  transition: var(--transition-smooth);
  filter: brightness(0) invert(1);
  margin-right: 0;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-center {
  display: none;
}

/* Cart Button Styles */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-off-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.cart-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-off-white);
  transform: scale(1.05);
}

.cart-button svg {
  transition: transform 0.3s ease;
}

.cart-button:hover svg {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-deep-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: cartBadgePulse 2s ease infinite;
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

@keyframes cartBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.nav-cta .cta-button {
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid var(--color-off-white);
  color: var(--color-off-white);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.nav-cta .cta-button:hover {
  background: var(--color-off-white);
  color: var(--color-deep-green);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-off-white);
  transition: var(--transition-smooth);
}

/* ===== HALF-WIDTH SIDEBAR OVERLAY (Rolls-Royce Style) ===== */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  background: rgba(12, 67, 38, 0);
  transition: background 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.sidebar-overlay.active {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.sidebar-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  max-width: 90vw;
  height: 100vh;
  background: rgba(12, 67, 38, 0.85);
  backdrop-filter: blur(20px);
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), backdrop-filter 0.8s ease;
  display: block;
  padding: 3rem 4rem;
  box-shadow: 4px 0 40px rgba(12, 67, 38, 0.4);
  overflow: hidden;
}

.sidebar-overlay.active .sidebar-content {
  transform: translateX(0);
}

/* Close X Button - Pure CSS */
.sidebar-x-close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: transform 0.5s ease;
  color: #f5f5f5;
}

.sidebar-x-close:hover {
  transform: rotate(90deg);
  color: #c9a962;
}

.sidebar-nav {
  display: block;
  margin-top: 2rem;
}


.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar-links li {
  margin: 2.5rem 0;
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), 
              transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.sidebar-overlay.active .sidebar-links li {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-overlay.active .sidebar-links li:nth-child(1) { transition-delay: 0.3s; }
.sidebar-overlay.active .sidebar-links li:nth-child(2) { transition-delay: 0.45s; }
.sidebar-overlay.active .sidebar-links li:nth-child(3) { transition-delay: 0.6s; }
.sidebar-overlay.active .sidebar-links li:nth-child(4) { transition-delay: 0.75s; }
.sidebar-overlay.active .sidebar-links li:nth-child(5) { transition-delay: 0.9s; }
.sidebar-overlay.active .sidebar-links li:nth-child(6) { transition-delay: 1.05s; }

.sidebar-link {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 300;
  color: var(--color-off-white);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  display: inline-block;
  position: relative;
  padding: 0.5rem 0;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 25px;
  height: 1px;
  background: var(--color-gold-subtle);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: right;
}

.sidebar-link:hover {
  color: var(--color-gold-subtle);
  transform: translateX(15px);
  letter-spacing: 0.18em;
}

.sidebar-link:hover::before {
  transform: translateY(-50%) scaleX(1);
  transform-origin: left;
}

/* ===== DESKTOP NAVIGATION (Hidden when sidebar is used) ===== */

/* ===== HERO SECTION - CINEMATIC ===== */
.hero-luxury {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #1a1a1a;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: transparent;
}

/* Force video to fill on mobile */
@media (max-width: 768px) {
  .hero-luxury {
    height: 100dvh;
    min-height: -webkit-fill-available;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    object-fit: cover;
    object-position: center center;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 67, 38, 0.5) 0%, rgba(26, 26, 26, 0.7) 100%);
  z-index: 2;
}

.hero-content-luxury {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-off-white);
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1.2s ease-out 0.3s forwards;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1.2s ease-out 0.6s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: transparent;
  border: 1.5px solid var(--color-off-white);
  color: var(--color-off-white);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  opacity: 0;
  animation: fadeUp 1.2s ease-out 0.9s forwards;
}

.hero-cta:hover {
  background: var(--color-off-white);
  color: var(--color-deep-green);
  transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-off-white);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 1.5s forwards;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-off-white);
  animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
  0%, 100% {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
  from {
    opacity: 0;
  }
}

/* ===== HERITAGE SECTION ===== */
.heritage-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-padding);
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
  contain: layout style paint;
  content-visibility: auto;
}

.heritage-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.heritage-content {
  padding-right: var(--spacing-lg);
}

.heritage-text p {
  margin-bottom: var(--spacing-md);
  line-height: 1.9;
  color: var(--color-charcoal-light);
}

.stats-luxury {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  perspective: 1000px;
}

.stat-box {
  position: relative;
  height: 240px;
  cursor: default;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
  transform: translateY(-8px);
}

.stat-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.stat-card-front,
.stat-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(12, 67, 38, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-front {
  background: #ffffff;
  border: 2px solid transparent;
  border-left: 5px solid var(--color-deep-green);
  position: relative;
  overflow: hidden;
}

.stat-card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 67, 38, 0.02) 0%, transparent 100%);
  pointer-events: none;
}

.stat-box:hover .stat-card-front {
  border-color: rgba(12, 67, 38, 0.1);
  box-shadow: 0 12px 40px rgba(12, 67, 38, 0.15);
}

.stat-card-back {
  background: linear-gradient(135deg, var(--color-deep-green) 0%, #0c4326 100%);
  color: white;
  transform: rotateY(180deg);
  align-items: center;
  text-align: center;
}

.stat-number-large {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--color-deep-green);
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-block;
  letter-spacing: -0.02em;
}

.stat-label-large {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: iconSpin 4s linear infinite;
}

.stat-card-back p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes numberPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes iconSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.heritage-image {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  margin: -20px 0 0 0;
}

.image-wrapper {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(12, 67, 38, 0.15);
  transition: box-shadow 0.6s ease;
  width: 100%;
  padding: 0;
  margin: 0;
  display: block;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.image-wrapper:hover {
  box-shadow: 0 30px 80px rgba(12, 67, 38, 0.25);
}

.image-wrapper:hover img {
  transform: scale(1.06);
}

/* Parallax container */
.parallax-element {
  will-change: transform;
  transition: transform 0.3s ease-out;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding);
  background: var(--color-deep-green);
  color: var(--color-off-white);
}

.philosophy-container {
  max-width: 900px;
  text-align: center;
}

.philosophy-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.philosophy-quote cite {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ===== PRODUCTS SHOWCASE SECTION ===== */
.products-showcase-section {
  min-height: 100vh;
  padding: var(--section-padding);
  background: var(--color-off-white);
  position: relative;
}

/* Product Tabs */
.products-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.product-tab {
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--color-deep-green);
  color: var(--color-deep-green);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-tab:hover,
.product-tab.active {
  background: var(--color-deep-green);
  color: var(--color-off-white);
}

/* Products Category */
.products-category {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.products-category.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.category-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.category-header h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-deep-green);
  margin-bottom: 0.5rem;
}

.category-header p {
  color: var(--color-charcoal-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(12, 67, 38, 0.08);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
              box-shadow 0.5s ease;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(12, 67, 38, 0.15);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(12, 67, 38, 0.1);
}

.product-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}

.product-code {
  font-size: 0.8rem;
  color: var(--color-charcoal-light);
  letter-spacing: 0.05em;
}

/* View All Button */
.view-all-btn {
  display: block;
  width: fit-content;
  margin: 3rem auto 0;
  padding: 1rem 3rem;
  background: var(--color-deep-green);
  color: var(--color-off-white);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.view-all-btn:hover {
  background: var(--color-forest-green);
  transform: translateY(-2px);
}

/* Products Grid Container */
.products-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Products */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .products-tabs {
    gap: 0.5rem;
  }
  
  .product-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .category-header h3 {
    font-size: 1.5rem;
  }
}

/* ===== CRAFTSMANSHIP SECTION ===== */
.craftsmanship-section {
  min-height: 100vh;
  padding: var(--section-padding);
  background: var(--color-off-white);
  position: relative;
  overflow: hidden;
  contain: layout style paint;
  content-visibility: auto;
}

.craftsmanship-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-deep-green), transparent);
  opacity: 0.2;
}

.section-intro {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro .section-heading {
  text-align: center;
  display: block;
  width: 100%;
}

.craftsmanship-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.craft-card {
  padding: var(--spacing-lg);
  background: var(--color-cream);
  border: 1px solid rgba(12, 67, 38, 0.1);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.craft-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(12, 67, 38, 0.03), transparent);
  transition: left 0.8s ease;
}

.craft-card:hover::before {
  left: 100%;
}

.craft-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 70px rgba(12, 67, 38, 0.12);
  border-color: var(--color-deep-green);
  background: var(--color-off-white);
}

.craft-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-deep-green);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.craft-card:hover .craft-icon {
  transform: scale(1.15) rotateY(360deg);
  color: var(--color-forest-green);
}

.craft-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-charcoal);
}

.craft-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-charcoal-light);
}

/* ===== COLLECTIONS SECTION ===== */
.collections-section {
  min-height: 100vh;
  padding: var(--section-padding);
  background: var(--color-charcoal);
  color: var(--color-off-white);
}

.collections-section .section-label {
  color: var(--color-gold-subtle);
}

.collections-section .section-heading,
.collections-section .section-description {
  color: var(--color-off-white);
}

.collections-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.collection-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.collection-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  filter: brightness(0.9);
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 67, 38, 0.2) 0%, rgba(12, 67, 38, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overlay-content {
  transform: translateY(20px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.collection-card:hover .collection-overlay {
  opacity: 1;
}

.collection-card:hover .overlay-content {
  transform: translateY(0);
}

.collection-card:hover .collection-image img {
  transform: scale(1.1);
  filter: brightness(1);
}

.overlay-content h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-off-white);
}

.overlay-content p {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-off-white);
  opacity: 0.9;
}

.explore-btn {
  padding: 0.875rem 2rem;
  background: transparent;
  border: 1px solid var(--color-off-white);
  color: var(--color-off-white);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.explore-btn:hover {
  background: var(--color-off-white);
  color: var(--color-deep-green);
}

/* ===== APPLICATIONS SECTION ===== */
.applications-section {
  min-height: 100vh;
  padding: var(--section-padding);
  background: var(--color-cream);
}

.applications-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

.app-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-charcoal);
}

.app-image {
  width: 100%;
  height: 70%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.app-card:hover .app-image {
  transform: scale(1.05);
}

.app-content {
  padding: var(--spacing-md);
  background: var(--color-charcoal);
  color: var(--color-off-white);
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-off-white);
}

.app-content p {
  font-size: 0.95rem;
  color: var(--color-gold-subtle);
}

/* ===== TRUST SECTION ===== */
.trust-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--section-padding);
  background: var(--color-off-white);
}

.trust-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: var(--spacing-md);
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-deep-green) 0%, #0c4326 100%);
  color: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(12, 67, 38, 0.3);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: checkPulse 3s ease-in-out infinite;
}

.trust-icon::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-deep-green), #4ade80);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.trust-item:hover .trust-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 8px 25px rgba(12, 67, 38, 0.5);
}

.trust-item:hover .trust-icon::before {
  opacity: 1;
}

@keyframes checkPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(12, 67, 38, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(12, 67, 38, 0.5), 0 0 0 8px rgba(12, 67, 38, 0.1);
  }
}

.trust-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.trust-item p {
  font-size: 1rem;
  color: var(--color-charcoal-light);
}

/* ===== CONTACT SECTION ===== */
.contact-luxury-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-padding);
  background: linear-gradient(135deg, #ffffff 0%, #f5f9f7 100%);
  color: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

.contact-luxury-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(circle, rgba(26, 69, 46, 0.04), transparent 60%);
  pointer-events: none;
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-xl) * 2);
  width: 100%;
  position: relative;
  z-index: 1;
}

.contact-info-side .section-label {
  color: var(--color-forest-green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.contact-info-side .section-heading {
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.contact-subtitle {
  color: #5a6c57;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

.contact-details-grid {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: calc(var(--spacing-xl) * 1.5);
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  background: #ffffff;
  padding: var(--spacing-lg);
  border-radius: 16px;
  border: 2px solid rgba(26, 69, 46, 0.15);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(26, 69, 46, 0.08);
}

.contact-detail-card:hover {
  background: #ffffff;
  border-color: var(--color-forest-green);
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(26, 69, 46, 0.15);
}

.contact-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 69, 46, 0.08), rgba(26, 69, 46, 0.05));
  border-radius: 12px;
  flex-shrink: 0;
  border: 2px solid rgba(26, 69, 46, 0.2);
  transition: var(--transition-smooth);
}

.contact-detail-card:hover .contact-icon-wrapper {
  background: var(--color-forest-green);
  border-color: var(--color-forest-green);
}

.contact-icon-wrapper svg {
  color: var(--color-forest-green);
  transition: var(--transition-smooth);
}

.contact-detail-card:hover .contact-icon-wrapper svg {
  color: white;
}

.contact-detail-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.contact-detail-content p {
  font-size: 0.95rem;
  color: #5a6c57;
  line-height: 1.6;
  margin: 0;
}

.contact-link {
  color: var(--color-forest-green);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--color-deep-green);
  transform: translateX(3px);
}

.map-container {
  margin-top: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(26, 69, 46, 0.15);
  border: 3px solid var(--color-forest-green);
  transition: var(--transition-smooth);
  position: relative;
}

.map-container::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--color-forest-green), var(--color-deep-green), var(--color-forest-green));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.map-container:hover::before {
  opacity: 1;
}

.map-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26, 69, 46, 0.25);
  border-color: transparent;
}

.map-container iframe {
  display: block;
  width: 100%;
  border-radius: 17px;
}

/* Luxury Form */
.luxury-form-wrapper {
  position: sticky;
  top: 100px;
}

.luxury-form {
  background: #ffffff;
  padding: calc(var(--spacing-lg) * 1.5);
  border-radius: 20px;
  box-shadow: 0 15px 60px rgba(26, 69, 46, 0.12);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(26, 69, 46, 0.15);
}

.luxury-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-forest-green), var(--color-deep-green), var(--color-forest-green));
}

.form-group {
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--color-deep-green);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #f8faf9;
  border: 2px solid #e5ebe7;
  border-radius: 10px;
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca9a0;
  font-size: 0.95rem;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(26, 69, 46, 0.3);
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-forest-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 69, 46, 0.08);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%231a452e' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
  line-height: 1.6;
}

.submit-luxury-btn {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--color-forest-green), var(--color-deep-green));
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.submit-luxury-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.submit-luxury-btn svg {
  transition: transform 0.4s ease;
}

.submit-luxury-btn:hover {
  background: linear-gradient(135deg, var(--color-deep-green), #0a3a20);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(26, 69, 46, 0.3);
}

.submit-luxury-btn:hover::before {
  left: 100%;
}

.submit-luxury-btn:hover svg {
  transform: translateX(5px);
}

.submit-luxury-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(26, 69, 46, 0.25);
}

/* Submit button animation states */
.submit-luxury-btn .btn-spinner {
  animation: btn-spin 1s linear infinite;
}

.submit-luxury-btn .btn-checkmark polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: btn-check-draw 0.5s ease forwards 0.15s;
}

@keyframes btn-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes btn-check-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes btn-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-1px); }
}

.submit-luxury-btn:disabled {
  cursor: not-allowed;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 0 var(--spacing-lg) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  position: relative;
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 3000px;
}

.products-container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.products-header {
  text-align: center;
  margin-bottom: 0;
  padding: 0 var(--spacing-md) 0;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.products-header .section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-forest-green);
  margin-bottom: 0.5rem;
  position: relative;
}

.products-header .section-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: #0c4326;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
  text-align: center;
  display: block;
  width: 100%;
}

.products-header .section-description {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 0.5rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ===== MDF INFO SECTION ===== */
.mdf-info-container {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(12, 67, 38, 0.03), rgba(45, 143, 95, 0.05));
  border-radius: 20px;
  border: 1px solid rgba(12, 67, 38, 0.1);
}

.mdf-info-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.mdf-info-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-deep-green), var(--color-forest-green));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mdf-info-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
}

.mdf-info-text h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-deep-green);
  margin: 0 0 0.75rem;
}

.mdf-info-text p {
  font-size: 1.0625rem;
  color: var(--color-charcoal-light);
  line-height: 1.7;
  margin: 0;
}

/* ===== SIZES SECTION ===== */
.sizes-container {
  margin-top: 0;
  padding: 0;
  text-align: center;
}

.sizes-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-deep-green);
  margin-bottom: var(--spacing-md);
}

.sizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.size-card {
  background: white;
  border: 2px solid rgba(12, 67, 38, 0.1);
  border-left: 5px solid rgba(12, 67, 38, 0.15);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.size-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(45, 143, 95, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.size-card:hover {
  border-left-color: var(--color-forest-green);
  border-color: rgba(45, 143, 95, 0.25);
  border-left-color: var(--color-forest-green);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(12, 67, 38, 0.14);
}

.size-card--featured {
  border-left-color: var(--color-forest-green);
  border-color: rgba(45, 143, 95, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, rgba(45, 143, 95, 0.04) 100%);
  box-shadow: 0 8px 30px rgba(12, 67, 38, 0.1);
}

.size-card-top {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
}

.size-icon {
  width: 40px;
  height: 40px;
  color: var(--color-forest-green);
  flex-shrink: 0;
  opacity: 0.8;
}

.size-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-deep-green);
  letter-spacing: 0.01em;
}

.size-dimensions {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-deep-green);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.size-dimensions .size-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-charcoal-light);
  margin-left: 0.15em;
}

.size-specs-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  background: rgba(12, 67, 38, 0.04);
  border-radius: 10px;
  padding: 0.875rem 0;
  margin-top: auto;
}

.size-spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.spec-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-deep-green);
}

.spec-key {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal-light);
}

.size-spec-divider {
  width: 1px;
  height: 32px;
  background: rgba(12, 67, 38, 0.12);
}

/* ===== CATALOG HEADER ===== */
.catalog-header {
  margin-top: var(--spacing-xl);
  text-align: center;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(12, 67, 38, 0.1);
}

.catalog-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-deep-green);
  margin: 0 0 0.5rem;
}

.catalog-subtitle {
  font-size: 1.0625rem;
  color: var(--color-charcoal-light);
  margin: 0;
}

/* ===== STEP 1: CATEGORY SELECTION (Kitchens, Bedrooms, Wardrobes) ===== */
.category-selection-container {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-deep-green) !important;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-subtitle {
  font-size: 1rem;
  color: #64748b !important;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-select-card {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid rgba(26, 69, 46, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.category-select-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(12, 67, 38, 0.02) 0%, 
    rgba(45, 143, 95, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-select-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-forest-green);
  box-shadow: 0 20px 60px rgba(26, 69, 46, 0.15);
}

.category-select-card:hover::before {
  opacity: 1;
}

.category-select-card.selected {
  border-color: var(--color-forest-green);
  background: linear-gradient(135deg, 
    rgba(12, 67, 38, 0.03) 0%, 
    rgba(45, 143, 95, 0.06) 100%);
  box-shadow: 0 15px 50px rgba(26, 69, 46, 0.2);
}

.category-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f7f4 0%, #e6f2ed 100%);
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.category-card-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-forest-green);
  transition: all 0.4s ease;
}

.category-select-card:hover .category-card-icon {
  background: linear-gradient(135deg, var(--color-forest-green), var(--color-deep-green));
  transform: scale(1.1);
}

.category-select-card:hover .category-card-icon svg {
  color: white;
}

.category-select-card.selected .category-card-icon {
  background: linear-gradient(135deg, var(--color-forest-green), var(--color-deep-green));
}

.category-select-card.selected .category-card-icon svg {
  color: white;
}

.category-card-content {
  position: relative;
  z-index: 1;
}

.category-card-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.category-select-card:hover .category-card-content h4,
.category-select-card.selected .category-card-content h4 {
  color: var(--color-deep-green);
}

.category-card-content p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 67, 38, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.category-card-overlay span {
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-card-overlay svg {
  width: 20px;
  height: 20px;
  color: white;
  transition: transform 0.3s ease;
}

.category-select-card:hover .category-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.category-select-card:hover .category-card-overlay svg {
  transform: translateX(5px);
}

/* Step Header with Back Button */
.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(26, 69, 46, 0.1);
}

.back-to-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(26, 69, 46, 0.05);
  border: 1px solid rgba(26, 69, 46, 0.15);
  border-radius: 8px;
  color: var(--color-forest-green);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-step:hover {
  background: rgba(26, 69, 46, 0.1);
  border-color: var(--color-forest-green);
}

.back-to-step svg {
  transition: transform 0.3s ease;
}

.back-to-step:hover svg {
  transform: translateX(-3px);
}

.selected-category-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--color-forest-green), var(--color-deep-green));
  border-radius: 20px;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Category Selection Responsive */
@media (max-width: 1024px) {
  .category-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .category-select-card {
    min-height: 240px;
    padding: 2rem 1.5rem;
  }
  
  .category-card-icon {
    width: 70px;
    height: 70px;
  }
  
  .category-card-icon svg {
    width: 35px;
    height: 35px;
  }
  
  .category-card-content h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  /* MDF Info Responsive */
  .mdf-info-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  
  .mdf-info-icon {
    width: 64px;
    height: 64px;
  }
  
  .mdf-info-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .mdf-info-text h3 {
    font-size: 1.375rem;
  }
  
  .mdf-info-text p {
    font-size: 1rem;
  }
  
  /* Sizes Responsive */
  .sizes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sizes-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 480px;
  }

  .size-card {
    padding: 1.75rem 1.5rem;
    align-items: flex-start;
  }
  
  .size-dimensions {
    font-size: 1.375rem;
  }

  .size-card--featured::after {
    display: none;
  }
  
  /* Catalog Header Responsive */
  .catalog-title {
    font-size: 1.5rem;
  }
  
  .catalog-subtitle {
    font-size: 1rem;
  }
  
  .category-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .category-select-card {
    min-height: auto;
    padding: 1.5rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.25rem;
    text-align: left;
  }
  
  .category-card-icon {
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
  }
  
  .category-card-icon svg {
    width: 30px;
    height: 30px;
  }
  
  .category-card-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
  }
  
  .category-card-content p {
    font-size: 0.875rem;
  }
  
  .category-card-overlay {
    display: none;
  }
  
  .step-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .back-to-step {
    justify-content: center;
  }
  
  .selected-category-badge {
    justify-content: center;
  }
  
  .step-title {
    font-size: 1.25rem;
  }
  
  .step-subtitle {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .category-select-card {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .category-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .category-card-icon svg {
    width: 26px;
    height: 26px;
  }
  
  .category-card-content h4 {
    font-size: 1rem;
  }
  
  .category-card-content p {
    font-size: 0.8125rem;
  }
}

/* Product Filter Tabs */
.product-filter-container {
  margin-top: var(--spacing-sm);
}

.filter-tabs-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.filter-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 1rem;
  background: white;
  border: 1.5px solid rgba(26, 69, 46, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  min-height: 85px;
}

.filter-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-forest-green), var(--color-deep-green));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.filter-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(12, 67, 38, 0.02) 0%, 
    rgba(27, 84, 52, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.filter-tab:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 69, 46, 0.12);
  border-color: rgba(26, 69, 46, 0.25);
}

.filter-tab:hover::after {
  opacity: 1;
}

.filter-tab.active {
  background: linear-gradient(135deg, 
    rgba(12, 67, 38, 0.06) 0%, 
    rgba(27, 84, 52, 0.08) 100%);
  border-color: var(--color-forest-green);
  box-shadow: 0 8px 32px rgba(26, 69, 46, 0.15);
  transform: translateY(-2px);
}

.filter-tab.active::before {
  opacity: 1;
}

.filter-tab-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f7f4 0%, #e6f2ed 100%);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.filter-tab-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-forest-green);
  transition: all 0.3s ease;
}

.filter-tab.active .filter-tab-icon {
  background: linear-gradient(135deg, var(--color-forest-green), var(--color-deep-green));
  transform: scale(1.05);
}

.filter-tab.active .filter-tab-icon svg {
  color: white;
}

.filter-tab:hover .filter-tab-icon {
  transform: scale(1.05);
}

.filter-tab-content {
  flex: 1;
  text-align: left;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.filter-tab-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 0.2rem 0;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.filter-tab.active .filter-tab-content h3 {
  color: var(--color-deep-green);
}

.filter-tab-content p {
  font-size: 0.8125rem;
  color: var(--color-charcoal-light);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.filter-tab.active .filter-tab-content p {
  color: var(--color-forest-green);
}

.filter-tab-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem;
  background: rgba(26, 69, 46, 0.07);
  color: var(--color-forest-green);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1.5px solid rgba(26, 69, 46, 0.15);
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  min-width: 36px;
}

.filter-tab.active .filter-tab-count {
  background: var(--color-forest-green);
  color: white;
  border-color: var(--color-forest-green);
  transform: none;
}

.filter-tab:hover .filter-tab-count {
  background: rgba(26, 69, 46, 0.12);
  border-color: rgba(26, 69, 46, 0.3);
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .filter-tabs-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
}

@media (max-width: 768px) {
  .products-header {
    padding: 0 var(--spacing-sm) 0.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .products-header .section-heading {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
  }

  .products-header .section-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .product-filter-container {
    margin-top: var(--spacing-sm);
  }

  .filter-tabs-wrapper {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .filter-tab {
    min-height: 80px;
    padding: 1rem;
    gap: 0.75rem;
    border-radius: 10px;
  }
  
  .filter-tab-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  
  .filter-tab-icon svg {
    width: 19px;
    height: 19px;
  }
  
  .filter-tab-content h3 {
    font-size: 0.9375rem;
  }
  
  .filter-tab-content p {
    font-size: 0.8125rem;
    line-height: 1.3;
  }

  .filter-tab-count {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .color-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 69, 46, 0.1);
    background: white;
    padding: 0;
    margin: 0;
  }

  .color-item-image-wrapper {
    height: 450px;
    margin: 0;
    padding: 0;
    line-height: 0;
    display: block;
    border: none;
  }

  .color-item img {
    border-radius: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
  }

  .color-code {
    font-size: 0.75rem;
    padding: 0.5rem 1rem 0;
    background: white;
    font-weight: 600;
    margin: 0;
    color: var(--color-forest-green, #2d8f5f);
    display: block;
    line-height: 1.2;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    z-index: 2;
  }

  .color-name {
    font-size: 0.8125rem;
    padding: 0.25rem 1rem 0.875rem;
    background: white;
    font-weight: 600;
    margin: 0;
    color: var(--color-charcoal, #0c4326);
    display: block;
    line-height: 1.3;
    border: none;
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 480px) {
  .filter-tabs-wrapper {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
  
  .filter-tab {
    min-height: 70px;
    padding: 0.875rem 0.75rem;
  }
  
  .filter-tab-content h3 {
    font-size: 0.875rem;
  }
  
  .filter-tab-content p {
    font-size: 0.6875rem;
  }
}

/* Product Gallery Section */
.product-gallery {
  margin-top: calc(var(--spacing-xl) * 2);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-gallery.active {
  opacity: 1;
}

.gallery-header {
  text-align: center;
  margin-bottom: calc(var(--spacing-xl) * 1.5);
  padding-bottom: var(--spacing-lg);
  border-bottom: 2px solid rgba(26, 69, 46, 0.08);
  position: relative;
}

.gallery-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--color-forest-green);
}

.back-to-categories {
  display: none;
}

.gallery-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin: 0;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--color-deep-green), var(--color-forest-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.color-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(26, 69, 46, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(26, 69, 46, 0.08);
  display: none;
  cursor: pointer;
  position: relative;
  contain: layout style paint;
  content-visibility: auto;
}

.color-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(12, 67, 38, 0.05) 0%, 
    rgba(27, 84, 52, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.color-item:hover::after {
  opacity: 1;
}

.color-item.show {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.color-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(26, 69, 46, 0.2);
  border-color: var(--color-forest-green);
  z-index: 10;
  will-change: transform, box-shadow;
}

/* Desktop: Show kitchen preview on hover with fade effect */
@media (min-width: 1025px) {
  .color-item:hover .kitchen-preview {
    opacity: 1;
  }
  
  .color-item-image-wrapper {
    cursor: pointer;
    touch-action: pan-x;
  }
}

.color-item-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  background: linear-gradient(135deg, #f5f2ed 0%, #e8e8e8 100%);
}

.color-item-image-wrapper picture {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.color-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* Loading state for images */
.color-item img:not([src]),
.color-item img[src=\"\"] {
  opacity: 0;
}

.color-item .color-swatch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.color-item .kitchen-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Mobile: Use transform instead of clip-path for better performance */
@media (max-width: 1024px) {
  .color-item-image-wrapper {
    overflow: hidden;
    cursor: ew-resize;
    -webkit-overflow-scrolling: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .color-item-image-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  
  .color-item .kitchen-preview {
    opacity: 1;
    transform: translateX(-50%);
    transition: transform 0.05s ease-out;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .color-item {
    -webkit-overflow-scrolling: auto;
    overflow: hidden;
  }
}

/* Comparison slider handle - Mobile only */
@media (max-width: 1024px) {
  .comparison-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 3;
    transform: translateX(-50%) translateZ(0);
    pointer-events: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), 0 0 12px rgba(0, 0, 0, 0.1);
    will-change: left;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .comparison-slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: none;
    box-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.4),
      inset 0 1px 2px rgba(255, 255, 255, 1);
    pointer-events: auto;
    touch-action: none;
    cursor: ew-resize;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .comparison-slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a3c2a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a3c2a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    background-size: 8px 16px, 8px 16px;
    background-position: left center, right center;
    background-repeat: no-repeat;
  }
}

/* Product info overlay - REMOVED */

.color-code {
  padding: 0.5rem var(--spacing-md) 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-forest-green, #2d8f5f);
  margin: 0;
  background: white;
  display: block;
  line-height: 1.2;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.color-name {
  padding: 0.25rem var(--spacing-md) 0.875rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal, #0c4326);
  margin: 0;
  background: white;
  display: block;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

/* Add to Cart Button - Product Cards */
.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, var(--color-deep-green), var(--color-forest-green));
  border: none;
  color: white;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.color-item:hover .add-to-cart-btn,
.color-item.show .add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .add-to-cart-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    display: flex !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 99 !important;
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 0 16px 16px !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  }

  .color-item {
    overflow: visible !important;
  }

  .color-item-image-wrapper {
    overflow: hidden !important;
  }
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--color-forest-green), #3da875);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(12, 67, 38, 0.3);
}

.add-to-cart-btn svg {
  transition: transform 0.3s ease;
}

.add-to-cart-btn:hover svg {
  transform: scale(1.1);
}

/* Cart Add Notification */
.cart-add-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--color-deep-green), var(--color-forest-green));
  color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(12, 67, 38, 0.35);
  z-index: 10001;
  animation: slideInNotification 0.4s ease;
}

.cart-add-notification svg {
  flex-shrink: 0;
  color: #4ade80;
}

.cart-add-notification span {
  font-size: 0.9375rem;
  font-weight: 500;
}

.cart-add-notification a {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.5rem;
  transition: opacity 0.2s;
}

.cart-add-notification a:hover {
  opacity: 0.85;
}

.cart-add-notification.fade-out {
  animation: slideOutNotification 0.4s ease forwards;
}

@keyframes slideInNotification {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutNotification {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Product Detail Modal */
.product-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-detail-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 67, 38, 0.85);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  background: #fafbfa;
  border-radius: 20px;
  max-width: 1300px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  animation: modalSlide 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10001;
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  color: var(--color-charcoal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: var(--color-forest-green);
  color: white;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(26, 69, 46, 0.3);
}

.modal-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-image-section {
  background: linear-gradient(135deg, #f5f7f6 0%, #ffffff 100%);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-image-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(26, 69, 46, 0.03), transparent 60%);
  pointer-events: none;
}

.modal-image-container {
  width: 100%;
  max-width: 480px;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(26, 69, 46, 0.12);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(26, 69, 46, 0.08);
}

.modal-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.modal-image-container:hover img {
  transform: scale(1.02);
}

.modal-details-section {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: white;
  overflow-y: auto;
}

.product-breadcrumb {
  font-size: 0.875rem;
  color: #7a8a7d;
  letter-spacing: 0.02em;
  margin-bottom: -0.5rem;
  font-weight: 400;
}

.product-breadcrumb::before {
  content: '←';
  margin-right: 0.5rem;
  opacity: 0.5;
}

.product-detail-title {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  border-bottom: 2px solid #e8f0ea;
  padding-bottom: 1.25rem;
}

.technical-info-section {
  background: linear-gradient(135deg, #f8faf9 0%, #f0f5f2 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 69, 46, 0.12);
  box-shadow: 0 2px 8px rgba(26, 69, 46, 0.04);
}

.info-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-forest-green);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.tech-specs-table tr {
  border-bottom: 1px solid rgba(26, 69, 46, 0.08);
  transition: background 0.2s ease;
}

.tech-specs-table tr:hover {
  background: rgba(26, 69, 46, 0.02);
}

.tech-specs-table tr:last-child {
  border-bottom: none;
}

.tech-specs-table td {
  padding: 1.125rem 1.25rem;
}

.spec-label {
  font-weight: 600;
  color: var(--color-charcoal);
  width: 45%;
  font-size: 0.95rem;
}

.spec-value {
  color: #6b7c6e;
  font-style: italic;
  font-size: 0.95rem;
  text-align: right;
}

.thickness-note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #6b7c6e;
  margin: 0;
  padding: 1rem 1.25rem;
  background: rgba(26, 69, 46, 0.04);
  border-radius: 10px;
  line-height: 1.6;
}

.thickness-note svg {
  color: var(--color-forest-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.request-quotation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.125rem;
  background: linear-gradient(135deg, var(--color-forest-green) 0%, var(--color-deep-green) 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(26, 69, 46, 0.25);
  position: relative;
  overflow: hidden;
}

.request-quotation-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.request-quotation-btn:hover::before {
  left: 100%;
}

.request-quotation-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 69, 46, 0.35);
}

.request-quotation-btn:active {
  transform: translateY(-1px);
}

.consultation-card {
  background: linear-gradient(135deg, #e8f4ed 0%, #f0f7f3 100%);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  border: 2px solid rgba(26, 69, 46, 0.12);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 69, 46, 0.08);
}

.consultation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 69, 46, 0.06), transparent 70%);
  border-radius: 50%;
}

.consultation-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.consultation-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 0.625rem 0;
  line-height: 1.4;
}

.consultation-greeting {
  font-size: 0.9rem;
  color: var(--color-forest-green);
  margin: 0 0 1.25rem 0;
  font-weight: 500;
}

.consultation-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: var(--color-forest-green);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(26, 69, 46, 0.2);
}

.consultation-btn:hover {
  background: var(--color-deep-green);
  transform: translateX(5px);
  box-shadow: 0 6px 18px rgba(26, 69, 46, 0.3);
}

.consultation-btn svg {
  transition: transform 0.3s ease;
}

.consultation-btn:hover svg {
  transform: translateX(3px);
}

.consultation-image {
  width: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.consultation-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(26, 69, 46, 0.15));
}

/* ===== CATALOG SECTION ===== */
.catalog-section {
  min-height: 100vh;
  padding: var(--section-padding);
  background: var(--color-cream);
}

.catalog-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.catalog-card-luxury {
  padding: var(--spacing-lg);
  background: var(--color-off-white);
  border: 1px solid rgba(12, 67, 38, 0.1);
  text-align: center;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.catalog-card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, rgba(12, 67, 38, 0.02), transparent);
  transition: height 0.6s ease;
}

.catalog-card-luxury:hover::before {
  height: 100%;
}

.catalog-card-luxury:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 70px rgba(12, 67, 38, 0.12);
  border-color: var(--color-deep-green);
}

.catalog-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-deep-green);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.catalog-card-luxury:hover .catalog-icon {
  transform: scale(1.15) translateY(-5px);
  color: var(--color-forest-green);
}

.catalog-card-luxury h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-charcoal);
}

.catalog-card-luxury p {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-charcoal-light);
}

.download-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: transparent;
  border: 1px solid var(--color-deep-green);
  color: var(--color-deep-green);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.download-btn:hover {
  background: var(--color-deep-green);
  color: var(--color-off-white);
}

/* ===== FOOTER ===== */
.luxury-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  color: var(--color-charcoal);
  position: relative;
  border-top: 4px solid var(--color-forest-green);
  z-index: 1;
}

.footer-top {
  background: #ffffff;
  padding: calc(var(--spacing-xl) * 2.5) 0;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--spacing-xl) * 2);
}

.footer-brand-section {
  text-align: center;
  padding-bottom: calc(var(--spacing-xl) * 1.5);
  border-bottom: 2px solid rgba(26, 69, 46, 0.1);
}

.footer-logo {
  margin-bottom: var(--spacing-md);
}

.footer-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(26, 69, 46, 0.15));
  transition: var(--transition-smooth);
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(26, 69, 46, 0.25));
}

.footer-brand-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-forest-green);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-serif);
}

.footer-tagline {
  font-size: 1.05rem;
  color: #5a6c57;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer-certifications {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(26, 69, 46, 0.08), rgba(26, 69, 46, 0.12));
  color: var(--color-forest-green);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid rgba(26, 69, 46, 0.2);
  transition: var(--transition-smooth);
}

.cert-badge:hover {
  background: var(--color-forest-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 69, 46, 0.2);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--spacing-xl) * 1.5);
  padding-top: var(--spacing-xl);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-forest-green);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-forest-green);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-list li a {
  color: #4a5a47;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 0;
}

.footer-list li a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  color: var(--color-forest-green);
  transition: var(--transition-smooth);
}

.footer-list li a:hover {
  color: var(--color-forest-green);
  padding-left: 20px;
  font-weight: 500;
}

.footer-list li a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.contact-item svg {
  color: var(--color-forest-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  color: var(--color-forest-green);
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-item p {
  color: #5a6c57;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.contact-item a {
  color: #4a5a47;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-item a:hover {
  color: var(--color-forest-green);
  font-weight: 500;
}

.footer-newsletter {
  background: linear-gradient(135deg, rgba(26, 69, 46, 0.05), rgba(26, 69, 46, 0.08));
  padding: var(--spacing-lg);
  border-radius: 16px;
  border: 2px solid rgba(26, 69, 46, 0.15);
}

.newsletter-desc {
  color: #5a6c57;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: var(--spacing-lg);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: white;
  border: 2px solid rgba(26, 69, 46, 0.2);
  border-radius: 10px;
  color: var(--color-charcoal);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.newsletter-form input::placeholder {
  color: rgba(90, 108, 87, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-forest-green);
  box-shadow: 0 0 0 3px rgba(26, 69, 46, 0.1);
}

.newsletter-form button {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--color-forest-green), #1f5d39);
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #1f5d39, var(--color-forest-green));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 69, 46, 0.3);
}

.footer-social h5 {
  font-size: 0.95rem;
  color: var(--color-forest-green);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.social-links-luxury {
  display: flex;
  gap: var(--spacing-sm);
}

.social-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid rgba(26, 69, 46, 0.2);
  border-radius: 50%;
  color: var(--color-forest-green);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--color-forest-green);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(26, 69, 46, 0.25);
  border-color: var(--color-forest-green);
}

.footer-bottom {
  background: linear-gradient(180deg, rgba(26, 69, 46, 0.95), rgba(26, 69, 46, 1));
  padding: var(--spacing-lg) 0;
}

.footer-bottom-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-legal-links .divider {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Ultra-wide screens */
@media (min-width: 1920px) {
  .products-container,
  .heritage-container,
  .footer-container {
    max-width: 1600px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .filter-tabs-wrapper {
    max-width: 1600px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 8vh 4vw;
  }

  .luxury-header {
    padding: 1.25rem 2rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .heritage-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .product-category-image {
    height: 300px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 6vh 5vw;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  /* Enhanced mobile typography */
  html {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    line-height: 1.3;
  }

  h3 {
    font-size: clamp(1.25rem, 5vw, 2rem);
    line-height: 1.35;
  }

  p, li, label, button {
    font-size: clamp(0.9375rem, 4vw, 1rem);
    line-height: 1.7;
    letter-spacing: 0.02em;
  }

  /* Mobile header improvements */
  .luxury-header {
    padding: 2rem 1.5rem;
    backdrop-filter: blur(20px);
  }

  .luxury-nav {
    position: relative;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    width: 150px;
    height: auto;
  }

  .nav-cta {
    display: flex;
    gap: 0.5rem;
  }

  .nav-cta .cta-button {
    display: none;
  }

  /* Enhanced mobile sidebar */
  .sidebar-content {
    width: 100%;
    max-width: 100vw;
    padding: 3rem 2.5rem;
  }

  .sidebar-link {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
  }

  .sidebar-links li {
    margin: 2rem 0;
  }

  /* Mobile hero optimizations */
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  /* Enhanced mobile video handling */
  .hero-luxury {
    height: 100vh;
    height: 100svh;
    width: 100%;
    overflow: hidden;
  }

  .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Mobile section improvements */
  .section-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .stats-luxury {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .stat-box {
    height: 200px;
  }

  /* Enhanced product section mobile */
  .products-section {
    padding: calc(var(--spacing-xl) * 2) var(--spacing-md);
  }

  /* Mobile gallery improvements */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .color-item {
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(26, 69, 46, 0.1);
    background: white;
    padding: 0;
    margin: 0;
  }

  .color-item-image-wrapper {
    height: 450px;
    margin: 0;
    padding: 0;
    line-height: 0;
    display: block;
    border: none;
  }

  .color-item img {
    border-radius: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
  }

  .color-code {
    font-size: 0.75rem;
    padding: 0.5rem 1rem 0;
    background: white;
    font-weight: 600;
    margin: 0;
    color: var(--color-forest-green, #2d8f5f);
    display: block;
    line-height: 1.2;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    z-index: 2;
  }

  .color-name {
    font-size: 0.8125rem;
    padding: 0.25rem 1rem 0.875rem;
    background: white;
    font-weight: 600;
    margin: 0;
    color: var(--color-charcoal, #0c4326);
    display: block;
    line-height: 1.3;
    border: none;
    position: relative;
    z-index: 2;
  }

  /* Mobile comparison slider optimizations */
  .comparison-slider-handle::before {
    width: 42px;
    height: 42px;
  }

  .comparison-slider-handle::after {
    width: 18px;
    height: 18px;
  }

  .product-info-overlay {
    bottom: 8px;
    right: 8px;
    padding: 6px 12px;
  }

  .product-info-overlay span {
    font-size: 10px;
  }

  .product-info-overlay .product-code {
    font-size: 9px;
  }

  .color-item-image-wrapper {
    height: 300px;
  }

  /* Mobile modal improvements */
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-image-section {
    padding: 2.5rem 2rem;
  }

  .modal-image-container {
    padding: 2rem;
  }

  .modal-details-section {
    padding: 2.5rem 2rem;
  }

  .product-detail-title {
    font-size: 1.75rem;
  }

  .modal-close {
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }

  .product-detail-modal {
    padding: 0.5rem;
  }

  .modal-content {
    max-height: 95vh;
    border-radius: 16px;
  }

  /* Enhanced consultation card mobile */
  .consultation-card {
    flex-direction: column;
    padding: 1.5rem;
  }

  .consultation-image {
    width: 90px;
    align-self: center;
  }

  .tech-specs-table td {
    padding: 0.875rem 1rem;
  }

  .spec-label {
    font-size: 0.875rem;
  }

  .spec-value {
    font-size: 0.875rem;
  }

  /* Mobile grid improvements */
  .craftsmanship-grid {
    grid-template-columns: 1fr;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .trust-features {
    grid-template-columns: 1fr;
  }

  /* Enhanced footer mobile */
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-brand-section {
    padding-bottom: var(--spacing-lg);
  }

  .footer-newsletter {
    padding: var(--spacing-md);
  }

  /* Reduced animations for mobile */
  .craft-card:hover,
  .catalog-card-luxury:hover {
    transform: translateY(-5px);
  }

  .collection-card:hover .collection-image img,
  .app-card:hover .app-image,
  .image-wrapper:hover img {
    transform: scale(1.03);
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 5vh 6vw;
  }

  /* Very small screens optimizations */
  

  .logo img {
    width: 140px;
    height: auto;
  }

  .hero-content-luxury {
    padding: 0 1.5rem;
  }

  .hero-cta {
    padding: 1rem 2rem;
    font-size: 0.875rem;
  }

  .large-text {
    font-size: 1.125rem;
  }

  .section-description {
    font-size: 1rem;
  }

  /* Enhanced small screen gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .color-item-image-wrapper {
    height: 300px;
  }

  .color-code {
    font-size: 0.7rem;
    padding: 0.375rem 0.75rem 0;
  }

  .color-name {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem 0.75rem;
  }

  /* Enhanced small screen forms */
  .luxury-form {
    padding: var(--spacing-lg);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
  }

  /* Catalog grid for very small screens */
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  /* Enhanced button sizing */
  .submit-luxury-btn {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
  }

  /* Footer improvements for small screens */
  .footer-container {
    padding: 0 15px;
  }

  .cert-badge {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .footer-social-links a {
    width: 38px;
    height: 38px;
  }
}

/* ===== SCROLL ANIMATIONS (Intersection Observer) ===== */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

.fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.slide-up {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Luxury Footer Styles
   ========================================== */

.luxury-footer {
  background: rgba(12, 67, 38, 0.98);
  padding: 100px 0 0 0;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.luxury-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -10%;
  width: 120%;
  height: 150px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.03) 0%, 
    rgba(255, 255, 255, 0.06) 50%, 
    rgba(255, 255, 255, 0.03) 100%
  );
  border-radius: 50%;
}

.luxury-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.footer-main-content {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 60px;
  padding: 50px 0 20px 0;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transform: none;
  transition: none;
  position: relative;
  overflow: visible;
  margin-bottom: 0;
}

.footer-main-content::before {
  display: none;
}

.footer-main-content:hover::before {
  opacity: 0;
}

.footer-main-content:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.footer-brand-column {
  padding-right: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-column::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  width: 2px;
  height: 80%;
  background: linear-gradient(180deg, 
    transparent,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.2) 80%,
    transparent
  );
}

.footer-logo-wrapper img {
  height: 70px;
  width: auto;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo-wrapper img:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
  transform: scale(1.05);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.footer-brand-column:hover .footer-tagline {
  transform: none;
  color: rgba(255, 255, 255, 1);
}

.footer-certifications {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: fit-content;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cert-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.6s ease;
}

.cert-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cert-badge:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.cert-badge:hover::after {
  left: 100%;
}

.cert-badge svg {
  color: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cert-badge:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-forest-green);
  transform: translateX(10px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.95);
}

.cert-badge:hover svg {
  color: var(--color-forest-green);
  transform: rotate(360deg) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(26, 69, 46, 0.3));
}

.cert-badge:nth-child(1) {
  animation: none;
}

.cert-badge:nth-child(2) {
  animation: none;
}

.footer-links-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  transform: none;
  position: relative;
  overflow: visible;
}

.footer-column::before {
  display: none;
}

.footer-column:hover::before {
  opacity: 0;
}

.footer-column:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
}

.footer-column h4 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
  padding-bottom: 12px;
  transform: none;
  text-shadow: none;
  transition: all 0.3s ease;
}

.footer-column:hover h4 {
  transform: none;
  color: white;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.footer-column:hover h4::after {
  width: 60px;
  background: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-column ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-column ul li a,
.footer-column ul li span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding: 0;
  transform: none;
}

.footer-column ul li a::before {
  display: none;
}

.footer-column ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
  transition: width 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 0;
  transform: translateX(5px);
  text-shadow: none;
}

.footer-column ul li a:hover::before {
  opacity: 0;
}

.footer-column ul li a:hover::after {
  width: 100%;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 4px 0;
  border-radius: 0;
  transition: all 0.3s ease;
  transform: none;
}

.footer-contact li:hover {
  background: transparent;
  transform: translateX(5px);
}

.footer-contact li svg {
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  transition: all 0.3s ease;
  filter: none;
}

.footer-contact li:hover svg {
  transform: scale(1.1);
  filter: none;
  color: white;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  transform: none;
}

.footer-contact li:hover a {
  color: white;
  font-weight: 400;
  transform: none;
}

.footer-contact li a:hover::after,
.footer-contact li a:hover::before {
  display: none;
}

.footer-social-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.footer-social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  box-shadow: none;
  transform: none;
}

.footer-social-links a::before {
  display: none;
}

.footer-social-links a::after {
  display: none;
}

.footer-social-links a:hover::before {
  opacity: 0;
}

.footer-social-links a:hover::after {
  opacity: 0;
}

.footer-social-links a:hover {
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.footer-social-links a svg {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  filter: none;
  fill: rgba(255, 255, 255, 0.9);
}

.footer-social-links a:hover svg {
  fill: white;
  transform: scale(1.1);
  filter: none;
}

.footer-social-links a:nth-child(1) {
  animation: none;
}

.footer-social-links a:nth-child(2) {
  animation: none;
}

.footer-social-links a:nth-child(3) {
  animation: none;
}

.footer-bottom {
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  padding: 32px 0;
  margin-top: 0;
  box-shadow: 
    0 -8px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.03) 50%,
    transparent
  );
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.footer-bottom-content p:hover {
  color: white;
  transform: scale(1.02);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  padding: 4px 8px;
}

.footer-legal a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: white;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-legal a:hover::before {
  opacity: 1;
}

.footer-legal a:hover {
  color: white;
  transform: translateY(-3px);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.footer-legal a:hover::after {
  width: calc(100% - 16px);
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  font-weight: 300;
}

/* Footer Responsive */
@media (max-width: 1200px) {
  .footer-main-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }

  .footer-brand-column {
    padding-right: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-brand-column::after {
    display: none;
  }

  .footer-links-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-column {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .luxury-footer {
    padding: 60px 0 0 0;
    margin-top: 60px;
    perspective: none;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-main-content {
    gap: 20px;
    padding: 20px 0;
    transform: none;
  }

  .footer-links-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-column {
    transform: none;
  }

  .footer-column:hover {
    transform: none;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cert-badge {
    padding: 10px 18px;
    font-size: 13px;
  }

  .footer-logo-wrapper img {
    height: 45px;
    margin-bottom: 14px;
  }

  .footer-tagline {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
  }

  .footer-social-links a {
    width: 42px;
    height: 42px;
  }
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Reveal animation for sections */
.reveal-section {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden;
}

/* ===== ADVANCED KEYFRAME ANIMATIONS ===== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Hover float animation removed to prevent conflicts */

/* Loading shimmer effect */
.loading-shimmer {
  background: linear-gradient(
    90deg,
    rgba(12, 67, 38, 0.05) 0%,
    rgba(12, 67, 38, 0.1) 50%,
    rgba(12, 67, 38, 0.05) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Smooth page transitions */
body.page-transition {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-loaded {
  opacity: 1;
}

/* Enhanced scroll indicator animation */
.scroll-indicator {
  animation: pulse 2s ease-in-out infinite;
}

/* Section heading - simple color */
.section-heading {
  color: var(--color-charcoal);
}

/* ===== QUANTITY & SIZE PICKER MODAL ===== */
.cart-qty-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  backdrop-filter: blur(4px);
}
.cart-qty-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-qty-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  width: 92%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.cart-qty-overlay.active .cart-qty-dialog {
  transform: translateY(0) scale(1);
}
.cart-qty-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.cart-qty-close:hover {
  background: #f0f0f0;
  color: #333;
}
.cart-qty-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0c4326;
  margin: 0 0 0.15rem;
}
.cart-qty-product-name {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 1.25rem;
}
.cart-qty-row {
  margin-bottom: 1.1rem;
}
.cart-qty-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0c4326;
  margin-bottom: 0.4rem;
}
.cart-qty-size-fixed {
  background: #f0faf4;
  border: 2px solid #0c4326;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0c4326;
  text-align: center;
}
.cart-qty-sizes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cart-qty-size-btn {
  background: #f8faf9;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.cart-qty-size-btn:hover {
  border-color: #2d8f5f;
  background: #f0faf4;
}
.cart-qty-size-btn.active {
  border-color: #0c4326;
  background: #0c4326;
  color: #fff;
}
.cart-qty-toggle-group {
  display: flex;
  gap: 0.5rem;
}
.cart-qty-board-btn,
.cart-qty-face-btn {
  flex: 1;
  background: #f8faf9;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.cart-qty-board-btn:hover,
.cart-qty-face-btn:hover {
  border-color: #2d8f5f;
  background: #f0faf4;
}
.cart-qty-board-btn.active,
.cart-qty-face-btn.active {
  border-color: #0c4326;
  background: #0c4326;
  color: #fff;
}
.cart-qty-face-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.face-label {
  font-weight: 600;
  font-size: 0.85rem;
}
.face-desc {
  font-size: 0.65rem;
  opacity: 0.7;
  font-weight: 400;
}
.cart-qty-face-btn.active .face-desc {
  opacity: 0.85;
}
.cart-qty-stepper {
  display: flex;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  max-width: 160px;
}
.cart-qty-minus,
.cart-qty-plus {
  background: #f8faf9;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0c4326;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cart-qty-minus:hover,
.cart-qty-plus:hover {
  background: #e6f4ec;
}
.cart-qty-input {
  width: 56px;
  text-align: center;
  border: none;
  border-left: 2px solid #e2e8f0;
  border-right: 2px solid #e2e8f0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c4326;
  height: 44px;
  outline: none;
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-qty-price-summary {
  background: #f8faf9;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.cart-qty-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  padding: 0.2rem 0;
}
.cart-qty-price-row.cart-qty-price-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0c4326;
  border-top: 1px solid #e2e8f0;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
}
.cart-qty-price-val {
  font-weight: 600;
}
.cart-qty-confirm {
  width: 100%;
  padding: 0.85rem;
  background: #0c4326;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.cart-qty-confirm:hover {
  background: #2d8f5f;
}
.cart-qty-confirm:active {
  transform: scale(0.98);
}
.confirm-total {
  font-weight: 700;
}

/* ===== CART DRAWER (Slide-in Sidebar) ===== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0);
  visibility: hidden;
  transition: background 0.3s, visibility 0.3s;
}
.cart-drawer-overlay.active {
  background: rgba(0,0,0,0.4);
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 10002;
}
.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8faf9;
  flex-shrink: 0;
}
.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c4326;
  margin: 0;
}
.cart-drawer-count {
  background: #0c4326;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.cart-drawer-close:hover {
  background: #f1f5f9;
  color: #0c4326;
}
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
}
/* Empty state */
.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 0.5rem;
}
.cart-drawer-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
}
.cart-drawer-empty-sub {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}
/* Item card */
.cart-drawer-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: #f8faf9;
  margin-bottom: 0.6rem;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s;
}
.cart-drawer-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cart-drawer-item-image {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}
.cart-drawer-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-drawer-item-info {
  flex: 1;
  min-width: 0;
}
.cart-drawer-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0c4326;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-drawer-item-code {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 4px;
}
.cart-drawer-item-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.cart-drawer-tag {
  font-size: 0.62rem;
  background: #e6f4ec;
  color: #0c4326;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.cart-drawer-item-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-drawer-qty-btn {
  background: #f1f5f9;
  border: none;
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0c4326;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cart-drawer-qty-btn:hover {
  background: #e6f4ec;
}
.cart-drawer-item-qty span {
  width: 28px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0c4326;
  border-left: 1.5px solid #d1d5db;
  border-right: 1.5px solid #d1d5db;
  line-height: 26px;
}
.cart-drawer-item-price {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
}
.cart-drawer-item-unit {
  font-size: 0.62rem;
  color: #94a3b8;
}
.cart-drawer-item-total {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0c4326;
}
.cart-drawer-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #ef4444;
  opacity: 0.5;
  padding: 4px;
  border-radius: 4px;
  transition: opacity 0.15s, background 0.15s;
  flex-shrink: 0;
}
.cart-drawer-remove:hover {
  opacity: 1;
  background: #fef2f2;
}
/* Footer */
.cart-drawer-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1rem 1.25rem;
  flex-shrink: 0;
  background: #fff;
}
.cart-drawer-summary {
  margin-bottom: 0.75rem;
}
.cart-drawer-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  padding: 0.15rem 0;
}
.cart-drawer-summary-row.cart-drawer-total-row {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0c4326;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}
.cart-drawer-checkout-btn {
  width: 100%;
  padding: 0.85rem;
  background: #0c4326;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 0.5rem;
}
.cart-drawer-checkout-btn:hover {
  background: #2d8f5f;
}
.cart-drawer-checkout-btn:active {
  transform: scale(0.98);
}
.cart-drawer-continue {
  width: 100%;
  padding: 0.6rem;
  background: none;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-drawer-continue:hover {
  border-color: #0c4326;
  color: #0c4326;
}
@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
  }
}
