/* ========================================
   LASH AND BEAUTY — Products Page Styles
   ======================================== */

/* ---- Hero ---- */
.products-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #000000 0%, #1A0D0E 40%, #D2888D 100%);
  overflow: hidden;
}
.products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(210,136,141,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(224,160,165,0.1) 0%, transparent 50%);
}
.products-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.35);
}
.products-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 0 4rem;
}
.products-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}
.products-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.products-hero__title em {
  color: var(--c-primary-light, #E0A0A5);
  font-style: italic;
}
.products-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Filters Bar ---- */
.products-filters {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 1rem 0;
  position: sticky;
  top: 70px;
  z-index: 30;
}
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.filters-bar__info {
  font-size: 0.88rem;
  color: #666;
  font-weight: 500;
}
.filters-select {
  padding: 0.55rem 2.5rem 0.55rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.filters-select:focus {
  outline: none;
  border-color: var(--c-primary, #D2888D);
}

/* ---- Product Grid ---- */
.products-section {
  padding: 3rem 0 4rem;
  background: #FAF9F7;
  min-height: 500px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ---- Product Card ---- */
.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: transparent;
}

/* Image container */
.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #f5f0eb, #ede5dd);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__image img {
  transform: scale(1.08);
}
.product-card__placeholder {
  font-size: 3rem;
  color: #ccc;
}
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--c-primary, #D2888D);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
}
.product-card__favorite {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.9rem;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
}
.product-card__favorite:hover,
.product-card__favorite--active {
  color: #EF4444;
  background: #fff;
}

/* Card body */
.product-card__body {
  padding: 1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__category {
  font-size: 0.68rem;
  color: var(--c-primary, #D2888D);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.product-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__desc {
  font-size: 0.78rem;
  color: #999;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-card__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-primary, #D2888D);
}
.product-card__price small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #999;
  display: block;
  margin-bottom: 0.1rem;
}
.product-card__cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary, #D2888D), var(--c-primary-light, #E0A0A5));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.25s;
}
.product-card__cart-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(210,136,141,0.35);
}

/* ---- Empty state ---- */
.products-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #999;
}
.products-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ddd;
}
.products-empty h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 0.5rem;
}

/* ---- CTA Section ---- */
.products-cta {
  padding: 4rem 0;
  background: #fff;
}
.cta-card {
  background: linear-gradient(135deg, #000000 0%, #1A0D0E 60%, #D2888D 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(210,136,141,0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,122,69,0.15) 0%, transparent 50%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFD700;
  margin: 0 auto 1.25rem;
  backdrop-filter: blur(8px);
}
.cta-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cta-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .products-hero__content { padding: 3.5rem 0 3rem; }
  .products-hero__title { font-size: 1.8rem; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .cta-card h2 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; gap: 1rem; }
  .product-card__image { aspect-ratio: 4 / 3; }
}
