/* ================================================
   AIR LUX - Aromatic Noir Design System
   Premium Fragrance & Aroma Solutions
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* -------------------- CSS Variables -------------------- */
:root {
  /* Deep Foundations */
  --obsidian: #0D0D0D;
  --charcoal: #1A1A1A;
  --smoke: #2A2A2A;
  --ash: #3A3A3A;

  /* Warm Metallics */
  --copper: #B87333;
  --copper-light: #D4956A;
  --amber: #FFBF00;
  --brass: #D4AF37;
  --gold: #C9A227;

  /* Organic Neutrals */
  --cream: #F5F0E8;
  --sand: #C9B896;
  --pearl: #E8E4DC;
  --mist: rgba(255, 255, 255, 0.06);
  --mist-strong: rgba(255, 255, 255, 0.12);

  /* Accent */
  --eucalyptus: #3D5C4E;
  --sage: #87A878;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(184, 115, 51, 0.3);
}

/* -------------------- Reset & Base -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* -------------------- Typography -------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.text-gradient {
  color: var(--copper);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-sm);
}

/* -------------------- Layout -------------------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: var(--space-sm);
  }
}

/* -------------------- Header & Navigation -------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mist);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--copper);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--duration-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--copper);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--mist);
  border-radius: 4px;
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all var(--duration-fast);
}

.lang-btn.active {
  background: var(--copper);
  color: var(--obsidian);
}

.cart-btn {
  position: relative;
  padding: 0.5rem;
}

.cart-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--cream);
  transition: stroke var(--duration-fast);
}

.cart-btn:hover svg {
  stroke: var(--copper);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: var(--copper);
  color: var(--obsidian);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-lang-switch {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1002;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all var(--duration-normal) var(--ease-out-expo);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.nav-overlay.visible {
  opacity: 1;
}

@media (max-width: 900px) {
  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.visible {
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    transition: right var(--duration-normal) var(--ease-out-expo);
    z-index: 1001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    justify-content: center;
    border-left: 1px solid var(--mist);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-family: var(--font-display);
    font-size: 2rem;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s var(--ease-out-expo);
  }

  .nav-links.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* Staggered animation delays */
  .nav-links.open li:nth-child(1) .nav-link {
    transition-delay: 0.1s;
  }

  .nav-links.open li:nth-child(2) .nav-link {
    transition-delay: 0.2s;
  }

  .nav-links.open li:nth-child(3) .nav-link {
    transition-delay: 0.3s;
  }

  .nav-links.open li:nth-child(4) .nav-link {
    transition-delay: 0.4s;
  }

  .nav-links.open li:nth-child(5) .nav-link {
    transition-delay: 0.5s;
  }

  .nav {
    gap: var(--space-sm);
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .lang-switch {
    display: none;
  }

  .mobile-lang-switch {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--mist);
    width: 100%;
    animation: fade-in-up 0.5s var(--ease-out-expo) 0.6s both;
  }

  .mobile-lang-switch .lang-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: var(--mist);
  }

  .mobile-lang-switch .lang-btn.active {
    background: var(--copper);
    color: var(--obsidian);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--copper);
  color: var(--obsidian);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--copper);
  color: var(--copper);
}

.btn-secondary:hover {
  background: var(--copper);
  color: var(--obsidian);
}

.btn-ghost {
  background: var(--mist);
  color: var(--cream);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--mist-strong);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* -------------------- Hero Section -------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--obsidian);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--copper-light);
  border-radius: 50%;
  opacity: 0;
  animation: float-up 8s infinite ease-out;
}

@keyframes float-up {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1.5);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  animation: fade-in-up 1s var(--ease-out-expo) 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--copper);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fade-in-up 1s var(--ease-out-expo) 0.4s both;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--sand);
  max-width: 600px;
  margin-bottom: var(--space-lg);
  animation: fade-in-up 1s var(--ease-out-expo) 0.6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  animation: fade-in-up 1s var(--ease-out-expo) 0.8s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  animation: fade-in-up 1s var(--ease-out-expo) 1s both;
}

.stat {
  text-align: left;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  z-index: 1;
  animation: fade-in-scale 1.2s var(--ease-out-expo) 0.5s both;
}

