/**
 * Hair Types Accordion Styles
 * @package HairEvolutionFactory
 */

.hair-types-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hair-type-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.hair-type-card.expanded {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.hair-type-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hair-type-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.hair-type-header .flag { font-size: 1.875rem; }

.hair-type-header .info {
  margin-left: 1rem;
  flex: 1;
}

.hair-type-header .info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.hair-type-header .info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hair-type-header .chevron {
  color: var(--muted-foreground);
  transition: transform 0.3s;
  font-size: 1.25rem;
}

.hair-type-card.expanded .chevron {
  transform: rotate(180deg);
}

.hair-type-details {
  display: none;
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.hair-type-card.expanded .hair-type-details {
  display: block;
}

.hair-type-details-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hair-type-details-grid { grid-template-columns: 1fr 1fr; }
}

.hair-type-details p {
  font-size: 0.875rem;
  color: var(--gold);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.detail-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.detail-list li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.detail-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hair-photo-placeholder {
  aspect-ratio: 3/2;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  width: 100%;
}

.hair-photo-placeholder span {
  font-size: 0.75rem;
  color: rgba(107,110,117,0.5);
}
