@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS DESIGN SYSTEM & VARIABLES --- */
:root {
  --color-sage: #4E5E4E;
  --color-sage-light: #EBF0EB;
  --color-sage-dark: #374437;
  --color-sand: #F4F1EA;
  --color-terracotta: #C08A70;
  --color-terracotta-dark: #A66E54;
  --color-gold: #D4AF37;
  --color-charcoal: #222522;
  --color-charcoal-light: #5A605A;
  --color-cream: #FAF8F5;
  --color-white: #FFFFFF;
  --color-border: rgba(78, 94, 78, 0.15);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --container-max-width: 1300px;
  --nav-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 40px rgba(78, 94, 78, 0.08);
  --shadow-glow: 0 0 60px rgba(192, 138, 112, 0.15);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
}

/* --- BASE STYLES & RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-sand);
  color: var(--color-charcoal);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle film grain overlay */
.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

p {
  line-height: 1.7;
  font-weight: 300;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

/* --- SCROLLBAR CUSTOMIZATION --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-sand);
}
::-webkit-scrollbar-thumb {
  background: var(--color-sage);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-sage-dark);
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

.section-cream {
  background-color: var(--color-cream);
}

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

.section-tagline {
  font-family: var(--font-body);
  color: var(--color-terracotta);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
  position: relative;
}

.section-tagline::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-terracotta), transparent);
  margin: 0.75rem auto 0;
  transition: width 0.6s var(--ease-out-expo);
}

.section-header.is-visible .section-tagline::after,
.reveal.is-visible .section-tagline::after {
  width: 64px;
}

.section-title {
  font-size: 2.75rem;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
}

.section-description {
  color: var(--color-charcoal-light);
  font-size: 1.05rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-sage);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(78, 94, 78, 0.15);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out-expo);
}

.btn-primary:hover::after {
  left: 160%;
}

.btn-primary:hover {
  background-color: var(--color-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 94, 78, 0.25);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  border: 1px solid var(--color-sage);
  color: var(--color-sage);
}

.btn-secondary:hover {
  background-color: var(--color-sage);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-link {
  color: var(--color-sage);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
}

.btn-link::after {
  content: '→';
  transition: var(--transition-smooth);
}

.btn-link:hover {
  border-bottom: 1px solid var(--color-sage);
}

.btn-link:hover::after {
  transform: translateX(5px);
}

/* --- HEADER & NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background-color: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: height 0.4s var(--ease-out-expo), background-color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transform: translateY(-100%);
}

body.page-loaded .navbar {
  transform: translateY(0);
}

.navbar.scrolled {
  background-color: rgba(244, 241, 234, 0.95);
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  font-weight: 600;
}

.logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-charcoal);
  padding: 0.5rem 0;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-terracotta);
  transition: var(--transition-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-store-btn {
  background-color: var(--color-sage);
  color: var(--color-white);
  padding: 0.6rem 1.4rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
}

.nav-store-btn:hover {
  background-color: var(--color-sage-dark);
  transform: scale(1.03);
}

.cart-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(78, 94, 78, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
}

.cart-icon-btn:hover {
  background-color: rgba(78, 94, 78, 0.1);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: var(--color-terracotta);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-sand);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
}

/* --- ROUTING SECTIONS (Views) --- */
.view-section {
  display: none;
  padding-top: var(--nav-height);
}

.view-section.active {
  display: block;
  animation: viewEnter 0.75s var(--ease-out-expo) forwards;
}

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

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

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

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -18px) scale(1.04); }
  66% { transform: translate(-8px, 10px) scale(0.96); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 138, 112, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(192, 138, 112, 0); }
}

@keyframes cartPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-icon-btn.pulse {
  animation: cartPulse 0.5s var(--ease-out-expo);
}

.cart-badge {
  transition: transform 0.35s var(--ease-out-expo);
}

.cart-icon-btn.pulse .cart-badge {
  animation: cartPulse 0.5s var(--ease-out-expo);
}

/* --- HOME VIEW --- */

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--color-sand);
  overflow: hidden;
  padding: 12rem 0 8rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(192, 138, 112, 0.35) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(78, 94, 78, 0.25) 0%, transparent 70%);
  bottom: 15%;
  left: -5%;
  animation-delay: -4s;
  animation-duration: 18s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation-delay: -8s;
  animation-duration: 12s;
}

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

body:not(.page-loaded) .hero-content > *,
body:not(.page-loaded) .hero-image-wrapper {
  opacity: 0;
}

body.page-loaded .hero-tagline {
  animation: heroFadeUp 0.9s var(--ease-out-expo) 0.15s forwards;
}

body.page-loaded .hero-title {
  animation: heroFadeUp 0.9s var(--ease-out-expo) 0.3s forwards;
}

body.page-loaded .hero-description {
  animation: heroFadeUp 0.9s var(--ease-out-expo) 0.45s forwards;
}

body.page-loaded .hero-actions {
  animation: heroFadeUp 0.9s var(--ease-out-expo) 0.6s forwards;
}

