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

:root {
  /* Brand Colors */
  --color-primary: #1a1a4e;
  --color-secondary: #3b3b9e;
  --color-accent: #ffc107; /* Bootstrap Warning */
  
  /* Fonts */
  --font-body: 'Outfit', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

body {
  font-family: var(--font-body);
  background-color: #f8f9fa;
  color: #212529;
  -webkit-font-smoothing: antialiased;
}

.font-playfair {
  font-family: var(--font-heading);
}

/* Utilities */
.transition-all {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.z-index-1 { z-index: 1; }

.fs-xs { font-size: 0.7rem; }

.letter-spacing { letter-spacing: 2px; }

.text-shadow {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.text-shadow-lg {
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.max-w-600 {
  max-width: 600px;
}

/* Hover Utilities */
.hover-scale:hover {
  transform: translateY(-3px) scale(1.02);
}

.hover-bg-dark:hover { background-color: #111133 !important; }
.hover-bg-primary:hover { background-color: var(--color-primary) !important; border-color: var(--color-primary) !important; }
.hover-bg-danger:hover { background-color: #dc3545 !important; border-color: #dc3545 !important; }
.hover-text-primary:hover { color: var(--color-primary) !important; }
.hover-text-warning:hover { color: var(--color-accent) !important; }
.hover-text-white:hover { color: #fff !important; }
.hover-opacity-100:hover { opacity: 1 !important; }

/* Group Hover Patterns (Simulating Tailwind's group-hover) */
.group:hover .group-hover-scale { transform: scale(1.1); }
.group:hover .group-hover-bounce { animation: bounce 0.5s ease; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Header & Search */
.main-ecommerce-header {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mega-search-form {
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.search-btn-hover:hover {
  background-color: #e0a800;
  color: #fff;
}

/* Mega Menu */
.tier-3-nav {
  background-color: var(--color-primary);
}

.dropdown:hover .mega-menu-animate {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-animate {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
  right: 0;
  border-top: 3px solid var(--color-accent) !important;
}

/* Hero Section */
.hero-slider-section {
  height: 80vh;
  min-height: 500px;
}
.heroSwiper {
  width: 100%;
  height: 100%;
}
.hero-slide {
  background-size: cover;
  background-position: center;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--color-accent);
  opacity: 1;
  transform: scale(1.2);
}

/* Category Cards */
.category-card-pro {
  border: 1px solid rgba(0,0,0,0.05);
}
.category-card-pro:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.cat-img-wrapper {
  background-color: #f4f6f8;
}
.bg-gradient-dark {
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

/* Product Cards */
.product-card-v2 {
  transition: all 0.3s ease;
}
.product-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.mix-blend-multiply {
  mix-blend-mode: multiply;
}

.quick-view-overlay {
  opacity: 0;
  transform: translateY(10px);
}
.product-card-v2:hover .quick-view-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Products Page Sidebar */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: #fff;
  color: var(--color-primary);
  box-shadow: none;
}
.custom-accordion .accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}
.filter-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}
.filter-list li:last-child {
  border-bottom: none;
}
.custom-checkbox input[type="checkbox"] {
  border-radius: 4px;
  cursor: pointer;
}
.custom-checkbox input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 60vh;
  }
  .display-3 {
    font-size: 2.5rem;
  }
}