.hero-image img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(184, 115, 51, 0.3));
}

.hero-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: rgba(184, 115, 51, 0.2);
  filter: blur(60px);
  z-index: -1;
  animation: glow-pulse 4s infinite ease-in-out;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-scale {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-lg);
    text-align: center;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    order: 1;
    max-width: 100%;
  }

  .hero-image {
    display: none;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: var(--space-md);
  }

  .hero-stats {
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .stat-value {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 0 var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: space-around;
    width: 100%;
  }

  .stat {
    text-align: center;
    flex: 0 0 calc(33.333% - var(--space-sm));
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    max-width: 280px;
  }
}

@media (max-width: 375px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-badge {
    font-size: 0.625rem;
    padding: 0.375rem 0.75rem;
  }
}

/* -------------------- Scroll Indicator -------------------- */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fade-in-up 1s var(--ease-out-expo) 1.2s both;
}

.scroll-indicator span {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--copper);
  animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* -------------------- Features Section -------------------- */
.features {
  background: var(--charcoal);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--copper);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.feature-card {
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--copper);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  background: var(--copper);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--obsidian);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--sand);
}

/* -------------------- Products Section -------------------- */
.products {
  background: var(--obsidian);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.product-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sand);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 100px;
  transition: all var(--duration-fast);
}

.filter-btn:hover {
  color: var(--cream);
  border-color: var(--copper);
}

.filter-btn.active {
  background: var(--copper);
  color: var(--obsidian);
}

.product-card {
  background: var(--charcoal);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--smoke);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.375rem 0.75rem;
  background: var(--copper);
  color: var(--obsidian);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.product-actions {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-action-btn {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.product-action-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--obsidian);
}

.product-action-btn:hover {
  background: var(--copper);
  transform: scale(1.1);
}

.product-info {
  padding: var(--space-md);
}

.product-category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.8125rem;
  color: var(--sand);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-weight: 600;
  color: var(--copper);
}

/* -------------------- Testimonials -------------------- */
.testimonials {
  background: var(--obsidian);
  text-align: center;
}

.testimonials-header {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.testimonial-card {
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 16px;
  padding: var(--space-md);
  text-align: left;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--space-sm);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--amber);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--pearl);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--obsidian);
}

.testimonial-info h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-info span {
  font-size: 0.75rem;
  color: var(--sand);
}

/* -------------------- FAQ Section -------------------- */
.faq {
  background: var(--obsidian);
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--mist-strong);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--cream);
  transition: color var(--duration-fast);
}

.faq-question:hover {
  color: var(--copper);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--copper);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out-expo);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: var(--space-md);
  color: var(--sand);
  font-size: 0.9375rem;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--charcoal);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--copper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.footer-logo span {
  color: var(--copper);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--sand);
  margin-bottom: var(--space-md);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--cream);
}

.social-link:hover {
  background: var(--copper);
  transform: translateY(-3px);
}

.social-link:hover svg {
  fill: var(--obsidian);
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--sand);
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--copper);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 4px;
  color: var(--cream);
  font-size: 0.875rem;
  transition: border-color var(--duration-fast);
}

.newsletter-input::placeholder {
  color: var(--sand);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--copper);
}

.newsletter-btn {
  padding: 0.875rem 1.25rem;
  background: var(--copper);
  border-radius: 4px;
  transition: all var(--duration-fast);
}

.newsletter-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--obsidian);
}

.newsletter-btn:hover {
  background: var(--brass);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--mist);
  font-size: 0.8125rem;
  color: var(--sand);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a:hover {
  color: var(--copper);
}

/* -------------------- Animations -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* -------------------- Page Specific -------------------- */

/* Products Page */
.page-header {
  padding: 100px 0 var(--space-md);
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(184, 115, 51, 0.1) 0%, transparent 50%),
    var(--obsidian);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--sand);
  margin-bottom: var(--space-sm);
}

.breadcrumb a {
  color: var(--sand);
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--copper);
}

.breadcrumb .separator {
  color: var(--mist-strong);
}

