/* Import main styles */


/* Cosmetics-Specific Styles */
.sub-categories-section {
  background: var(--pale-pink-beige);
  padding: 1.5rem 0;
  box-shadow: inset 0 -1px 0 var(--airy-blue);
}

.sub-categories-list {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0 20px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.sub-categories-list li {
  flex: 0 0 auto;
}

.sub-categories-list a {
  display: inline-block;
  color: var(--steel-blue);
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  transition: var(--transition);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(62, 95, 119, 0.1);
}

.sub-categories-list a:hover,
.sub-categories-list a.active {
  background: var(--airy-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Products Section */
.products-section {
  padding: 3rem 0;
  background: linear-gradient(to bottom, var(--pale-pink-beige), var(--white));
}

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--steel-blue);
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(186, 213, 242, 0.2);
  transition: var(--transition);
  border: 3px solid rgba(245, 234, 233, 0.5);
  text-align: center;
  position: relative;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(186, 213, 242, 0.3);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  background: var(--pale-pink-beige);
}

.product-info {
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.product-brand {
  font-size: 0.9rem;
  color: var(--airy-blue);
  margin-bottom: 0.5rem;
  font-weight: 500;
  /* Remove any underline or line */
  text-decoration: none !important;
  border: none !important;
}

.product-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  color: var(--steel-blue);
  /* Remove any underline or line */
  text-decoration: none !important;
  border: none !important;
}

.product-price {
  font-size: 1.3rem;
  color: #e74c3c;
  font-weight: 700;
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
  /* Remove the line completely */
  position: relative;
  padding: 0;
}

/* REMOVE the pseudo-element that creates the line */
.product-price::after {
  display: none !important;
}

/* Remove all product actions (Add to Cart, Wishlist) */
.product-actions {
  display: none !important;
}

.add-to-cart-btn {
  display: none !important;
}

.wishlist-btn {
  display: none !important;
}

.quick-view {
  display: none !important;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--steel-blue);
}

/* Make product card clickable */
.product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .product-image {
    height: 180px;
  }

  .sub-categories-list {
    justify-content: flex-start;
    padding: 0 15px;
  }
}
