/* Makeup & Mehndi - Swiggy-style UI */
.makeup-profile-hero {
  padding: 7rem 2rem 2rem;
  background: linear-gradient(180deg, rgba(13,10,8,0.3) 0%, var(--bg-dark) 40%), url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?w=1200') center/cover;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.makeup-profile-hero .artist-info h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.makeup-profile-hero .artist-info p { color: var(--white-muted); font-size: 0.95rem; }
.makeup-profile-hero .artist-info p + p { margin-top: 0.25rem; }

.service-menu { max-width: 900px; margin: 0 auto; padding: 0 1rem 8rem; }
.service-category { margin-bottom: 2rem; }
.service-category h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-border);
}
.service-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: flex-start;
}
.service-item:last-child { border-bottom: none; }
.service-item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.service-item .service-desc { flex: 1; }
.service-item .service-desc h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.service-item .service-desc p { font-size: 0.85rem; color: var(--white-muted); }
.service-item .service-desc .top-rated { color: var(--gold); font-size: 0.8rem; }
.service-item .service-price { font-size: 1rem; font-weight: 600; color: var(--gold); }
.service-item .service-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.btn-add {
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}
.btn-add:hover { background: var(--gold-light); }
.btn-add.added { background: var(--success); }
.btn-add.added:hover { background: #c0392b; }

/* Service qty selector (+ −) */
.service-qty-wrap, .qty-selector-service {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.qty-selector-service .qty-btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--gold-border);
  background: var(--bg-card);
  color: var(--gold);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.qty-selector-service .qty-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}
.qty-selector-service .qty-input {
  width: 40px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: inherit;
}

.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,10,8,0.98);
  border-top: 1px solid var(--gold-border);
  padding: 1rem 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cart-bar.hidden { display: none; }
.cart-bar .cart-info { font-size: 1rem; }
.cart-bar .cart-total { font-size: 1.25rem; font-weight: 700; color: var(--gold); }
.cart-bar .btn { flex-shrink: 0; }

.mehndi-design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.mehndi-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1rem;
}
.mehndi-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.mehndi-card:not(:has(img)) .price { margin-top: 0.25rem; }
.mehndi-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.mehndi-card .rating { font-size: 0.85rem; color: var(--gold); }
.mehndi-card .price { font-size: 1rem; font-weight: 600; color: var(--gold); margin: 0.5rem 0; }
.mehndi-card p { font-size: 0.85rem; color: var(--white-muted); }
.mehndi-card .includes { font-size: 0.8rem; color: var(--white-muted); margin-top: 0.5rem; }
.mehndi-card .btn-add { width: 100%; margin-top: 0.75rem; }

@media (max-width: 768px) {
  /* Keep title + price + Add in one row for compact add-on rows (no description paragraph) */
  .service-item:not(:has(.service-desc p)) {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0;
  }
  .service-item:not(:has(.service-desc p)) .service-desc {
    flex: 1 1 auto;
    min-width: 0;
  }
  .service-item:not(:has(.service-desc p)) .service-desc h4 {
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.25;
  }
  .service-item:not(:has(.service-desc p)) > div:has(.service-price) {
    flex-shrink: 0;
  }
  .service-item:not(:has(.service-desc p)) .service-price {
    white-space: nowrap;
    font-size: 0.88rem;
  }
  .service-item:not(:has(.service-desc p)) .service-actions {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .service-item:not(:has(.service-desc p)) .btn-add {
    padding: 0.38rem 0.65rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .service-item:has(.service-desc p) {
    flex-direction: column;
    align-items: stretch;
  }
  .service-item img { width: 100%; height: 160px; }
}