.breadcrumb .current {
  color: var(--copper);
  font-weight: 500;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--sand);
  max-width: 500px;
  margin: 0 auto;
}

/* About Page */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
}

.value-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--copper);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cream);
}

.form-input,
.form-textarea {
  padding: 1rem;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 8px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--duration-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info-card {
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--copper);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--obsidian);
}

.contact-info-content h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  font-size: 0.875rem;
  color: var(--sand);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--duration-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* -------------------- Product Detail Page -------------------- */
.product-detail {
  padding-top: 120px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.product-gallery {
  position: sticky;
  top: 120px;
}

.product-main-image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--charcoal);
  margin-bottom: var(--space-md);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.product-main-image:hover img {
  transform: scale(1.05);
}

.product-thumbnails {
  display: flex;
  gap: var(--space-sm);
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration-fast);
  background: var(--charcoal);
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: var(--copper);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  padding: var(--space-md) 0;
}

.product-detail-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--copper);
  color: var(--obsidian);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.product-detail-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}

.product-detail-category {
  font-size: 0.875rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: var(--space-md);
}

.product-detail-desc {
  color: var(--sand);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.product-options {
  margin-bottom: var(--space-lg);
}

.product-option-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: block;
}

.scent-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scent-option {
  padding: 0.75rem 1.25rem;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--cream);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.scent-option:hover {
  border-color: var(--copper);
}

.scent-option.active {
  background: var(--copper);
  color: var(--obsidian);
  border-color: var(--copper);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.quantity-btn {
  width: 48px;
  height: 48px;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 8px;
  color: var(--cream);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.quantity-btn:hover {
  background: var(--copper);
  color: var(--obsidian);
  border-color: var(--copper);
}

.quantity-value {
  font-size: 1.25rem;
  font-weight: 600;
  min-width: 48px;
  text-align: center;
}

.product-actions-detail {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-actions-detail .btn {
  flex: 1;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--mist);
  border-radius: 12px;
  margin-bottom: var(--space-lg);
}

@media (max-width: 600px) {
  .product-features {
    grid-template-columns: 1fr;
  }
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-sm);
}

.product-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--copper);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--obsidian);
}

.product-feature-text {
  font-size: 0.8125rem;
  color: var(--sand);
}

.product-feature-text strong {
  display: block;
  color: var(--cream);
  font-weight: 600;
}

/* Product Tabs */
.product-tabs {
  margin-top: var(--space-xl);
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--mist-strong);
  margin-bottom: var(--space-md);
}

.tab-btn {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sand);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.tab-btn:hover {
  color: var(--cream);
}

.tab-btn.active {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.tab-content {
  display: none;
  color: var(--sand);
  line-height: 1.8;
}

.tab-content.active {
  display: block;
}

.tab-content h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.tab-content ul {
  padding-left: var(--space-md);
  list-style: disc;
}

.tab-content li {
  margin-bottom: 0.5rem;
}

/* -------------------- Cart Page -------------------- */
.cart-section {
  padding-top: 120px;
  min-height: 60vh;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 1024px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--charcoal);
  border-radius: 12px;
  position: relative;
}

@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
  }
}

.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--smoke);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.cart-item-category {
  font-size: 0.75rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.cart-item-scent {
  font-size: 0.875rem;
  color: var(--sand);
  margin-bottom: auto;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-quantity button {
  width: 32px;
  height: 32px;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 6px;
  color: var(--cream);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.cart-item-quantity button:hover {
  background: var(--copper);
  color: var(--obsidian);
}

.cart-item-quantity span {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
}

.cart-item-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--copper);
}

.cart-item-remove {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 32px;
  height: 32px;
  background: var(--mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.cart-item-remove:hover {
  background: #e74c3c;
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
  stroke: var(--cream);
}

/* Cart Summary */
.cart-summary {
  background: var(--charcoal);
  border-radius: 16px;
  padding: var(--space-lg);
  position: sticky;
  top: 120px;
}

.cart-summary-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--mist-strong);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.cart-summary-row span:first-child {
  color: var(--sand);
}

.cart-summary-row.total {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--mist-strong);
}

.cart-summary-row.total span:last-child {
  color: var(--copper);
}

.cart-summary .btn {
  width: 100%;
  margin-top: var(--space-md);
}

.cart-promo {
  margin-top: var(--space-md);
}

.cart-promo-input {
  display: flex;
  gap: 0.5rem;
}

.cart-promo-input input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 8px;
  color: var(--cream);
  font-size: 0.875rem;
}