body.page-loaded .hero-image-wrapper {
  animation: heroFadeUp 1.1s var(--ease-out-expo) 0.35s forwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-tagline {
  color: var(--color-terracotta);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-size: 4.25rem;
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: 2rem;
}

.hero-title span {
  font-style: italic;
  font-family: var(--font-heading);
  background: linear-gradient(120deg, var(--color-sage-dark), var(--color-terracotta), var(--color-sage));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-charcoal-light);
  margin-bottom: 3rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-container {
  width: 100%;
  max-width: 420px;
  height: 520px;
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.hero-img-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.hero-image-wrapper:hover .hero-img-container {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.hero-img-container:hover img {
  transform: scale(1.05);
}

.hero-bg-shape {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, var(--color-sage-light), rgba(192, 138, 112, 0.15));
  border-radius: 50%;
  z-index: 1;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.philosophy-card {
  background-color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  position: relative;
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium), 0 12px 32px rgba(192, 138, 112, 0.12);
  border-color: var(--color-terracotta);
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-sage);
  transform: scaleX(0);
  transition: var(--transition-smooth);
  transform-origin: left;
}

.philosophy-card:hover::before {
  transform: scaleX(1);
}

.kosha-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-terracotta);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}

.kosha-title {
  font-size: 1.35rem;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.kosha-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-charcoal-light);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1.5rem;
}

.kosha-desc {
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
}

/* Curated Collections */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.collection-card {
  height: 480px;
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  color: var(--color-white);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
}

.collection-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(34,37,34,0.95) 0%, rgba(34,37,34,0.4) 40%, rgba(34,37,34,0) 100%);
  z-index: 2;
}

.collection-card:hover img {
  transform: scale(1.08);
}

.collection-content {
  position: relative;
  z-index: 3;
}

.collection-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.collection-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  display: block;
}

.collection-btn {
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
  padding-bottom: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.collection-btn:hover {
  letter-spacing: 0.15em;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Spotlight Product */
.spotlight-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
  transition: box-shadow 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.spotlight-wrapper.is-visible:hover {
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.spotlight-img {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 540px;
  box-shadow: var(--shadow-subtle);
}

.spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}

.spotlight-wrapper:hover .spotlight-img img {
  transform: scale(1.04);
}

.spotlight-content {
  display: flex;
  flex-direction: column;
}

.spotlight-badge {
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 1.5rem;
}

.spotlight-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.spotlight-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.stars {
  color: var(--color-gold);
  font-size: 0.95rem;
}

.spotlight-price {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-sage-dark);
  margin-bottom: 2rem;
}

.spotlight-desc {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.spotlight-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.35s var(--ease-out-expo);
}

.benefit-item:hover {
  transform: translateX(4px);
}

.benefit-item:hover .benefit-icon {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  transform: rotate(90deg);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  transition: transform 0.4s var(--ease-out-expo), background-color 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo);
}

.benefit-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-text p {
  font-size: 0.8rem;
}

.spotlight-actions {
  display: flex;
  gap: 2rem;
}

/* Instagram Live Feed */
.instagram-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.instagram-handle {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.instagram-handle:hover {
  color: var(--color-terracotta);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.instagram-post {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo);
}

.instagram-post.is-visible:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-premium);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 37, 34, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out-expo);
  z-index: 2;
  font-size: 0.9rem;
}

.instagram-overlay-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(12px);
  transition: transform 0.45s var(--ease-out-expo);
  transition-delay: 0.05s;
}

.instagram-post:hover .instagram-overlay-item {
  transform: translateY(0);
}

.instagram-post:hover .instagram-overlay-item:last-child {
  transition-delay: 0.12s;
}

.instagram-post:hover img {
  transform: scale(1.05);
}

.instagram-post:hover .instagram-overlay {
  opacity: 1;
}

/* --- STORE VIEW --- */
.store-header {
  background-color: var(--color-sage-light);
  padding: 6rem 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.store-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(192, 138, 112, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.store-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.store-layout {
  padding: 5rem 0;
}

.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
}

.filter-group {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  border-radius: 50px;
  background-color: var(--color-white);
  color: var(--color-charcoal-light);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth), transform 0.25s var(--ease-out-expo);
}

.filter-btn:hover {
  border-color: var(--color-sage);
  color: var(--color-sage);
}

.filter-btn.active {
  background-color: var(--color-sage);
  color: var(--color-white);
  border-color: var(--color-sage);
  transform: scale(1.02);
}

.store-search-container {
  position: relative;
  width: 320px;
}

.store-search-input {
  width: 100%;
  padding: 0.8rem 1.2rem 0.8rem 2.8rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.store-search-input:focus {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(78, 94, 78, 0.05);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-charcoal-light);
  font-size: 0.9rem;
}

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

.product-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth), opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card.reveal-product {
  opacity: 0;
  transform: translateY(24px);
}

.product-card.reveal-product.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(78, 94, 78, 0.3);
}

.product-img-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--color-sand);
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-cream);
  color: var(--color-terracotta);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-subtle);
  z-index: 2;
}

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

.product-card-title {
  font-size: 1.3rem;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card-rating {
  margin-bottom: 1rem;
  font-size: 0.75rem;
}

.product-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-charcoal-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-card-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-sage-dark);
}

