/* ================================
   AUREVO - PREMIUM FASHION STYLESHEET
   Elegant & Timeless Design System
================================ */

/* ================================
   PREMIUM FONTS & GLOBAL RESET
================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-gold: #D4AF37;
  --deep-navy: #1A1B2E;
  --soft-cream: #FEFCF3;
  --pearl-white: #F8F6F0;
  --charcoal: #2C2C54;
  --silver-mist: #E8E8E8;
  --rose-gold: #E8B4B8;
  --gradient-primary: linear-gradient(135deg, #D4AF37, #F4E4A6);
  --gradient-secondary: linear-gradient(135deg, #1A1B2E, #2C2C54);
  --shadow-elegant: 0 8px 32px rgba(26, 27, 46, 0.1);
  --shadow-premium: 0 16px 64px rgba(26, 27, 46, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--soft-cream);
  color: var(--deep-navy);
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.7;
  letter-spacing: 0.01em;
  padding-top: 0;
}

/* ================================
   NAVBAR - Floating premium glass morphism header
================================ */
.navbar {
  position: fixed;
  top: 1rem;
  left: 2rem;
  right: 2rem;
  z-index: 1000;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(254, 252, 243, 0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 60px;
  box-shadow: 0 8px 32px rgba(26, 27, 46, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  top: 0.5rem;
  left: 1rem;
  right: 1rem;
  padding: 1rem 2.5rem;
  background: rgba(254, 252, 243, 0.95);
  box-shadow: 0 12px 48px rgba(26, 27, 46, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.1);
  border-radius: 50px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.logo:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.navbar nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all 0.4s ease;
  letter-spacing: 0.5px;
}

/* Elegant underline animation */
.navbar nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar nav a:hover {
  color: var(--primary-gold);
}

.navbar nav a:hover::after {
  width: 100%;
}

/* Cart badge with count */
.cart-badge {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ff4d4d;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

/* Wishlist button styling */
.wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(254, 252, 243, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wishlist-btn:hover {
  background: var(--primary-gold);
  color: var(--soft-cream);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.wishlist-btn.active {
  background: var(--primary-gold);
  color: var(--soft-cream);
}

.wishlist-btn.active:hover {
  background: var(--rose-gold);
}

/* ================================
   HERO SECTION - Premium gradient with luxury feel
================================ */
.hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--charcoal) 50%, var(--primary-gold) 100%);
  background-size: 300% 300%;
  animation: luxuryGradient 12s ease infinite;
  color: var(--soft-cream);
  text-align: center;
  padding: 12rem 2rem 8rem;
  margin-top: 0;
  border-radius: 0 0 120px 120px;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

@keyframes luxuryGradient {
  0% { background-position: 0% 50%; }
  33% { background-position: 100% 50%; }
  66% { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

/* Decorative floating circles */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.hero::before {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -100px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(20px); }
}

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

.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ================================
   BUTTONS - Luxury CTA styling
================================ */
.btn {
  background: var(--soft-cream);
  color: var(--deep-navy);
  padding: 1.2rem 3rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(254, 252, 243, 0.3);
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: var(--deep-navy);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.4);
  border-color: var(--primary-gold);
}

/* ================================
   CATEGORIES - Luxury grid layout
================================ */
.categories {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--pearl-white);
}

.categories h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--deep-navy);
  font-weight: 600;
  letter-spacing: 1px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: var(--soft-cream);
  padding: 4rem 2.5rem;
  border-radius: 30px;
  box-shadow: var(--shadow-elegant);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Luxury gradient overlay on hover */
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card span {
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
  color: var(--charcoal);
}

.category-card:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-gold);
}

.category-card:hover span {
  color: var(--primary-gold);
}

/* ================================
   FEATURED & PRODUCT SECTIONS
================================ */
.featured {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, var(--soft-cream), var(--pearl-white));
}

.product-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
}

.featured h2,
.product-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--deep-navy);
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}