.cart-promo-input input::placeholder {
  color: var(--sand);
}

.cart-promo-input input:focus {
  outline: none;
  border-color: var(--copper);
}

.cart-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--mist-strong);
}

.cart-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--sand);
}

.cart-feature svg {
  width: 18px;
  height: 18px;
  stroke: var(--copper);
  flex-shrink: 0;
}

/* Empty Cart */
.cart-empty {
  text-align: center;
  padding: var(--space-xl) 0;
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: var(--mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-empty-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--copper);
}

.cart-empty h2 {
  margin-bottom: var(--space-sm);
}

.cart-empty p {
  color: var(--sand);
  margin-bottom: var(--space-md);
}

/* -------------------- Mobile Fix: Content Under Navbar -------------------- */
.page-header {
  padding-top: 140px;
}

@media (max-width: 900px) {
  .page-header {
    padding-top: 120px;
  }

  .hero {
    padding-top: 100px;
  }

  .product-detail {
    padding-top: 100px;
  }

  .cart-section {
    padding-top: 100px;
  }
}

/* -------------------- Additional Responsive Fixes -------------------- */
@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .footer-legal {
    gap: var(--space-sm);
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.8125rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .scroll-indicator {
    display: none;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: var(--space-sm);
    right: var(--space-sm);
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .testimonial-card {
    padding: var(--space-sm);
  }

  .testimonial-text {
    font-size: 0.875rem;
  }

  .faq-question {
    font-size: 0.9375rem;
    padding: var(--space-sm) 0;
  }

  .product-filters {
    justify-content: center;
    width: 100%;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}

/* Tablet-specific fixes */
@media (max-width: 768px) and (min-width: 481px) {
  .products-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* =========================================================
   COMPREHENSIVE RESPONSIVE FIXES - All Breakpoints
   Covers: 320px → 375px → 414px → 480px → 640px → 768px → 900px → 1024px → 1280px+
   ========================================================= */

/* Global Overflow Control */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Container safety */
.container {
  max-width: 100%;
  box-sizing: border-box;
}

/* -------------------- Header & Navigation Fixes -------------------- */

/* Ensure header doesn't cause overflow */
.header .container {
  max-width: 100%;
  padding: 0 var(--space-sm);
}

@media (max-width: 900px) {

  /* Fix nav layout for mobile */
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }

  /* Ensure menu toggle stays in viewport */
  .menu-toggle {
    position: relative;
    right: 0;
    flex-shrink: 0;
    z-index: 1002;
  }

  /* Keep cart button visible */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
  }

  .cart-btn {
    padding: 0.25rem;
  }
}

/* -------------------- Very Small Screens (320px) -------------------- */
@media (max-width: 359px) {
  html {
    font-size: 14px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .hero-badge {
    font-size: 0.5625rem;
    padding: 0.25rem 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.5625rem;
  }

  .section-label {
    font-size: 0.625rem;
  }

  .feature-card {
    padding: var(--space-sm);
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .product-info {
    padding: var(--space-sm);
  }

  .product-name {
    font-size: 1rem;
  }

  .whatsapp-float {
    width: 44px;
    height: 44px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}

/* -------------------- Small Mobile (360px - 374px) -------------------- */
@media (max-width: 374px) and (min-width: 360px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .stat {
    flex: 0 0 30%;
  }
}

/* -------------------- Standard Mobile (375px - 413px) -------------------- */
@media (max-width: 413px) and (min-width: 375px) {
  .hero-actions .btn {
    padding: 0.875rem 1.25rem;
  }
}

/* -------------------- Large Mobile (414px - 479px) -------------------- */
@media (max-width: 479px) and (min-width: 414px) {
  .hero-stats {
    gap: var(--space-sm);
  }

  .stat-value {
    font-size: 1.875rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Phablet (480px - 639px) -------------------- */
@media (max-width: 639px) and (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero-actions .btn {
    width: auto;
    max-width: none;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .testimonials .grid-3 {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

/* -------------------- Small Tablet (640px - 767px) -------------------- */
@media (max-width: 767px) and (min-width: 640px) {
  .hero {
    padding: 120px 0 var(--space-lg);
  }

  .hero-image {
    max-width: 320px;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .testimonials .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials .grid-3>*:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* -------------------- Tablet Portrait (768px - 899px) -------------------- */
@media (max-width: 899px) and (min-width: 768px) {
  .hero {
    padding: 140px 0 var(--space-lg);
  }

  .hero-image {
    max-width: 380px;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .testimonial-card {
    padding: var(--space-sm);
  }

  .testimonial-text {
    font-size: 0.8125rem;
  }
}

/* -------------------- Tablet Landscape / Small Laptop (900px - 1023px) -------------------- */
@media (max-width: 1023px) and (min-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-image {
    width: 40%;
    max-width: 450px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-md);
  }
}

/* -------------------- Product Filters - All Small Screens -------------------- */
@media (max-width: 600px) {
  .products-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }

  .product-filters {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
  }

  .filter-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.6875rem;
  }
}

/* -------------------- Testimonials Grid Fix -------------------- */
@media (max-width: 640px) {
  .testimonials .grid-3 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* -------------------- Contact Page Responsive -------------------- */
@media (max-width: 600px) {
  .contact-grid {
    gap: var(--space-md);
  }

  .contact-info-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* -------------------- Product Detail Responsive -------------------- */
@media (max-width: 600px) {
  .product-gallery {
    position: relative;
    top: 0;
  }

  .product-thumbnails {
    justify-content: center;
    flex-wrap: wrap;
  }

  .product-thumbnail {
    width: 60px;
    height: 60px;
  }

  .product-actions-detail {
    flex-direction: column;
  }

  .quantity-selector {
    justify-content: center;
  }
}

/* -------------------- Cart Page Responsive -------------------- */
@media (max-width: 480px) {
  .cart-item {
    padding: var(--space-sm);
  }

  .cart-item-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .cart-item-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .cart-summary {
    padding: var(--space-md);
  }
}

/* -------------------- Typography Scaling -------------------- */
@media (max-width: 480px) {
  h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  h3 {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
  }

  .section {
    padding: var(--space-lg) 0;
  }
}

/* -------------------- Safe Area for Notched Devices -------------------- */
@supports (padding: max(0px)) {
  .header {
    padding-left: max(var(--space-sm), env(safe-area-inset-left));
    padding-right: max(var(--space-sm), env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
  }

  .whatsapp-float {
    right: max(var(--space-sm), env(safe-area-inset-right));
    bottom: max(var(--space-sm), env(safe-area-inset-bottom));
  }
}

/* -------------------- Landscape Mobile Fix -------------------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 var(--space-md);
  }

  .hero-image {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}

/* -------------------- High DPI / Retina Displays -------------------- */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .product-image img,
  .hero-image img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* -------------------- Print Styles -------------------- */
@media print {

  .header,
  .footer,
  .whatsapp-float,
  .scroll-indicator {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
  }

  body {
    background: white;
    color: black;
  }
}

/* -------------------- Partners Carousel -------------------- */
.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-carousel 40s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-carousel::before,
.partners-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--mist) 0%, transparent 100%);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--mist) 0%, transparent 100%);
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* -------------------- Reduced Motion -------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   DESIGN REVISION — Cross-Browser & Multi-Screen Improvements
   ================================================================ */

/* -------------------- CSS Variable Additions -------------------- */
:root {
  --transition: all var(--duration-normal) var(--ease-out-expo);
}

/* -------------------- Color Scheme & Base -------------------- */
html {
  color-scheme: dark;
}

/* -------------------- Utility Classes -------------------- */
.text-center { text-align: center; }
.font-display { font-family: var(--font-display); }

/* -------------------- Page Header Titles -------------------- */
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.page-header-subtitle {
  font-size: 1rem;
  color: var(--sand);
  max-width: 500px;
  margin: 0 auto;
}

/* -------------------- Checkout Page -------------------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checkout-grid > div[style*="sticky"] {
    position: relative;
    top: 0;
  }
}

.checkout-card {
  background: var(--charcoal);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.checkout-form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--mist);
  border: 1px solid var(--mist-strong);
  border-radius: 8px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--duration-fast);
  display: block;
}

.checkout-form-input:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(255, 255, 255, 0.08);
}

.checkout-form-input::placeholder {
  color: var(--sand);
}

textarea.checkout-form-input {
  resize: vertical;
  min-height: 90px;
}

@media (max-width: 480px) {
  .checkout-card {
    padding: 1.25rem;
  }
}

/* -------------------- Cart Table Mobile Overflow -------------------- */
.cart-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) var(--mist);
}

.cart-table-wrapper::-webkit-scrollbar {
  height: 4px;
}

.cart-table-wrapper::-webkit-scrollbar-track {
  background: var(--mist);
}

.cart-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .cart-table-wrapper table {
    min-width: 500px;
  }
}

/* -------------------- Accessibility — Focus Ring -------------------- */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

/* -------------------- iOS Input Zoom Prevention -------------------- */
/* iOS zooms when input font-size < 16px — prevent with media query */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px;
  }
}

/* -------------------- Cross-Browser Input Normalize -------------------- */
input,
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Fix number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* -------------------- Touch Device Optimizations -------------------- */
@media (hover: none) and (pointer: coarse) {
  /* On touch screens show product actions without hover */
  .product-card .product-actions {
    opacity: 1;
    transform: translateY(0);
  }

  /* Larger tap targets */
  .nav-link {
    padding: 0.75rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .filter-btn {
    min-height: 44px;
  }

  .quantity-btn {
    min-width: 48px;
    min-height: 48px;
  }

  .cart-item-quantity button {
    min-width: 36px;
    min-height: 36px;
  }

  /* Disable transform hover effects on touch */
  .product-card:hover {
    transform: none;
  }

  .feature-card:hover {
    transform: none;
  }

  .social-link:hover {
    transform: none;
  }
}

/* -------------------- Scrollbar Styling (non-iOS) -------------------- */
@supports not (-webkit-touch-callout: none) {
  ::-webkit-scrollbar {
    width: 6px;
  }

  ::-webkit-scrollbar-track {
    background: var(--charcoal);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--ash);
    border-radius: 3px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--copper);
  }
}

/* -------------------- Grid Fallback for Older Browsers -------------------- */
@supports not (display: grid) {
  .grid-4,
  .grid-3,
  .grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .grid-4 > * { flex: 0 0 calc(25% - var(--space-md)); }
  .grid-3 > * { flex: 0 0 calc(33.333% - var(--space-md)); }
  .grid-2 > * { flex: 0 0 calc(50% - var(--space-md)); }

  .footer-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .checkout-grid {
    display: flex;
    flex-wrap: wrap;
  }
}

/* -------------------- Landscape Mobile Fix (Hero) -------------------- */
@media (max-height: 480px) and (orientation: landscape) and (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 70px 0 var(--space-md);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
  }

  .hero-actions {
    margin-bottom: var(--space-md);
  }

  .hero-stats {
    gap: var(--space-md);
  }

  .scroll-indicator {
    display: none;
  }
}

/* -------------------- Very Wide Screens -------------------- */
@media (min-width: 1600px) {
  html {
    font-size: 17px;
  }

  .container {
    max-width: 1500px;
  }
}

/* -------------------- Cart Section -------------------- */
.cart-section {
  padding-top: 120px;
}

/* Ensure cart and checkout sections clear the fixed header */
@media (max-width: 900px) {
  .cart-section,
  .product-detail {
    padding-top: 80px;
  }
}

/* -------------------- Product Detail — Feature Icons -------------------- */
/* Ensure product feature text is readable on dark theme */
.product-feature-text strong {
  color: var(--cream) !important;
}

.product-feature-text span {
  color: var(--sand) !important;
}

/* -------------------- Firefox Scrollbar -------------------- */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--ash) var(--charcoal);
}