/* Featured Products Styles */
.featuredSection {
  background: var(--color-bg-light);
  padding: 4rem 0;
}

[data-theme="dark"] .featuredSection {
  background: #0B1120;
}

.featuredHeader {
  text-align: center;
  margin-bottom: 3rem;
}

.featuredTitle {
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.featuredSubtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.featuredGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .featuredGrid { gap: 2rem; }
}

@media (min-width: 992px) {
  .featuredGrid { grid-template-columns: repeat(4, 1fr); }
}

.productCard {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}

.productCard.visible {
  opacity: 1;
  transform: translateY(0);
}

.productCard:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(10, 132, 255, 0.3);
}

.productImageContainer {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-bg-soft);
  overflow: hidden;
  display: block;
}

.productImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.productCard:hover .productImage {
  transform: scale(1.05);
}

.productActions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  transition: bottom 0.3s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
}

.productCard:hover .productActions {
  bottom: 0;
}

.actionBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.actionBtn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.productInfo {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.productCategory {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.productName {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  text-decoration: none;
}

.productName:hover {
  color: var(--color-primary);
}

.productRatingPrice {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.productRating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.productPrice {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.viewAll {
  text-align: center;
}

.viewAllBtn {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  text-decoration: none;
}

.viewAllBtn:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.3);
}