/* Product grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual product card */
.product-card {
  background: var(--soft-cream);
  border-radius: 25px;
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.product-card:hover::before {
  opacity: 0.05;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-gold);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-info {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.product-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--deep-navy);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-card p {
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* ================================
   SEARCH & FILTER COMPONENTS
================================ */
.search-container {
  text-align: center;
  margin-bottom: 3rem;
}

#search {
  padding: 1rem 1.5rem;
  width: 100%;
  max-width: 500px;
  border-radius: 50px;
  border: 2px solid #e0e0e0;
  outline: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

#search:focus {
  border-color: #0077cc;
  box-shadow: 0 0 15px rgba(0, 119, 204, 0.2);
}

/* Filter buttons */
.filter-buttons {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  border: 2px solid #0077cc;
  background: white;
  color: #0077cc;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0077cc;
  color: white;
}

/* Loading indicator */
.loading {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #0077cc;
  font-size: 1.2rem;
  font-weight: 500;
}

.loading.active {
  display: block;
}

/* ================================
   TESTIMONIALS SECTION
================================ */
.testimonials {
  padding: 6rem 2rem;
  background: var(--pearl-white);
  text-align: center;
}

.testimonials h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--deep-navy);
  font-weight: 600;
  letter-spacing: 1px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--soft-cream);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: var(--shadow-elegant);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Elegant quote mark decoration */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 25px;
  font-size: 4.5rem;
  color: var(--primary-gold);
  opacity: 0.15;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-gold);
}

.testimonial-card p {
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.testimonial-card h4 {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* ================================
   CART & WISHLIST PAGE STYLES
================================ */
.cart-section,
.wishlist-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 60vh;
}

.cart-section h2,
.wishlist-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--deep-navy);
  letter-spacing: 1px;
}

.cart-items-container {
  margin-bottom: 2rem;
}

/* Individual cart item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  margin: 1rem auto;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-info {
  flex: 1;
  text-align: left;
}

.cart-item-info h3 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.1rem;
}

.cart-item-info p {
  color: #0077cc;
  font-weight: 600;
  font-size: 1.2rem;
}

/* Remove button */
.remove-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.remove-btn:hover {
  background: #e60000;
  transform: scale(1.05);
}

/* Cart summary section */
.cart-summary {
  background: #f8f9fc;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
}

#total-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0077cc;
  margin-bottom: 1rem;
}

.cart-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Checkout button */
.checkout-btn {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Clear cart button */
.clear-cart-btn {
  background: #ff4d4d;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.clear-cart-btn:hover {
  background: #e60000;
  transform: translateY(-3px);
}

/* Empty cart state */
.empty-cart {
  padding: 4rem 2rem;
  text-align: center;
}

.empty-cart h3 {
  font-size: 1.8rem;
  color: #666;
  margin-bottom: 1rem;
}

.empty-cart p {
  color: #999;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Wishlist actions */
.wishlist-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.wishlist-actions.hidden {
  display: none;
}

/* ================================
   FOOTER - Premium multi-column layout
================================ */
footer {
  background: var(--gradient-secondary);
  color: var(--soft-cream);
  padding: 4rem 2rem 2rem;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23D4AF37" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23D4AF37" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23D4AF37" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.footer-links h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-gold);
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(254, 252, 243, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--primary-gold);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* ================================
   TOAST NOTIFICATION
================================ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #4caf50;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2000;
  font-weight: 500;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.hidden {
  display: none !important;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 768px) {
  .navbar {
    top: 0.5rem;
    left: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 40px;
  }

  .navbar.scrolled {
    top: 0.25rem;
    left: 0.5rem;
    right: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 35px;
  }

  .navbar nav {
    gap: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero {
    padding: 8rem 1.5rem 5rem;
    border-radius: 0 0 50px 50px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }

  .categories h2,
  .featured h2,
  .testimonials h2,
  .product-section h2 {
    font-size: 1.8rem;
  }

  .product-grid,
  .category-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item-info {
    text-align: center;
  }

  .cart-actions,
  .wishlist-actions {
    flex-direction: column;
  }

  .wishlist-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  #search {
    width: 90%;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    top: 0.25rem;
    left: 0.5rem;
    right: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 30px;
  }

  .navbar.scrolled {
    top: 0.125rem;
    left: 0.25rem;
    right: 0.25rem;
    padding: 0.6rem 0.8rem;
    border-radius: 25px;
  }

  .hero {
    padding: 7rem 1rem 4rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .categories,
  .featured,
  .testimonials {
    padding: 3rem 1rem;
  }

  .product-section {
    padding: 2rem 1rem;
  }
}