/* ==========================================================================
   PREMIUM MILLION-DOLLAR STORE CSS
   Transform your store into a high-end e-commerce experience
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES - LUXURY COLOR PALETTE
   ========================================================================== */
:root {
  /* Premium Colors */
  --premium-gold: #c9a962;
  --premium-gold-light: #e8d5a3;
  --premium-gold-dark: #a08339;
  --premium-black: #0a0a0a;
  --premium-charcoal: #1a1a1a;
  --premium-white: #fefefe;
  --premium-cream: #f8f5f0;
  --premium-silver: #c0c0c0;

  /* Gradient Colors */
  --gradient-luxury: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  --gradient-gold: linear-gradient(135deg, #c9a962 0%, #e8d5a3 50%, #c9a962 100%);
  --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Shadows */
  --shadow-luxury: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(201, 169, 98, 0.3);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-fast: all 0.2s ease-out;
}

/* ==========================================================================
   2. GLOBAL PREMIUM STYLES
   ========================================================================== */

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background: var(--premium-gold);
  color: var(--premium-black);
}

/* Premium Body Styles */
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--premium-cream);
}

/* ==========================================================================
   3. PREMIUM HEADER STYLES
   ========================================================================== */

/* Sticky Premium Header */
header {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.1) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

/* Logo Enhancement */
header a[href="/"] img,
header .logo {
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

header a[href="/"] img:hover,
header .logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Navigation Links */
header nav a,
header .nav-link {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

header nav a::after,
header .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition-smooth);
}

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

header nav a:hover,
header .nav-link:hover {
  color: var(--premium-gold-dark) !important;
}

/* Search Box Premium */
header input[type="search"],
header input[type="text"],
header .search-input {
  border: 2px solid rgba(201, 169, 98, 0.2) !important;
  border-radius: 50px !important;
  padding: 12px 24px 12px 50px !important;
  background: rgba(248, 245, 240, 0.5) !important;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

header input[type="search"]:focus,
header input[type="text"]:focus,
header .search-input:focus {
  border-color: var(--premium-gold) !important;
  box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1) !important;
  background: white !important;
  outline: none;
}

/* Header Icons */
header svg,
header .icon {
  transition: var(--transition-smooth);
}

header svg:hover,
header .icon:hover {
  color: var(--premium-gold) !important;
  transform: scale(1.15);
}

/* ==========================================================================
   4. PREMIUM ANNOUNCEMENT BAR
   ========================================================================== */

.premium-announcement-bar {
  background: var(--gradient-luxury);
  color: var(--premium-white);
  padding: 12px 20px;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.premium-announcement-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.premium-announcement-bar .gold-text {
  color: var(--premium-gold);
  font-weight: 600;
}

/* ==========================================================================
   5. PREMIUM HERO SECTION
   ========================================================================== */

.premium-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-luxury);
  overflow: hidden;
}

.premium-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a962' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.premium-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px;
}

.premium-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--premium-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out;
}

.premium-hero h1 span {
  color: var(--premium-gold);
  display: block;
}

