/* ===== FEATURED PRODUCTS POPUP SYSTEM ===== */
/* Overlay */
.featured-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(11, 13, 16, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.featured-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Popup */
.featured-popup {
  position: relative;
  width: 90%;
  max-width: 820px;
  max-height: 90vh;
  background: #0B0D10;
  border-radius: 20px;
  padding: 30px 28px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,224,255,0.15);
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  will-change: transform, opacity;
}

.featured-popup.open {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close button */
.featured-popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(234,234,234,0.6);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  z-index: 10;
  line-height: 1;
  padding: 4px 8px;
}
.featured-popup-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

/* Product card inside popup */
.featured-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.featured-product-card .product-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 12px;
  background: #1a1a1e;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.featured-product-card .product-info {
  width: 100%;
  text-align: center;
  color: #EAEAEA;
}

.featured-product-card .badge {
  display: inline-block;
  background: #00E0FF;
  color: #0B0D10;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.featured-product-card .product-name {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
}

.featured-product-card .product-brand {
  font-size: 1rem;
  color: #00E0FF;
  margin-bottom: 4px;
  font-weight: 400;
}

.featured-product-card .product-category {
  font-size: 0.9rem;
  color: rgba(234,234,234,0.5);
  margin-bottom: 12px;
}

.featured-product-card .short-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(234,234,234,0.8);
  max-width: 600px;
  margin: 0 auto 20px;
}

.featured-product-card .explore-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #FFB000;
  color: #FFB000;
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.featured-product-card .explore-btn:hover {
  background: #FFB000;
  color: #0B0D10;
  box-shadow: 0 0 25px rgba(255,176,0,0.3);
}

/* Navigation dots */
.featured-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.featured-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.featured-dots .dot.active {
  background: #00E0FF;
  transform: scale(1.2);
}
.featured-dots .dot:hover {
  background: rgba(0,224,255,0.5);
}

/* Floating launcher */
.featured-launcher {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0B0D10;
  padding: 10px 18px 10px 12px;
  border-radius: 60px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,224,255,0.15);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.featured-launcher.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.featured-launcher .launcher-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00E0FF;
  color: #0B0D10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.featured-launcher .launcher-text {
  color: #EAEAEA;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.featured-launcher .launcher-badge {
  background: #FFB000;
  color: #0B0D10;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 30px;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 600px) {
  .featured-popup {
    padding: 20px 16px;
    max-width: 98%;
    border-radius: 16px;
  }
  .featured-product-card .product-image {
    max-height: 100%;
  }
  .featured-product-card .product-name {
    font-size: 1.5rem;
  }
  .featured-product-card .explore-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  .featured-launcher {
    bottom: 16px;
    left: 16px;
    padding: 6px 12px 6px 8px;
  }
  .featured-launcher .launcher-text {
    font-size: 0.75rem;
  }
  .featured-launcher .launcher-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

.featured-view-all {
  text-align: center;
  margin-top: 18px;
}
.featured-view-all-link {
  color: rgba(234,234,234,0.5);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.featured-view-all-link:hover {
  color: #00E0FF;
}
.featured-view-all-link i {
  transition: transform 0.3s;
}
.featured-view-all-link:hover i {
  transform: translateX(4px);
}