/* 
  Peru Plants Budapest / PeruPlants Florárium
  Premium, Modern, Clean One-Page Design System
  Author: Antigravity
*/

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

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Colors */
  --primary-deep: hsl(153, 30%, 10%);     /* Softer, dusty deep forest green */
  --primary-deep-rgb: 18, 33, 26;
  --primary-moss: hsl(135, 20%, 42%);    /* Soft pastel sage/moss green */
  --primary-moss-rgb: 86, 128, 97;
  --accent-terracotta: hsl(18, 42%, 56%);   /* Softer pastel terracotta clay */
  --accent-terracotta-dark: hsl(18, 42%, 46%);
  --accent-terracotta-light: hsl(18, 42%, 66%);
  
  --accent-gold: var(--accent-terracotta);  /* Aliased for transition compatibility */
  --accent-gold-dark: var(--accent-terracotta-dark);
  --accent-gold-light: var(--accent-terracotta-light);

  /* Logo Splatter Accent Colors */
  --splatter-blue: hsl(197, 53%, 53%);     /* Soft cyan */
  --splatter-yellow: hsl(48, 85%, 51%);    /* Watercolor gold/yellow */
  --splatter-rose: hsl(333, 79%, 50%);     /* Watercolor rose/magenta */
  --splatter-green: hsl(99, 22%, 52%);     /* Soft pastel leaf green */

  --bg-cream: hsl(48, 40%, 98%);         /* Off-white warm background */
  --bg-cream-rgb: 252, 251, 247;
  --bg-sand: hsl(38, 24%, 87%);          /* Soft sand tone */
  --bg-sand-rgb: 231, 225, 213;
  --text-dark: hsl(153, 20%, 12%);        /* Soft elegant charcoal-forest for text */
  --text-muted: hsl(153, 8%, 40%);        /* Soft dusty grey-moss for muted text */
  --text-light: hsl(48, 40%, 98%);       /* Light text */
  --border-light: rgba(18, 33, 26, 0.08);
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(252, 251, 247, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(6, 29, 18, 0.06);
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

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

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

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

button, input, textarea {
  font-family: inherit;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.text-gold {
  color: var(--accent-gold-dark);
}

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

/* --- Layout Elements --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- UI Components --- */

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 32px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px 0 rgba(6, 29, 18, 0.1);
  border-color: rgba(197, 168, 128, 0.3);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-deep);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-moss);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 29, 18, 0.15);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--accent-gold);
  color: var(--primary-deep);
}

