/* Classic Furnishers Custom Premium Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-warm-white: #FFFFFF;
  --primary-charcoal: #1E1E1E;
  --accent-walnut: #e9e9e9;
  --secondary-beige: #F3F4F6;
  --cta-forest-green: #274C3A;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm-white);
  color: var(--primary-charcoal);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
  font-family: var(--font-serif);
}

/* Custom Scrollbar for Luxury Aesthetic */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-warm-white);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-beige);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-walnut);
}

/* Smooth Transitions & Overlays */
.transition-luxury {
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Editorial Style Image Reveals */
.reveal-wrapper {
  position: relative;
  overflow: hidden;
}

.reveal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-charcoal);
  transform: scaleX(1);
  transform-origin: left;
  z-index: 10;
}



/* Mega Menu Details */
.mega-menu-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.group:hover .mega-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Custom glassmorphism styles */
.glass-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243, 244, 246, 0.5);
}

/* CTA & Button Hover Effects */
.btn-premium {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background-color: var(--primary-charcoal);
  transform: skewX(-15deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn-premium:hover::after {
  transform: skewX(-15deg) scaleX(1);
}

.btn-premium:hover {
  color: #FFFFFF !important;
  background-color: transparent !important;
  border-color: var(--primary-charcoal) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 30, 30, 0.15);
}

.btn-cta {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background-color: var(--primary-charcoal);
  transform: skewX(-15deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn-cta:hover::after {
  transform: skewX(-15deg) scaleX(1);
}

.btn-cta:hover {
  color: #FFFFFF !important;
  background-color: transparent !important;
  border-color: var(--primary-charcoal) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 30, 30, 0.15);
}

/* Wishlist heart scale animation */
.heart-pop {
  animation: heartPopEffect 0.3s ease-in-out;
}

@keyframes heartPopEffect {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Grid animations */
.product-card-hover img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-hover:hover img {
  transform: scale(1.06);
}

/* Carousel controls */
.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary-charcoal);
  color: var(--bg-warm-white);
}

/* Hero parallax and text tracking */
.hero-slider-text {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive spacing offsets and interactive drawer controls */
@media (max-w: 1023px) {
  body {
    padding-bottom: 5.5rem;
    /* prevents floating CTA from covering content */
  }
}

/* Slide animation for catalog filter drawer on mobile */
.filter-drawer-open {
  transform: translateX(0) !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}