.add-cart-btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.add-cart-btn-circle:hover {
  background-color: var(--color-sage);
  color: var(--color-white);
  transform: scale(1.05);
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 0;
  color: var(--color-charcoal-light);
  font-size: 1.1rem;
}

/* --- CART DRAWER --- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 37, 34, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background-color: var(--color-cream);
  z-index: 1100;
  box-shadow: -10px 0 40px rgba(34,37,34,0.05);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: var(--transition-smooth);
}

.cart-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cart-close-btn {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(78, 94, 78, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close-btn:hover {
  background-color: rgba(78, 94, 78, 0.1);
  transform: rotate(90deg);
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-empty-message {
  text-align: center;
  padding: 5rem 0;
  color: var(--color-charcoal-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cart-empty-message i {
  font-size: 3rem;
  color: var(--color-sage-light);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.cart-item-img {
  width: 80px;
  height: 100px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--color-sand);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  margin-bottom: 0.75rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  width: 100px;
  background-color: var(--color-white);
}

.qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.qty-btn:hover {
  background-color: var(--color-sand);
}

.qty-val {
  flex-grow: 1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.remove-item-btn {
  color: var(--color-charcoal-light);
  font-size: 1.1rem;
  padding: 0.5rem;
}

.remove-item-btn:hover {
  color: var(--color-terracotta);
}

.cart-footer {
  padding: 2rem;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
}

.totals-row.grand-total {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-charcoal);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.checkout-btn {
  width: 100%;
  padding: 1.1rem;
  font-size: 0.95rem;
}

/* --- PRODUCT DETAIL MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 37, 34, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  width: 100%;
  max-width: 1000px;
  background-color: var(--color-cream);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  max-height: 85vh;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-overlay.open .product-modal {
  transform: scale(1);
  animation: scaleIn 0.45s var(--ease-out-expo);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
  font-size: 1.25rem;
}

.modal-close-btn:hover {
  background-color: var(--color-white);
  transform: scale(1.05);
}

.modal-img-side {
  position: relative;
  height: 100%;
  background-color: var(--color-sand);
}

.modal-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-side {
  padding: 4rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-category {
  color: var(--color-terracotta);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.modal-rating {
  margin-bottom: 1.5rem;
}

.modal-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  margin-bottom: 2rem;
}

.modal-description {
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
  margin-bottom: 2.5rem;
}

/* Modal Tabs */
.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
  gap: 2rem;
}

.tab-btn {
  padding-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-charcoal-light);
  border-bottom: 2px solid transparent;
}

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

.tab-btn.active {
  color: var(--color-sage);
  border-color: var(--color-terracotta);
}

.tab-content {
  display: none;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-charcoal-light);
  margin-bottom: 3rem;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.modal-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
}

.modal-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-white);
}

/* --- DYNAMIC CHECKOUT ALERT / DIALOG --- */
.checkout-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 37, 34, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.checkout-alert-overlay.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.checkout-modal {
  background-color: var(--color-white);
  max-width: 480px;
  width: 100%;
  border-radius: var(--border-radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 1px solid var(--color-border);
}

.checkout-success-icon {
  width: 72px;
  height: 72px;
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  font-size: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  animation: pulseGlow 2s ease-in-out infinite;
}

.checkout-alert-overlay.open .checkout-modal {
  animation: scaleIn 0.5s var(--ease-out-expo);
}

.checkout-modal h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.checkout-modal p {
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
  margin-bottom: 2.5rem;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 8rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
  color: var(--color-white);
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.footer-social-btn:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-newsletter h4 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.newsletter-form {
  position: relative;
  display: flex;
}

.newsletter-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-sage);
  color: var(--color-white);
  padding: 0.7rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.newsletter-submit:hover {
  background-color: var(--color-terracotta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- SEO & ACCESSIBILITY --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-sage);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  transition: top 0.2s var(--ease-out-expo);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.noscript-notice {
  background-color: var(--color-sage-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  line-height: 1.6;
}

.noscript-notice a {
  color: var(--color-sage-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .product-card.reveal-product {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-ambient,
  .orb,
  .hero-bg-shape,
  .hero-title span,
  .checkout-success-icon {
    animation: none;
  }

  body:not(.page-loaded) .hero-content > *,
  body.page-loaded .hero-content > * {
    opacity: 1;
    animation: none;
  }

  .navbar {
    transform: none;
  }
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1200px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --nav-height: 70px;
  }
  .section {
    padding: 6rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
    text-align: center;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-description {
    margin: 0 auto 3rem auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .spotlight-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
  .spotlight-img {
    height: 420px;
  }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }
  .modal-img-side {
    height: 350px;
  }
  .modal-info-side {
    padding: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* In production, add a mobile menu slide-out if requested */
  }
  .menu-toggle {
    display: block;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .collection-card {
    height: 380px;
    padding: 2rem;
  }
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .spotlight-wrapper {
    padding: 1.5rem;
  }
  .spotlight-title {
    font-size: 2.25rem;
  }
  .spotlight-benefits {
    grid-template-columns: 1fr;
  }
}