.btn-secondary:hover {
  background-color: var(--accent-gold);
  color: var(--primary-deep);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--primary-deep);
  font-weight: 600;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.3);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header .subtitle {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  color: var(--primary-deep);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(252, 251, 247, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 75px;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(6, 29, 18, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(252, 251, 247, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  background-color: #fff; /* Keep solid background for logo circle contrast */
}

.logo:hover .logo-img {
  transform: rotate(6deg) scale(1.08);
  border-color: var(--accent-terracotta);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(252, 251, 247, 0.85);
  transition: var(--transition-smooth);
}

/* Scrolled state logo colors */
.header.scrolled .logo-title {
  color: var(--primary-deep);
}

.header.scrolled .logo-subtitle {
  color: var(--text-muted);
}

.header.scrolled .logo-img {
  border-color: var(--accent-terracotta);
  box-shadow: 0 4px 10px rgba(6, 29, 18, 0.08);
}

.nav {
  display: none;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

@media (min-width: 1366px) {
  .nav-list {
    gap: 32px;
  }
}

.nav-link {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(252, 251, 247, 0.85);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

@media (min-width: 1366px) {
  .nav-link {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }
}

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

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

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

/* Scrolled state nav link colors */
.header.scrolled .nav-link {
  color: var(--text-dark);
}

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

.header-cta {
  display: none;
  flex-shrink: 0;
}

.header .btn-secondary {
  border-color: rgba(252, 251, 247, 0.4);
  color: var(--text-light);
  padding: 10px 22px;
  font-size: 0.8rem;
}

.header .btn-secondary:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-deep);
}

.header.scrolled .btn-secondary {
  border-color: var(--accent-gold-dark);
  color: var(--primary-deep);
}

.header.scrolled .btn-secondary:hover {
  background-color: var(--accent-gold-dark);
  color: var(--text-light);
}

/* Hamburger Menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition-fast);
}

.header.scrolled .menu-toggle span {
  background-color: var(--primary-deep);
}

@media (min-width: 1200px) {
  .nav {
    display: flex;
  }
  .header-cta {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
}


/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height to handle mobile address bars */
  background-color: var(--bg-cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align to top instead of center to prevent text clipping on small heights */
  align-items: center;
  padding: 100px 24px 60px 24px; /* Generous top padding to clear the header logo/hamburger toggle */
  overflow-y: auto; /* Enable vertical scrolling */
  -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS */
  transition: var(--transition-smooth);
}

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

.mobile-nav-list {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary-deep);
}

.mobile-nav-link:hover {
  color: var(--accent-gold-dark);
}

/* Sticky Mobile Bottom CTA */
.sticky-mobile-cta {
  position: fixed;
  bottom: 24px;
  left: 24px;
  transform: translateY(100px);
  z-index: 900;
  width: calc(100% - 106px); /* Leaves room for the chat widget */
  max-width: 400px;
  box-shadow: 0 12px 32px rgba(6, 29, 18, 0.15);
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.sticky-mobile-cta.visible {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .sticky-mobile-cta {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 106px); /* 16px left + 16px right + 58px chat + 16px gap = 106px */
    height: 58px; /* Match chat toggle height */
  }
  
  .sticky-mobile-cta .btn {
    height: 100% !important;
    padding: 0 16px !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 1024px) {
  .sticky-mobile-cta {
    display: none !important;
  }
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-light);
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 29, 18, 0.75) 0%, rgba(6, 29, 18, 0.85) 60%, var(--bg-cream) 100%);
  z-index: 2;
}

.hero-bg img, .hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

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

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p {
  color: rgba(252, 251, 247, 0.85);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  gap: 60px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-text h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--accent-gold-dark);
  margin-bottom: 12px;
}

.about-text h2 {
  color: var(--primary-deep);
}

.about-text p {
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-gold);
  border-radius: 24px;
  z-index: 1;
}

.about-img-container {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 29, 18, 0.08);
}

/* --- What Is a Florarium Section --- */
.what-is {
  background-color: var(--bg-sand);
  background-image: radial-gradient(rgba(46, 90, 54, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.what-is-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.what-is-grid {
  display: grid;
  gap: 24px;
}

.feature-card {
  text-align: center;
  background: rgba(252, 251, 247, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-deep);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
}

.feature-card h3 {
  color: var(--primary-deep);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 1.15rem;
}

/* --- Products / Collection Section --- */
.products {
  background-color: var(--bg-cream);
}

.products-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card */
.product-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(6, 29, 18, 0.12);
  border-color: rgba(197, 168, 128, 0.3);
}

.product-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-container img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-terracotta);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(6, 29, 18, 0.15);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.product-badge.popular-badge {
  background: var(--splatter-rose);
  color: var(--text-light);
}

.product-badge.sale-badge {
  background: var(--splatter-yellow);
  color: var(--primary-deep);
}

.product-badge.stock-badge {
  background: var(--splatter-blue);
  color: var(--text-light);
}

.product-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  color: var(--primary-deep);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Accordion Details */
.product-details {
  border-top: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.details-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.details-trigger span::after {
  content: ' ▾';
  display: inline-block;
  margin-left: 4px;
  transition: var(--transition-fast);
}

.details-trigger.active span::after {
  transform: rotate(180deg);
}

.details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-content ul {
  list-style: none;
  padding-bottom: 16px;
}

.details-content li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(6, 29, 18, 0.05);
  padding-bottom: 4px;
}

.details-content li .label {
  font-weight: 500;
  color: var(--text-dark);
}

.details-content li .val {
  color: var(--text-muted);
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.price-actual {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-moss);
}

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

/* --- Why Special / Values Section --- */
.why-special {
  background-color: var(--primary-deep);
  color: var(--text-light);
}

.why-special .section-header h2 {
  color: var(--text-light);
}

.why-special-grid {
  display: grid;
  gap: 60px;
  align-items: center;
}

@media (min-width: 992px) {
  .why-special-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-special-content h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.why-special-content p {
  color: rgba(252, 251, 247, 0.8);
  margin-bottom: 30px;
  font-size: 1.15rem;
}

.layers-list {
  display: grid;
  gap: 16px;
}

.layer-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.layer-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-deep);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.layer-text h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.layer-text p {
  font-size: 0.9rem;
  color: rgba(252, 251, 247, 0.7);
}

/* Feature grid in dark section */
.spec-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
}

