/* Page de toutes les marques */
.all-brands-page {
  min-height: 100vh;
  background-color: var(--soft-cream, #faf9f7);
}

.brands-hero {
  background: linear-gradient(135deg, var(--dark-gold, #b58825) 0%, var(--gold-accent, #d4af37) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.brands-title {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.brands-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.brands-content {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.brand-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.brand-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.brand-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.brand-card:hover .brand-image {
  transform: scale(1.05);
}

.brand-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.brand-placeholder svg {
  width: 60px;
  height: 60px;
  color: #adb5bd;
}

.brand-info {
  padding: 24px;
}

.brand-name {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-gold, #b58825);
  margin-bottom: 0.5rem;
}

.brand-description {
  color: var(--text-color, #666);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.brand-stats {
  display: flex;
  align-items: center;
  gap: 15px;
}

.parfums-count {
  background: linear-gradient(135deg, var(--gold-accent, #d4af37), var(--dark-gold, #b58825));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(181, 136, 37, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
}

.brand-card:hover .brand-overlay {
  opacity: 1;
}

.view-brand-text {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-overlay svg {
  width: 24px;
  height: 24px;
}

/* État vide */
.no-brands {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-color, #666);
}

.no-brands-icon {
  margin-bottom: 20px;
}

.no-brands-icon svg {
  width: 80px;
  height: 80px;
  color: #adb5bd;
}

.no-brands h3 {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1.8rem;
  color: var(--dark-gold, #b58825);
  margin-bottom: 10px;
}

.no-brands p {
  font-size: 1.1rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .brands-title {
    font-size: 2.5rem;
  }

  .brands-subtitle {
    font-size: 1.1rem;
  }

  .brands-hero {
    padding: 40px 0;
  }

  .brands-content {
    padding: 40px 0;
  }

  .brands-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .brand-image-container {
    height: 180px;
  }

  .brand-info {
    padding: 20px;
  }

  .brand-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .brands-title {
    font-size: 2rem;
  }

  .brands-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .brand-image-container {
    height: 160px;
  }

  .brand-info {
    padding: 16px;
  }
}
