/* ============================================================
   WP-04 — Boutique entretien
   ============================================================ */

/* ── Page hero ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #163e9e 100%);
  color: var(--color-white);
  padding: var(--sp-10) 0 var(--sp-8);
}
.page-hero .breadcrumb { margin-bottom: var(--sp-4); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); font-size: var(--text-small); }
.page-hero .breadcrumb a:hover { color: var(--color-white); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.5); margin: 0 var(--sp-2); font-size: var(--text-small); }
.page-hero .breadcrumb [aria-current] { color: rgba(255,255,255,.9); font-size: var(--text-small); }
.page-hero-title { color: var(--color-white); font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: var(--sp-3); }
.page-hero-sub   { opacity: .85; max-width: 560px; font-size: clamp(var(--text-body), 2vw, 1.0625rem); line-height: var(--lh-relaxed); }

/* ── Filtres catégorie ───────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--sp-6);
}
.filter-bar-label {
  font-weight: var(--fw-semibold);
  font-size: var(--text-small);
  color: var(--gray-600);
  margin-right: var(--sp-2);
}
.filter-btn {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-300);
  background: var(--color-white);
  color: var(--gray-600);
  font-size: var(--text-small);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--font-body);
}
.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ── Carte produit ───────────────────────────────────────────── */
.card-product {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-normal), transform var(--t-normal);
}
.card-product:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.product-img-bg-blue    { background: #dbeafe; }
.product-img-bg-green   { background: #d1fae5; }
.product-img-bg-purple  { background: #ede9fe; }
.product-img-bg-yellow  { background: #fef9c3; }
.product-img-bg-pink    { background: #fce7f3; }
.product-img-bg-orange  { background: #fed7aa; }

.product-badges {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}
.badge-new {
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.badge-bestseller {
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.product-body {
  padding: var(--sp-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.product-name {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--text-body);
  color: var(--color-text);
  line-height: var(--lh-tight);
}
.product-desc {
  font-size: var(--text-caption);
  color: var(--gray-500);
  line-height: var(--lh-relaxed);
  flex: 1;
}
.product-price {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-h4);
  color: var(--color-primary);
}
.product-actions {
  display: flex;
  gap: var(--sp-2);
  flex-direction: column;
  margin-top: var(--sp-1);
}

/* ── Résultat filtrage vide ──────────────────────────────────── */
.filter-empty {
  display: none;
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  color: var(--gray-500);
}
.filter-empty.is-visible { display: block; }
.filter-empty-icon { font-size: 2.5rem; margin-bottom: var(--sp-4); }

/* ── Infos boutique ──────────────────────────────────────────── */
.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.shop-info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-5);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.shop-info-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.shop-info-card h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--text-small);
  margin-bottom: var(--sp-1);
}
.shop-info-card p {
  font-size: var(--text-caption);
  color: var(--gray-500);
  line-height: var(--lh-relaxed);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .shop-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .filter-btn { font-size: var(--text-caption); padding: var(--sp-1) var(--sp-3); }
}