.spec-card i {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
}

.spec-card h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.spec-card p {
  font-size: 0.8rem;
  color: rgba(252, 251, 247, 0.6);
}

/* --- Custom Order Section --- */
.custom-order {
  background-color: var(--bg-cream);
  background-image: radial-gradient(var(--accent-gold-dark) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
}

.custom-order-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
}

.custom-order-card h2 {
  color: var(--primary-deep);
  margin-bottom: 20px;
}

.custom-order-card p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* --- Gallery Section --- */
.gallery {
  background-color: var(--bg-sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(6, 29, 18, 0.05);
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
}

.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img, .gallery-item:hover video {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 29, 18, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2rem;
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --- Care Instructions Section --- */
.care {
  background-color: var(--bg-cream);
}

.care-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .care-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .care-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.care-card {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(6, 29, 18, 0.02);
  border: 1px solid var(--border-light);
}

.care-icon {
  font-size: 2.2rem;
  color: var(--primary-moss);
  margin-bottom: 20px;
}

.care-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary-deep);
}

.care-card p {
  font-size: 0.95rem;
}

/* --- Shipping & Delivery Section --- */
.shipping {
  background-color: var(--bg-sand);
}

.shipping-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .shipping-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.shipping-info h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--primary-deep);
  margin-bottom: 24px;
}

.shipping-info p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.shipping-options {
  display: grid;
  gap: 20px;
}

