/* ============================================================
   Shop-Elec — Brand Pages SEO Styles
   Fichier dédié : /themes/at_movic/assets/css/se-brand-pages.css
   Chargé uniquement sur les pages /brand/* via manufacturer.tpl
   Ne PAS mélanger à custom.css : fichier autonome et résilient
   ============================================================ */

/* H1 page marque */
.se-brand-h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #1a2335 !important;
  margin-bottom: 16px !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

/* ── DESCRIPTION COURTE — au-dessus des produits ── */
#manufacturer-short_description.se-brand-short-desc {
  background: #fafafa;
  border-left: 4px solid #d4001a;
  border-radius: 0 4px 4px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #374151;
}

#manufacturer-short_description.se-brand-short-desc p {
  margin: 0 0 10px 0 !important;
  font-size: 0.92rem !important;
  color: #374151 !important;
}

#manufacturer-short_description.se-brand-short-desc p:last-child {
  margin-bottom: 0 !important;
}

#manufacturer-short_description.se-brand-short-desc ul {
  padding-left: 0 !important;
  list-style: none !important;
  margin: 8px 0 0 0 !important;
}

#manufacturer-short_description.se-brand-short-desc li {
  padding: 5px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-size: 0.92rem !important;
  color: #374151 !important;
  list-style: none !important;
}

#manufacturer-short_description.se-brand-short-desc li:last-child {
  border-bottom: none !important;
}

#manufacturer-short_description.se-brand-short-desc strong {
  color: #1a2335 !important;
  font-weight: 700 !important;
}

#manufacturer-short_description.se-brand-short-desc a {
  color: #3C5C9D !important;
  text-decoration: underline !important;
}

/* ── DESCRIPTION LONGUE — après la pagination ── */
#manufacturer-description.se-brand-long-desc {
  margin-top: 48px;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid #e4e8ec;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #374151;
}

/* Barre rouge en haut */
#manufacturer-description.se-brand-long-desc::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(to right, #d4001a, #3C5C9D);
  margin: -32px -28px 28px -28px;
}

#manufacturer-description.se-brand-long-desc h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #1a2335 !important;
  border-left: 4px solid #d4001a !important;
  padding-left: 14px !important;
  margin: 28px 0 12px 0 !important;
  line-height: 1.3 !important;
}

#manufacturer-description.se-brand-long-desc h2:first-of-type {
  margin-top: 0 !important;
}

#manufacturer-description.se-brand-long-desc h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #3C5C9D !important;
  margin: 20px 0 8px 0 !important;
  padding-left: 10px !important;
  border-left: 3px solid #3C5C9D !important;
  line-height: 1.4 !important;
}

#manufacturer-description.se-brand-long-desc p {
  margin: 0 0 12px 0 !important;
  font-size: 0.92rem !important;
  color: #374151 !important;
  line-height: 1.75 !important;
}

#manufacturer-description.se-brand-long-desc strong {
  color: #1a2335 !important;
  font-weight: 700 !important;
}

#manufacturer-description.se-brand-long-desc ul {
  padding-left: 0 !important;
  list-style: none !important;
  margin: 8px 0 16px 0 !important;
}

#manufacturer-description.se-brand-long-desc ul li {
  padding: 6px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  list-style: none !important;
  font-size: 0.92rem !important;
  color: #374151 !important;
  line-height: 1.65 !important;
}

#manufacturer-description.se-brand-long-desc ul li:last-child {
  border-bottom: none !important;
}

/* Tableau nomenclature */
#manufacturer-description.se-brand-long-desc table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 16px 0 24px 0 !important;
  font-size: 0.88rem !important;
  background: #fff !important;
}

#manufacturer-description.se-brand-long-desc table th {
  background: #1a2335 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
  text-align: left !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border: 1px solid #0f1825 !important;
}

#manufacturer-description.se-brand-long-desc table td {
  padding: 10px 14px !important;
  border: 1px solid #e5e7eb !important;
  vertical-align: top !important;
  color: #374151 !important;
}

#manufacturer-description.se-brand-long-desc table tr:nth-child(even) td {
  background: #f8fafc !important;
}

/* Liens internes */
#manufacturer-description.se-brand-long-desc a {
  color: #3C5C9D !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

#manufacturer-description.se-brand-long-desc a:hover {
  color: #d4001a !important;
}

/* JSON-LD : dans le DOM pour Googlebot, invisible visuellement */
#manufacturer-description.se-brand-long-desc script {
  display: none !important;
}

/* ── Responsive mobile ── */
@media (max-width: 767px) {
  .se-brand-h1 {
    font-size: 1.3rem !important;
  }
  #manufacturer-short_description.se-brand-short-desc {
    padding: 14px 16px;
  }
  #manufacturer-description.se-brand-long-desc {
    padding: 20px 16px;
    margin-top: 32px;
  }
  #manufacturer-description.se-brand-long-desc::before {
    margin: -20px -16px 20px -16px;
  }
  #manufacturer-description.se-brand-long-desc table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}
