@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');

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #2c2c2c;
  background-color: #faf6f0;
  /* Warm off-white background characteristic of Taneira */
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
  font-family: 'Playfair Display', serif;
}

/* Custom Scrollbar for elegant feel */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #faf6f0;
}

::-webkit-scrollbar-thumb {
  background: #d4b270;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #702152;
}

/* Modal and Drawer Animations */
.drawer-transition {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-fade-enter {
  opacity: 0;
  transform: scale(0.95);
}

.modal-fade-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

/* Custom image zooming on hover */
.zoom-image {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .zoom-image {
  transform: scale(1.05);
}

/* Micro-animations */
.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

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

/* Slick toast slide-up & fade-in animation */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.animate-toast {
  animation: slideUpFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Tactile Heartbeat button scale-up animation */
@keyframes heartBeat {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.animate-heartbeat {
  animation: heartBeat 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Sticky Header adjustment */
.sticky-header {
  box-shadow: 0 2px 10px rgba(112, 33, 82, 0.04);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

/* Utility for hiding scrollbar visually but keeping functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Line Clamp Utilities for description */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Promo bar text scrolling */
@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: ticker 25s linear infinite;
}

/* Quick View Overlay styling */
.product-action-btn {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .product-action-btn {
  transform: translateY(0);
  opacity: 1;
}

/* Custom Checkbox */
.custom-checkbox {
  accent-color: #702152;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-checkbox:hover {
  transform: scale(1.12);
}

.custom-checkbox:active {
  transform: scale(0.9);
}

/* Shop The Look Video Cards & Modal Styling */
.stl-card video {
  transition: opacity 0.5s ease;
}

.stl-play-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stl-card:hover .stl-play-btn {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 1);
}

/* Video player controls overlay */
.video-controls-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover .video-controls-overlay {
  opacity: 1;
}

/* Smooth zoom transition for video cards */
.stl-video-zoom {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stl-card:hover .stl-video-zoom {
  transform: scale(1.04);
}

/* Megamenu Custom Sizing */
.w-144 {
  width: 36rem; /* 576px */
}