.shipping-option-card {
  background: rgba(252, 251, 247, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 24px;
  border-radius: 18px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.shipping-option-icon {
  font-size: 1.8rem;
  color: var(--accent-gold-dark);
}

.shipping-option-text h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.shipping-option-text p {
  font-size: 0.9rem;
}

.shipping-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(6, 29, 18, 0.06);
}

/* --- Social Proof Section --- */
.social-proof {
  background-color: var(--bg-cream);
}

.social-grid {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.social-text {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
  background-color: var(--primary-deep);
  color: var(--text-light);
}

.contact .section-header h2 {
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.contact-info p {
  color: rgba(252, 251, 247, 0.8);
  margin-bottom: 40px;
  font-size: 1.15rem;
}

.contact-details-list {
  display: grid;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.contact-detail-text h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(252, 251, 247, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-text p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background-color: #04120b;
  color: rgba(252, 251, 247, 0.6);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-light);
}

.footer-tagline {
  font-style: italic;
  margin-bottom: 12px;
}

.footer-socials {
  display: flex;
  gap: 20px;
  font-size: 1.5rem;
  color: var(--text-light);
}

.footer-socials a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(6, 29, 18, 0.95);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img, .lightbox-content video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--accent-gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 3rem;
  cursor: pointer;
  padding: 20px;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  color: var(--accent-gold);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    display: none;
  }
}

/* --- Order / Inquiry Form --- */
.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-form {
  background: rgba(252, 251, 247, 0.05);
  border: 1px solid rgba(252, 251, 247, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 36px;
}

.order-form:hover {
  transform: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-color: rgba(252, 251, 247, 0.15);
}

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 8px;
  display: block;
}

.form-row {
  display: grid;
  gap: 16px;
  width: 100%;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="tel"],
.order-form select,
.order-form textarea {
  width: 100%;
  background: rgba(252, 251, 247, 0.06);
  border: 1px solid rgba(252, 251, 247, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.order-form select option {
  background-color: var(--primary-deep);
  color: var(--text-light);
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: rgba(252, 251, 247, 0.4);
}

.order-form input[type="text"]:focus,
.order-form input[type="email"]:focus,
.order-form input[type="tel"]:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(252, 251, 247, 0.1);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

/* GDPR Checkbox */
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(252, 251, 247, 0.2);
  accent-color: var(--accent-gold);
  cursor: pointer;
  margin-top: 3px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(252, 251, 247, 0.7);
  line-height: 1.4;
  cursor: pointer;
  margin-bottom: 0;
}

/* Status Messages */
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-status.success {
  display: block;
  background-color: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(46, 125, 50, 0.3);
  color: #81c784;
}

.form-status.error {
  display: block;
  background-color: rgba(198, 40, 40, 0.15);
  border: 1px solid rgba(198, 40, 40, 0.3);
  color: #e57373;
}

/* Backups and Direct Links Below Form */
.contact-backups {
  text-align: center;
  margin-top: 10px;
  background: rgba(252, 251, 247, 0.03);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(252, 251, 247, 0.05);
}

.backup-title {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(252, 251, 247, 0.5);
  margin-bottom: 12px;
}

.backup-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.backup-btn {
  flex-grow: 1;
  text-align: center;
}

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

/* --- Skeleton Loader Animations --- */
.skeleton-card {
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-img {
  height: 280px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

.skeleton-text {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: 16px;
}

.skeleton-description {
  height: 14px;
  width: 90%;
  margin-bottom: 8px;
}

.skeleton-btn {
  height: 44px;
  width: 100%;
  border-radius: 30px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  margin-top: auto;
}

.skeleton-gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* --- Live Chat Widget --- */
#chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  font-family: var(--font-sans);
}

.chat-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent-terracotta), var(--accent-terracotta-dark));
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(18, 33, 26, 0.25);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(18, 33, 26, 0.3);
}

.chat-toggle--pulse {
  animation: chat-pulse 1.5s ease infinite;
}

@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(18, 33, 26, 0.25); }
  50% { box-shadow: 0 8px 28px rgba(18, 33, 26, 0.25), 0 0 0 10px rgba(198, 120, 90, 0.25); }
}

.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: min(360px, calc(100vw - 32px));
  height: 480px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.chat-panel--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  padding: 16px 18px;
  background: var(--primary-deep);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-header h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.chat-header p {
  font-size: 0.72rem;
  opacity: 0.75;
  margin: 2px 0 0;
}

.chat-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--text-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(252, 251, 247, 0.5);
}

.chat-welcome {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px 8px;
  line-height: 1.5;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-bubble--visitor {
  align-self: flex-end;
  background: var(--accent-terracotta);
  color: var(--text-light);
  border-bottom-right-radius: 4px;
}

.chat-bubble--admin {
  align-self: flex-start;
  background: var(--bg-sand);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

.chat-bubble-time {
  font-size: 0.65rem;
  opacity: 0.65;
  margin-top: 4px;
  text-align: right;
}

.chat-bubble--admin .chat-bubble-time {
  text-align: left;
}

.chat-error {
  font-size: 0.8rem;
  color: hsl(0, 65%, 45%);
  text-align: center;
  padding: 8px;
}

.chat-form {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-cream);
}

.chat-name-wrap {
  margin-bottom: 8px;
}

.chat-name-wrap input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.85rem;
  background: #fff;
}

.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.88rem;
  background: #fff;
}

.chat-input-row button {
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  background: var(--primary-deep);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.chat-input-row button:hover:not(:disabled) {
  background: var(--primary-moss);
}

.chat-input-row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  #chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-panel {
    height: min(70vh, 480px);
  }
}