.premium-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.premium-hero-cta {
  display: inline-flex;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.premium-btn {
  padding: 18px 45px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.premium-btn-primary {
  background: var(--premium-gold);
  color: var(--premium-black);
  border: 2px solid var(--premium-gold);
}

.premium-btn-primary:hover {
  background: transparent;
  color: var(--premium-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.premium-btn-outline {
  background: transparent;
  color: var(--premium-white);
  border: 2px solid var(--premium-white);
}

.premium-btn-outline:hover {
  background: var(--premium-white);
  color: var(--premium-black);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

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

/* ==========================================================================
   6. PREMIUM PRODUCT CARDS
   ========================================================================== */

/* Product Card Container */
.product-card,
[class*="product-card"],
.grid > div:has(img) {
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.product-card:hover,
[class*="product-card"]:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

/* Product Image */
.product-card img,
[class*="product-card"] img {
  transition: var(--transition-smooth);
}

.product-card:hover img,
[class*="product-card"]:hover img {
  transform: scale(1.08);
}

/* Product Quick Actions */
.product-quick-actions {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  gap: 12px;
  transition: var(--transition-bounce);
  opacity: 0;
}

.product-card:hover .product-quick-actions {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-quick-action-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.product-quick-action-btn:hover {
  background: var(--premium-gold);
  color: white;
  transform: scale(1.1);
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 5;
}

.product-badge-sale {
  background: #dc3545;
  color: white;
}

.product-badge-new {
  background: var(--premium-gold);
  color: var(--premium-black);
}

.product-badge-hot {
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  color: white;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Product Info */
.product-card h3,
.product-card .product-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.product-card:hover h3,
.product-card:hover .product-title {
  color: var(--premium-gold-dark);
}

/* Product Price */
.product-card .price,
.product-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--premium-charcoal);
}

.product-price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin-right: 8px;
}

/* ==========================================================================
   7. TRUST BADGES & SOCIAL PROOF
   ========================================================================== */

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 60px 20px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.trust-badge-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--premium-gold);
  border-radius: 50%;
  color: var(--premium-gold);
  transition: var(--transition-smooth);
}

.trust-badge:hover .trust-badge-icon {
  background: var(--premium-gold);
  color: white;
  transform: scale(1.1);
}

.trust-badge h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--premium-charcoal);
}

.trust-badge p {
  font-size: 0.8rem;
  color: #666;
}

/* Social Proof Counter */
.social-proof-bar {
  background: var(--premium-cream);
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.social-proof-bar strong {
  color: var(--premium-gold-dark);
  font-weight: 700;
}

/* ==========================================================================
   8. PREMIUM TESTIMONIALS
   ========================================================================== */

.testimonials-section {
  padding: 100px 20px;
  background: var(--gradient-luxury);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  font-family: 'DM Serif Display', serif;
  font-size: 400px;
  color: rgba(201, 169, 98, 0.05);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonials-section h2 {
  text-align: center;
  color: var(--premium-white);
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-luxury);
}

.testimonial-stars {
  color: var(--premium-gold);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--premium-gold);
}

.testimonial-name {
  font-weight: 700;
  color: var(--premium-charcoal);
}

.testimonial-title {
  font-size: 0.85rem;
  color: #888;
}

/* ==========================================================================
   9. COUNTDOWN TIMER & URGENCY
   ========================================================================== */

.countdown-banner {
  background: linear-gradient(90deg, #dc3545, #ff6b6b);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-banner::before {
  content: '⚡';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  animation: flash 1s infinite;
}

@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.countdown-timer {
  display: inline-flex;
  gap: 15px;
  margin-left: 20px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.2);
  padding: 10px 15px;
  border-radius: 8px;
  min-width: 60px;
}

.countdown-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Stock Urgency */
.stock-urgency {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #dc3545;
  margin-top: 10px;
}

.stock-urgency::before {
  content: '🔥';
}

.stock-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 5px;
}

.stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #dc3545, #ff6b6b);
  border-radius: 3px;
  animation: stock-pulse 2s infinite;
}

@keyframes stock-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ==========================================================================
   10. NEWSLETTER POPUP
   ========================================================================== */

.newsletter-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 380px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-luxury);
  z-index: 1000;
  overflow: hidden;
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.newsletter-popup-header {
  background: var(--gradient-luxury);
  color: white;
  padding: 30px;
  text-align: center;
}

.newsletter-popup-header h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.newsletter-popup-discount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--premium-gold);
}

.newsletter-popup-body {
  padding: 30px;
}

.newsletter-popup-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.newsletter-popup-input:focus {
  border-color: var(--premium-gold);
  outline: none;
}

.newsletter-popup-btn {
  width: 100%;
  padding: 15px;
  background: var(--premium-gold);
  color: var(--premium-black);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-popup-btn:hover {
  background: var(--premium-gold-dark);
  transform: translateY(-2px);
}

.newsletter-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ==========================================================================
   11. FLOATING CART
   ========================================================================== */

.floating-cart {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.floating-cart-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--premium-gold);
  color: var(--premium-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.floating-cart-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(201, 169, 98, 0.5);
}

.floating-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 25px;
  height: 25px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  animation: bounce 1s infinite;
}

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

/* ==========================================================================
   12. LIVE CHAT WIDGET
   ========================================================================== */

.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.live-chat-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--gradient-premium);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.live-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.live-chat-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-premium);
  animation: chat-pulse 2s infinite;
  z-index: -1;
}

@keyframes chat-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.live-chat-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
  background: #28a745;
  border: 3px solid white;
  border-radius: 50%;
}

/* ==========================================================================
   13. PREMIUM FOOTER
   ========================================================================== */

footer {
  background: var(--premium-charcoal) !important;
  color: rgba(255, 255, 255, 0.8);
}

