/* =====================================================
   PARTAGÉ — fil d'Ariane, en-têtes de section
===================================================== */
.breadcrumb-bar { background: #111111; padding: 10px 0; border-bottom: 1px solid #222; overflow-x: hidden; }
.breadcrumb-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb-list > li { display: flex; align-items: center; }
.bc-link { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; line-height: 1; }
.bc-link:hover { color: var(--color-primary); }
.bc-sep { color: rgba(255,255,255,0.3); font-size: 11px; line-height: 1; }
.bc-current { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; line-height: 1; }

.section-white { padding: 48px 0; background: white; }
.section-light { padding: 48px 0; background: #F5F5F5; border-top: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; }
.section-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.section-bar { width: 4px; height: 26px; background: var(--color-primary); flex-shrink: 0; border-radius: 2px; }
.section-title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 16px; text-transform: uppercase; color: #111111; letter-spacing: 0.5px; margin: 0; }
.section-line { flex: 1; height: 1px; background: #E5E5E5; }
.section-meta { font-family: 'Inter', sans-serif; font-size: 11px; color: #999; white-space: nowrap; flex-shrink: 0; }
.no-products { font-family: 'Inter', sans-serif; font-size: 14px; color: #666; }

/* =====================================================
   HERO CATÉGORIE / MARQUE (fond noir)
===================================================== */
.cat-hero, .brand-hero { background: #111111; padding: 48px 0; border-bottom: 3px solid var(--color-primary); }
.cat-hero-inner, .brand-hero-inner { display: flex; align-items: flex-start; gap: 28px; }
.cat-hero-icon, .brand-hero-icon {
  width: 72px; height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-primary); color: var(--color-primary);
}
.cat-hero-text, .brand-hero-text { display: flex; flex-direction: column; gap: 10px; }
.cat-hero-label, .brand-hero-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--color-primary); margin: 0; }
.bc-cat-link { color: var(--color-primary); text-decoration: none; transition: opacity 0.15s; }
.bc-cat-link:hover { opacity: 0.7; }
.cat-hero-title, .brand-hero-title { font-family: 'Inter', sans-serif; font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: white; margin: 0; line-height: 1.1; }
.cat-hero-desc, .brand-hero-desc { font-family: 'Inter', sans-serif; font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; max-width: 620px; line-height: 1.65; }
.cat-hero-count, .brand-hero-count {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: white; background: var(--color-primary); padding: 4px 12px;
}

/* =====================================================
   HERO — chips (archive sous-type lave-vaisselle)
===================================================== */
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-block; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); padding: 4px 10px; }

/* =====================================================
   TOP 10 (archive sous-type lave-vaisselle)
===================================================== */
.top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.top-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #F9F9F9; border: 1px solid #E5E5E5; transition: border-color 0.15s; }
.top-row:hover { border-color: var(--color-primary); }
.top-rank { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; }
.top-img-wrap { width: 52px; height: 52px; flex-shrink: 0; background: white; border: 1px solid #E5E5E5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.top-img { width: 52px; height: 52px; object-fit: contain; padding: 4px; }
.top-img-placeholder { width: 52px; height: 52px; background: #F0F0F0; display: block; }
.top-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.top-name { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: #111; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.15s; }
.top-name:hover { color: var(--color-primary); }
.top-brand { font-family: 'Inter', sans-serif; font-size: 11px; color: #666; text-decoration: none; }
.top-brand:hover { color: var(--color-primary); text-decoration: underline; }
.top-energy-img { width: auto; height: 28px; flex-shrink: 0; }
.top-score { flex-shrink: 0; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 800; color: white; padding: 4px 8px; min-width: 36px; text-align: center; }

/* =====================================================
   GRILLE DE MARQUES (archive sous-type lave-vaisselle)
===================================================== */
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.brand-card-wrap { display: flex; flex-direction: column; gap: 4px; }
.brand-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: white; border: 1px solid #E5E5E5; transition: border-color 0.15s, box-shadow 0.15s; text-decoration: none; }
.brand-card:hover { border-color: var(--color-primary); box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.brand-name { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 800; color: #111; }
.brand-count { font-family: 'Inter', sans-serif; font-size: 11px; color: #767676; }
.brand-cta { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: var(--color-primary); margin-top: 4px; }
.brand-all-link { font-family: 'Inter', sans-serif; font-size: 10px; color: #767676; text-decoration: none; padding: 0 4px; }
.brand-all-link:hover { color: var(--color-primary); text-decoration: underline; }

@media (max-width: 640px) {
  .top-row { padding: 8px 10px; gap: 8px; }
  .top-img-wrap, .top-img, .top-img-placeholder { width: 40px; height: 40px; }
}

/* =====================================================
   GRILLE + CARTE PRODUIT (archives catégorie / marque)
===================================================== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .products-grid { grid-template-columns: 1fr; } }

.p-card { background: white; border: 1px solid #E5E5E5; display: flex; flex-direction: column; transition: box-shadow 0.2s, border-color 0.2s; position: relative; }
.p-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); border-color: #CCCCCC; cursor: pointer; }
.p-card-img { position: relative; height: 160px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #E5E5E5; overflow: hidden; }
.p-card-photo { width: 100%; height: 160px; object-fit: contain; padding: 10px; }
.p-card-fallback { width: 100%; height: 160px; display: flex; align-items: center; justify-content: center; }
.p-score-badge { position: absolute; bottom: 8px; right: 8px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 800; color: white; padding: 4px 8px; line-height: 1; }
.p-rank-badge { position: absolute; top: 8px; left: 8px; font-family: 'Inter', sans-serif; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: white; padding: 3px 6px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.p-card-top { min-height: 22px; }
.p-card-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.p-energy-img, .p-repair-img { width: auto; height: auto; display: block; max-height: 40px; }
.p-card-name { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 13px; color: #111111; margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card-retailers { font-family: 'Inter', sans-serif; font-size: 10px; color: #999; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card-excerpt { font-family: 'Inter', sans-serif; font-size: 11px; color: #666; line-height: 1.55; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-primary); transition: gap 0.15s; }
.p-card-cta::after { content: ''; position: absolute; inset: 0; }
.p-card:hover .p-card-cta { gap: 10px; }

/* =====================================================
   BANDEAU CONFIANCE
===================================================== */
.trust-section { padding: 44px 0; background: #111111; border-top: 3px solid var(--color-primary); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.trust-icon-wrap { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--color-primary); }
.trust-svg { width: 22px; height: 22px; stroke: var(--color-primary); }
.trust-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; color: white; margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.trust-desc { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }

/* =====================================================
   BARRE DE FILTRE / TRI (archive marque)
===================================================== */
.filter-wrap { margin-bottom: 28px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; color: var(--color-primary); background: white;
  border: 2px solid var(--color-primary); padding: 9px 18px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.filter-btn:hover, .filter-btn[aria-expanded="true"] { background: var(--color-primary); color: white; }
.filter-caret { transition: transform 0.2s ease; flex-shrink: 0; }
.filter-btn[aria-expanded="true"] .filter-caret { transform: rotate(180deg); }
.filter-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #F8F9FA; border: 1.5px solid #E5E5E5; border-top: none; }
.filter-panel--open { max-height: 240px; }
.filter-inner { display: flex; align-items: center; padding: 14px 20px 12px; flex-wrap: wrap; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.f-chip { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: #555; background: white; border: 1.5px solid #DDDDDD; padding: 6px 14px; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; white-space: nowrap; }
.f-chip:not(.f-chip--active):hover { border-color: var(--color-primary); color: var(--color-primary); background: white; }
.f-chip--active { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.filter-energy-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 20px 14px; border-top: 1px solid #E5E5E5; }
.filter-energy-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; white-space: nowrap; flex-shrink: 0; }
.e-chip { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: #555; background: white; border: 1.5px solid #DDDDDD; padding: 5px 12px; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; white-space: nowrap; letter-spacing: 0.3px; }
.e-chip:not(.e-chip--active):hover { border-color: var(--color-primary); color: var(--color-primary); background: white; }
.e-chip--active { background: var(--color-primary); border-color: var(--color-primary); color: white; }
@media (max-width: 640px) {
  .filter-inner { padding: 12px 14px 10px; }
  .filter-energy-row { padding: 8px 14px 12px; gap: 8px; }
  .filter-chips { gap: 6px; }
  .f-chip, .e-chip { font-size: 10px; padding: 5px 10px; }
  .filter-panel--open { max-height: 320px; }
}

/* =====================================================
   HERO FICHE PRODUIT
===================================================== */
.product-hero { background: white; padding: 40px 0 48px; overflow-x: hidden; }
.hero-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

.img-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.img-wrap { background: #FFFFFF; border: 1px solid #E5E5E5; display: flex; align-items: center; justify-content: center; min-height: 280px; overflow: hidden; position: relative; }
.product-img { width: 100%; height: 280px; object-fit: contain; padding: 16px; }
.img-fallback { width: 100%; height: 280px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 480px) {
  .img-wrap { min-height: 220px; }
  .product-img, .img-fallback { height: 220px; }
}
.img-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.label-energy-img, .label-repair-img { width: auto; height: auto; display: block; max-height: 80px; max-width: 100%; }

.details-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.product-category-pill { display: flex; gap: 8px; flex-wrap: wrap; }
.category-pill-link {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--color-primary); border: 1.5px solid var(--color-primary); padding: 4px 10px;
}
.category-pill-link:hover { background: var(--color-primary); color: white; }
.brand-pill-link {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: #555; border: 1.5px solid #CCCCCC; padding: 4px 10px;
}
.brand-pill-link:hover { background: #111; color: white; border-color: #111; }
.rank-badge {
  display: inline-block; width: fit-content; max-width: 100%; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.8px; color: white; padding: 5px 12px; overflow-wrap: break-word; word-break: break-word;
}
.product-title { font-family: 'Inter', sans-serif; font-size: clamp(20px, 3.5vw, 32px); font-weight: 800; color: #111111; margin: 0; line-height: 1.2; overflow-wrap: break-word; word-break: break-word; }

.score-block { display: flex; align-items: center; gap: 20px; padding: 20px; background: #F5F5F5; border-left: 4px solid var(--color-primary); flex-wrap: wrap; }
@media (max-width: 420px) { .score-block { padding: 14px 16px; gap: 14px; } .score-num { font-size: 36px; } }
.score-circle { display: flex; align-items: baseline; gap: 3px; flex-shrink: 0; }
.score-num { font-family: 'Inter', sans-serif; font-size: 44px; font-weight: 800; color: #111111; line-height: 1; }
.score-denom { font-family: 'Inter', sans-serif; font-size: 18px; color: #666666; }
.score-details { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stars-row { display: flex; gap: 4px; flex-wrap: wrap; }
.star-filled { fill: var(--color-primary); stroke: var(--color-primary); }
.star-empty  { fill: #E5E5E5; stroke: #CCCCCC; }
.score-detail-line { font-family: 'Inter', sans-serif; font-size: 13px; color: #555; margin: 0; overflow-wrap: break-word; word-break: break-word; }
.score-detail-line strong { color: #111111; }

.retailers-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #767676; margin-bottom: 10px; }
.retailers-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.retailer-btn {
  display: inline-flex; align-items: center; gap: 8px; background: white; color: #111111; border: 1px solid #E5E5E5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08); font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; padding: 10px 14px; transition: background 0.2s, box-shadow 0.2s; cursor: pointer;
}
.retailer-btn:hover { background: #F5F5F5; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.retailer-logo-chip { display: inline-flex; align-items: center; justify-content: center; background: #F5F5F5; padding: 2px 6px; height: 24px; border: 1px solid #E5E5E5; }
.retailer-btn-logo { height: 14px; width: auto; object-fit: contain; }

/* =====================================================
   POINTS CLÉS + CRITÈRES D'ÉVALUATION
===================================================== */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; gap: 32px; } }
.features-col, .chars-col { min-width: 0; }
.features-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0 0 0 4px; list-style: none; }
.features-list li {
  font-family: 'Inter', sans-serif; font-size: 14px; color: #333; line-height: 1.6; padding: 10px 14px; background: white;
  border-left: 3px solid var(--color-primary); overflow-wrap: break-word; word-break: break-word; hyphens: auto; min-width: 0;
}
.features-list * { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }

.chars-list { display: flex; flex-direction: column; gap: 10px; }
.char-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.char-label { font-family: 'Inter', sans-serif; font-size: 12px; color: #555; flex: 1; min-width: 0; overflow-wrap: break-word; word-break: break-word; line-height: 1.4; }
.char-bar-track { width: 100px; height: 6px; background: #E5E5E5; flex-shrink: 0; }
.char-bar-fill { height: 100%; background: var(--color-primary); }
.char-val { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; color: #111; width: 28px; text-align: right; flex-shrink: 0; }
@media (max-width: 480px) {
  .char-label { font-size: 11px; }
  .char-bar-track { width: 60px; }
  .char-val { font-size: 11px; }
}

/* =====================================================
   OÙ ACHETER
===================================================== */
.retailers-grid { display: flex; flex-direction: column; gap: 12px; }
.retailer-card { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #F9F9F9; border: 1px solid #E5E5E5; gap: 16px; flex-wrap: wrap; }
.retailer-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.retailer-logo { height: 28px; width: auto; object-fit: contain; max-width: 110px; }
.retailer-name { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; color: #111111; overflow-wrap: break-word; word-break: break-word; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; background: var(--color-primary); color: white;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 10px 18px; transition: background 0.2s; white-space: nowrap; flex-shrink: 0; cursor: pointer;
}
.btn-primary:hover { background: var(--color-primary-dark); }

/* =====================================================
   VOUS POURRIEZ AIMER
===================================================== */
.section-similar { padding: 48px 0; background: #F5F5F5; border-top: 1px solid #E5E5E5; overflow-x: hidden; }
.similar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .similar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .similar-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.sim-card { background: white; border: 1px solid #E5E5E5; display: flex; flex-direction: column; transition: box-shadow 0.2s, border-color 0.2s; position: relative; }
.sim-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); border-color: #CCCCCC; }
.sim-img-wrap { position: relative; height: 140px; background: white; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #E5E5E5; overflow: hidden; }
.sim-img { width: 100%; height: 140px; object-fit: contain; padding: 10px; }
.sim-img-fallback { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; }
.sim-score { position: absolute; bottom: 7px; right: 7px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; color: white; padding: 3px 7px; line-height: 1; }
.sim-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.sim-brand { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #999; margin: 0; }
.sim-title { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; color: #111; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sim-cta { margin-top: auto; padding-top: 6px; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-primary); }

.section-light, .section-white { overflow-x: hidden; }