.premium-footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 80px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.premium-footer-col h4 {
  color: var(--premium-gold);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.premium-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-footer-col li {
  margin-bottom: 12px;
}

.premium-footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.premium-footer-col a:hover {
  color: var(--premium-gold);
  padding-left: 8px;
}

.premium-footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.premium-footer-social a {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.premium-footer-social a:hover {
  background: var(--premium-gold);
  border-color: var(--premium-gold);
  color: var(--premium-black);
  transform: translateY(-5px);
}

.premium-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.premium-footer-payments {
  display: flex;
  gap: 15px;
  align-items: center;
}

.premium-footer-payments img {
  height: 30px;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.premium-footer-payments img:hover {
  opacity: 1;
}

/* ==========================================================================
   14. QUICK VIEW MODAL
   ========================================================================== */

.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.quick-view-content {
  background: white;
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.quick-view-modal.active .quick-view-content {
  transform: scale(1);
}

.quick-view-image {
  padding: 40px;
  background: var(--premium-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-view-image img {
  max-width: 100%;
  border-radius: 10px;
}

.quick-view-details {
  padding: 40px;
}

.quick-view-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.quick-view-close:hover {
  transform: rotate(90deg);
  background: var(--premium-gold);
}

/* ==========================================================================
   15. MEGA MENU
   ========================================================================== */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-luxury);
  padding: 40px 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: var(--transition-smooth);
}

.mega-menu-trigger:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.mega-menu-col h5 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--premium-gold);
}

.mega-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-col li {
  margin-bottom: 10px;
}

.mega-menu-col a {
  color: #666;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.mega-menu-col a:hover {
  color: var(--premium-gold-dark);
  padding-left: 10px;
}

.mega-menu-featured {
  background: var(--premium-cream);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
}

.mega-menu-featured img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ==========================================================================
   16. ANIMATIONS & EFFECTS
   ========================================================================== */

/* Fade In Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.6s ease-out forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stagger Animation */
.stagger-animation > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

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

/* ==========================================================================
   17. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1200px) {
  .premium-footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-badges {
    gap: 30px;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .premium-hero h1 {
    font-size: 2.5rem;
  }

  .premium-hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .premium-btn {
    padding: 15px 35px;
  }

  .premium-footer-top {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .premium-footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .quick-view-content {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    flex-direction: column;
    gap: 30px;
  }

  .newsletter-popup {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 20px;
  }

  .countdown-banner::before {
    display: none;
  }

  .mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .floating-cart,
  .live-chat-widget {
    bottom: 20px;
  }

  .floating-cart {
    left: 20px;
  }

  .live-chat-widget {
    right: 20px;
  }

  .floating-cart-btn,
  .live-chat-btn {
    width: 55px;
    height: 55px;
  }
}

/* ==========================================================================
   18. BUTTON STYLES
   ========================================================================== */

/* Add to Cart Button */
button[type="submit"],
.btn-primary,
.add-to-cart,
[class*="add-to-cart"],
button:has(svg) {
  background: var(--premium-gold) !important;
  color: var(--premium-black) !important;
  border: 2px solid var(--premium-gold) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: var(--transition-smooth) !important;
  border-radius: 8px !important;
}

button[type="submit"]:hover,
.btn-primary:hover,
.add-to-cart:hover,
[class*="add-to-cart"]:hover {
  background: transparent !important;
  color: var(--premium-gold-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.3) !important;
}

/* ==========================================================================
   19. CATEGORY SECTION
   ========================================================================== */

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.category-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==========================================================================
   20. SECTION TITLES
   ========================================================================== */

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--premium-charcoal);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
}

.section-title p {
  color: #666;
  font-size: 1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* ==========================================================================
   21. SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--premium-charcoal);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--premium-gold);
  transform: translateY(-5px);
}

/* ==========================================================================
   22. CAROUSEL/SLIDER ENHANCEMENTS
   ========================================================================== */

/* Image Carousel */
[class*="carousel"],
[class*="slider"] {
  position: relative;
}

[class*="carousel"] img,
[class*="slider"] img {
  border-radius: 0;
}

/* Carousel Navigation */
[class*="carousel"] button,
[class*="slider"] button {
  background: white !important;
  border: none !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-card) !important;
  transition: var(--transition-smooth) !important;
}

[class*="carousel"] button:hover,
[class*="slider"] button:hover {
  background: var(--premium-gold) !important;
  transform: scale(1.1) !important;
}

/* Carousel Dots */
[class*="carousel"] .dot,
[class*="slider"] .dot {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  transition: var(--transition-fast);
}

[class*="carousel"] .dot.active,
[class*="slider"] .dot.active {
  background: var(--premium-gold);
  transform: scale(1.3);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .floating-cart,
  .live-chat-widget,
  .newsletter-popup,
  .scroll-to-top,
  .countdown-banner {
    display: none !important;
  }
}
