/*
  Bricolaj-Mag - CSS global modular pentru articole blog
  Versiune: sistem de componente reutilizabile

  Principiu:
  - Nu folosim template-uri fixe pentru articole.
  - Fiecare articol se construieste din componente independente.
  - Toate clasele sunt izolate in containerul .bm-blog.
  - Nu se stilizeaza body, header, footer, nav, breadcrumbs sau elemente globale ale temei.

  Structura de baza recomandata:
  <article class="bm-blog">
    <div class="bm-article-intro bm-intro-01">...</div>
    <section class="bm-section">...</section>
  </article>

  Culoare principala Bricolaj-Mag:
  #e8e000
*/

/* =========================================================
   01. Fundatie si variabile locale
   ========================================================= */

.bm-blog,
.bm-blog * {
  box-sizing: border-box;
}

.bm-blog {
  --bm-primary: #e8e000;
  --bm-primary-dark: #cfc800;
  --bm-primary-soft: #fffde3;
  --bm-text: #132033;
  --bm-muted: #526173;
  --bm-muted-2: #738195;
  --bm-border: #e4e8ef;
  --bm-border-strong: #cfd7e3;
  --bm-bg: #ffffff;
  --bm-bg-soft: #f7f9fc;
  --bm-bg-soft-2: #eef3f8;
  --bm-bg-dark: #111827;
  --bm-success: #16a34a;
  --bm-success-soft: #ecfdf3;
  --bm-warning: #f97316;
  --bm-warning-soft: #fff7ed;
  --bm-danger: #dc2626;
  --bm-danger-soft: #fef2f2;
  --bm-info: #2563eb;
  --bm-info-soft: #eff6ff;
  --bm-shadow-soft: none;
  --bm-shadow-card: none;
  --bm-radius-sm: 8px;
  --bm-radius-md: 14px;
  --bm-radius-lg: 22px;
  --bm-radius-xl: 30px;
  --bm-max-width: 980px;
  --bm-content-width: 760px;
  max-width: var(--bm-max-width);
  margin: 0 auto;
  padding: 24px 16px 56px;
  color: var(--bm-text);
  background: transparent;
  font-size: 17px;
  line-height: 1.75;
}

.bm-blog h1,
.bm-blog h2,
.bm-blog h3,
.bm-blog h4 {
  margin: 0 0 12px;
  color: var(--bm-text);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bm-blog h1 {
  font-size: clamp(31px, 5vw, 46px);
  margin-bottom: 18px;
}

.bm-blog h2 {
  font-size: clamp(24px, 4vw, 33px);
  margin-bottom: 14px;
}

.bm-blog h3 {
  font-size: clamp(19px, 2.8vw, 23px);
}

.bm-blog h4 {
  font-size: 18px;
}

.bm-blog p {
  margin: 0 0 18px;
}

.bm-blog p:last-child {
  margin-bottom: 0;
}

.bm-blog a {
  color: inherit;
}

.bm-blog a:not(.bm-button):not(.bm-product-button) {
  font-weight: 700;
  text-decoration-color: var(--bm-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.bm-blog img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bm-blog ul,
.bm-blog ol {
  margin: 14px 0 18px;
  padding-left: 22px;
}

.bm-blog li {
  margin-bottom: 8px;
}

.bm-blog strong {
  color: var(--bm-text);
}

/* Compatibilitate: ascundem badge-urile vechi, pentru a evita tag-uri vizuale nedorite */
.bm-blog .bm-eyebrow,
.bm-blog .bm-product-label,
.bm-blog .bm-rank-badge,
.bm-blog .bm-badge {
  display: none !important;
}

/* =========================================================
   02. Layout general si utilitare
   ========================================================= */

.bm-section {
  margin: 44px 0;
}

.bm-section-narrow {
  max-width: var(--bm-content-width);
}

.bm-section-card {
  padding: 28px;
  background: var(--bm-bg);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  box-shadow: none;
}

.bm-section-soft {
  padding: 28px;
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}

.bm-section-accent {
  padding: 28px;
  background: linear-gradient(135deg, var(--bm-primary-soft), #ffffff 70%);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}

.bm-grid-2,
.bm-grid-3,
.bm-grid-4,
.bm-auto-grid {
  display: grid;
  gap: 18px;
  margin: 22px 0;
}

.bm-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bm-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bm-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bm-auto-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  margin: 28px 0;
}

.bm-split-reverse {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
}

.bm-muted {
  color: var(--bm-muted);
}

.bm-small {
  font-size: 15px;
}

.bm-center {
  text-align: center;
}

.bm-mt-0 { margin-top: 0 !important; }
.bm-mt-sm { margin-top: 16px !important; }
.bm-mt-md { margin-top: 28px !important; }
.bm-mt-lg { margin-top: 44px !important; }
.bm-mb-0 { margin-bottom: 0 !important; }
.bm-mb-sm { margin-bottom: 16px !important; }
.bm-mb-md { margin-bottom: 28px !important; }
.bm-mb-lg { margin-bottom: 44px !important; }

/* =========================================================
   03. Butoane si linkuri de actiune
   ========================================================= */

.bm-button,
.bm-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #111111;
  border-radius: var(--bm-radius-sm);
  background: #111111;
  color: var(--bm-primary) !important;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bm-button:hover,
.bm-button:focus,
.bm-product-button:hover,
.bm-product-button:focus {
  background: var(--bm-primary);
  border-color: var(--bm-primary);
  color: #111111 !important;
}

.bm-button-outline {
  background: transparent;
  color: var(--bm-text) !important;
  border-color: var(--bm-border-strong);
}

.bm-button-outline:hover,
.bm-button-outline:focus {
  background: var(--bm-primary);
  border-color: var(--bm-primary);
  color: #111111 !important;
}

.bm-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

/* =========================================================
   04. Introduceri articol - 10 variante
   ========================================================= */

.bm-article-intro {
  position: relative;
  margin-bottom: 42px;
  overflow: hidden;
}

.bm-article-intro .bm-lead,
.bm-lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--bm-muted);
  font-size: 19px;
  line-height: 1.65;
}

.bm-intro-01 {
  padding: 38px;
  background: linear-gradient(135deg, var(--bm-primary-soft), #ffffff 72%);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-xl);
}

.bm-intro-02 {
  padding: 38px;
  background: var(--bm-bg);
  border: 1px solid var(--bm-border);
  border-left: 8px solid var(--bm-primary);
  border-radius: var(--bm-radius-xl);
  box-shadow: none;
}

.bm-intro-03 {
  padding: 40px;
  background: var(--bm-bg-dark);
  color: #ffffff;
  border-radius: var(--bm-radius-xl);
}

.bm-intro-03 h1,
.bm-intro-03 .bm-lead {
  color: #ffffff;
}

.bm-intro-03 .bm-lead {
  opacity: 0.88;
}

.bm-intro-04 {
  padding: 36px;
  background: radial-gradient(circle at top right, var(--bm-primary-soft), #ffffff 48%);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-xl);
  box-shadow: none;
}

.bm-intro-05 {
  padding: 34px 0 28px;
  border-top: 4px solid var(--bm-primary);
  border-bottom: 1px solid var(--bm-border);
}

.bm-intro-06 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-xl);
}

.bm-intro-06::after {
  content: "";
  min-height: 160px;
  border-radius: var(--bm-radius-lg);
  background: linear-gradient(135deg, var(--bm-primary), #ffffff);
  box-shadow: none;
}

.bm-intro-07 {
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, var(--bm-bg-soft) 100%);
  border: 1px dashed var(--bm-border-strong);
  border-radius: var(--bm-radius-xl);
}

.bm-intro-08 {
  padding: 36px;
  background: var(--bm-primary-soft);
  border: 1px solid rgba(232, 224, 0, 0.48);
  border-radius: 0 var(--bm-radius-xl) var(--bm-radius-xl) var(--bm-radius-xl);
}

.bm-intro-09 {
  padding: 36px;
  background: var(--bm-bg);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-xl);
  box-shadow: none;
}

.bm-intro-09::before {
  content: "";
  display: block;
  width: 92px;
  height: 7px;
  margin-bottom: 22px;
  background: var(--bm-primary);
  border-radius: 999px;
}

.bm-intro-10 {
  padding: 34px;
  background: linear-gradient(90deg, #ffffff 0%, var(--bm-primary-soft) 100%);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-xl);
}

/* =========================================================
   05. Rezumat rapid / TLDR - 10 variante
   ========================================================= */

.bm-summary {
  margin: 28px 0;
  padding: 22px;
  border-radius: var(--bm-radius-lg);
}

.bm-summary h2,
.bm-summary h3 {
  margin-bottom: 10px;
}

.bm-summary-01 { background: var(--bm-primary-soft); border: 1px solid rgba(232, 224, 0, 0.7); }
.bm-summary-02 { background: var(--bm-bg-soft); border-left: 6px solid var(--bm-primary); }
.bm-summary-03 { background: var(--bm-bg-dark); color: #ffffff; }
.bm-summary-03 h2, .bm-summary-03 h3, .bm-summary-03 p, .bm-summary-03 li { color: #ffffff; }
.bm-summary-04 { background: #ffffff; border: 1px solid var(--bm-border); box-shadow: none; }
.bm-summary-05 { background: linear-gradient(135deg, var(--bm-primary-soft), #ffffff); border: 1px solid var(--bm-border); }
.bm-summary-06 { background: var(--bm-info-soft); border-left: 6px solid var(--bm-info); }
.bm-summary-07 { background: var(--bm-success-soft); border-left: 6px solid var(--bm-success); }
.bm-summary-08 { background: var(--bm-warning-soft); border-left: 6px solid var(--bm-warning); }
.bm-summary-09 { background: #ffffff; border: 2px dashed var(--bm-primary); }
.bm-summary-10 { background: var(--bm-bg-soft); box-shadow: none; }

/* =========================================================
   06. Cartonase de enumerare - 10 variante
   ========================================================= */

.bm-enum-list,
.bm-card-list {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.bm-enum-list.bm-cols-2,
.bm-card-list.bm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bm-enum-list.bm-cols-3,
.bm-card-list.bm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-enum-list.bm-cols-4,
.bm-card-list.bm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bm-enum-card {
  position: relative;
  padding: 22px;
  background: var(--bm-bg);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}

.bm-enum-card h3,
.bm-enum-card h4 {
  margin-bottom: 8px;
}

.bm-enum-card p {
  color: var(--bm-muted);
}

.bm-enum-01 { background: var(--bm-bg-soft); }
.bm-enum-02 { border-left: 6px solid var(--bm-primary); box-shadow: none; }
.bm-enum-03 { background: var(--bm-primary-soft); border-color: rgba(232, 224, 0, 0.6); }
.bm-enum-04 { border-top: 6px solid var(--bm-primary); }
.bm-enum-05 { box-shadow: none; }
.bm-enum-06 { background: #ffffff; border-style: dashed; }
.bm-enum-07 { background: linear-gradient(135deg, #ffffff, var(--bm-bg-soft)); }
.bm-enum-08 { background: var(--bm-bg-dark); color: #ffffff; }
.bm-enum-08 h3, .bm-enum-08 h4, .bm-enum-08 p { color: #ffffff; }
.bm-enum-09 { border-radius: var(--bm-radius-sm); box-shadow: none; }
.bm-enum-10 { background: #ffffff; border-bottom: 6px solid var(--bm-primary); }

.bm-enum-numbered {
  counter-reset: bm-enum;
}

.bm-enum-numbered .bm-enum-card {
  padding-left: 76px;
}

.bm-enum-numbered .bm-enum-card::before {
  counter-increment: bm-enum;
  content: counter(bm-enum);
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-primary);
  color: #111111;
  font-weight: 900;
  border-radius: 50%;
}

/* =========================================================
   07. Cartonase de produs - baza comuna
   ========================================================= */

.bm-product-section {
  margin: 50px 0;
}

.bm-product-section-title {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bm-border);
}

.bm-product-card {
  margin: 26px 0;
  padding: 24px;
  background: var(--bm-bg);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  box-shadow: none;
}

.bm-product-title {
  margin-bottom: 18px;
  color: #000000 !important;
}

.bm-product-title a,
.bm-product-title a:visited {
  color: #000000 !important;
  text-decoration: underline;
  text-decoration-color: var(--bm-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.bm-product-title a:hover,
.bm-product-title a:focus {
  color: #000000 !important;
}

.bm-product-top {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.bm-product-media {
  align-self: start;
}

.bm-product-media a {
  display: block;
  text-decoration: none;
}

.bm-product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}

.bm-product-summary {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.bm-product-summary p {
  color: var(--bm-muted);
}

.bm-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.bm-product-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.bm-product-detail-card {
  padding: 18px;
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}

.bm-product-detail-card h4,
.bm-product-detail-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.bm-product-detail-card ul,
.bm-product-detail-card ol {
  margin-bottom: 0;
}

.bm-product-detail-card li {
  margin-bottom: 6px;
}

.bm-product-recommendation {
  background: var(--bm-primary-soft);
  border-color: rgba(232, 224, 0, 0.65);
}

/* =========================================================
   09. Liste speciale, checklist, pro si contra
   ========================================================= */

.bm-checklist,
.bm-clean-list,
.bm-warning-list {
  list-style: none;
  padding-left: 0 !important;
}

.bm-checklist li,
.bm-clean-list li,
.bm-warning-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}

.bm-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-primary);
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
}

.bm-clean-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--bm-primary);
  border-radius: 50%;
}

.bm-warning-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-warning);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
}

.bm-pro-contra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.bm-pro-box,
.bm-contra-box {
  padding: 22px;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}

.bm-pro-box { background: var(--bm-success-soft); border-left: 5px solid var(--bm-success); }
.bm-contra-box { background: var(--bm-warning-soft); border-left: 5px solid var(--bm-warning); }

/* =========================================================
   10. Pasi, timeline si proces
   ========================================================= */

.bm-step-list {
  counter-reset: bm-step;
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.bm-step {
  position: relative;
  padding: 22px 22px 22px 78px;
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}

.bm-step::before {
  counter-increment: bm-step;
  content: counter(bm-step);
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-primary);
  color: #111111;
  font-weight: 900;
  border-radius: 50%;
}

.bm-step h3 {
  margin-bottom: 6px;
}

.bm-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 30px 0;
  padding-left: 28px;
}

.bm-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--bm-border-strong);
}

.bm-timeline-item {
  position: relative;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}

.bm-timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--bm-primary);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: none;
}

/* =========================================================
   11. Callout-uri si casete informationale - 10 variante
   ========================================================= */

.bm-callout,
.bm-highlight-box,
.bm-tip-box,
.bm-warning-box,
.bm-note-box,
.bm-danger-box {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}

.bm-callout h3,
.bm-highlight-box h3,
.bm-tip-box h3,
.bm-warning-box h3,
.bm-note-box h3,
.bm-danger-box h3 {
  margin-bottom: 8px;
}

.bm-callout-01,
.bm-highlight-box { background: var(--bm-primary-soft); border-left: 6px solid var(--bm-primary); }
.bm-callout-02,
.bm-tip-box { background: var(--bm-success-soft); border-left: 6px solid var(--bm-success); }
.bm-callout-03,
.bm-warning-box { background: var(--bm-warning-soft); border-left: 6px solid var(--bm-warning); }
.bm-callout-04,
.bm-note-box { background: var(--bm-info-soft); border-left: 6px solid var(--bm-info); }
.bm-callout-05,
.bm-danger-box { background: var(--bm-danger-soft); border-left: 6px solid var(--bm-danger); }
.bm-callout-06 { background: #ffffff; border: 2px dashed var(--bm-primary); }
.bm-callout-07 { background: var(--bm-bg-dark); color: #ffffff; }
.bm-callout-07 h3, .bm-callout-07 p, .bm-callout-07 li { color: #ffffff; }
.bm-callout-08 { background: linear-gradient(135deg, #ffffff, var(--bm-primary-soft)); box-shadow: none; }
.bm-callout-09 { background: var(--bm-bg-soft); box-shadow: none; }
.bm-callout-10 { background: #ffffff; border-top: 6px solid var(--bm-primary); box-shadow: none; }

/* =========================================================
   12. Probleme, cauze, solutii, greseli frecvente
   ========================================================= */

.bm-problem-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.bm-problem-card {
  padding: 22px;
  background: var(--bm-bg);
  border: 1px solid var(--bm-border);
  border-left: 6px solid var(--bm-primary);
  border-radius: var(--bm-radius-md);
  box-shadow: none;
}

.bm-problem-card h3 {
  margin-bottom: 8px;
}

.bm-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.bm-solution-card {
  padding: 18px;
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}

/* =========================================================
   13. Tabele responsive si comparatii
   ========================================================= */

.bm-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  background: #ffffff;
}

.bm-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
}

.bm-table th,
.bm-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bm-border);
  text-align: left;
  vertical-align: top;
}

.bm-table th {
  background: var(--bm-primary-soft);
  color: var(--bm-text);
  font-weight: 900;
}

.bm-table tr:last-child td {
  border-bottom: 0;
}

.bm-table-striped tbody tr:nth-child(even) td {
  background: var(--bm-bg-soft);
}

/* =========================================================
   14. Media, imagini, galerii, video
   ========================================================= */

.bm-media-card {
  margin: 28px 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  box-shadow: none;
}

.bm-media-card img {
  width: 100%;
  border-radius: var(--bm-radius-md);
}

.bm-caption {
  margin-top: 10px;
  color: var(--bm-muted);
  font-size: 14px;
  line-height: 1.5;
}

.bm-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.bm-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--bm-radius-md);
  border: 1px solid var(--bm-border);
}

.bm-video {
  position: relative;
  width: 100%;
  margin: 28px 0;
  overflow: hidden;
  border-radius: var(--bm-radius-lg);
  background: var(--bm-bg-dark);
}

.bm-video::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.bm-video iframe,
.bm-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   15. Citate, statistici, accent editorial
   ========================================================= */

.bm-quote {
  margin: 32px 0;
  padding: 26px;
  background: var(--bm-bg-soft);
  border-left: 6px solid var(--bm-primary);
  border-radius: var(--bm-radius-lg);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
}

.bm-pullquote {
  margin: 34px auto;
  max-width: 720px;
  padding: 28px;
  text-align: center;
  border-top: 4px solid var(--bm-primary);
  border-bottom: 4px solid var(--bm-primary);
  font-size: 23px;
  line-height: 1.45;
  font-weight: 800;
}

.bm-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.bm-stat-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  box-shadow: none;
}

.bm-stat-value {
  display: block;
  margin-bottom: 6px;
  color: var(--bm-text);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.bm-stat-label {
  color: var(--bm-muted);
  font-size: 15px;
}

/* =========================================================
   16. FAQ - 10 variante
   ========================================================= */

.bm-faq {
  margin: 52px 0 20px;
}

.bm-faq-title {
  margin-bottom: 20px;
}

.bm-faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--bm-border);
}

.bm-faq-item h3 {
  margin-bottom: 8px;
}

.bm-faq-item p {
  color: var(--bm-muted);
}

.bm-faq-01 { padding: 30px; background: var(--bm-bg-soft); border-radius: var(--bm-radius-lg); }
.bm-faq-02 { padding: 30px; background: #ffffff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-lg); box-shadow: none; }
.bm-faq-03 { padding: 30px; background: var(--bm-primary-soft); border-radius: var(--bm-radius-lg); }
.bm-faq-04 { padding: 0; border-top: 4px solid var(--bm-primary); }
.bm-faq-05 .bm-faq-item { margin-bottom: 14px; padding: 18px; background: #ffffff; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); }
.bm-faq-06 { padding: 30px; background: var(--bm-bg-dark); color: #ffffff; border-radius: var(--bm-radius-lg); }
.bm-faq-06 h2, .bm-faq-06 h3, .bm-faq-06 p { color: #ffffff; }
.bm-faq-07 { padding: 30px; background: linear-gradient(135deg, #ffffff, var(--bm-primary-soft)); border: 1px solid var(--bm-border); border-radius: var(--bm-radius-lg); }
.bm-faq-08 .bm-faq-item { padding-left: 20px; border-left: 5px solid var(--bm-primary); background: var(--bm-bg-soft); margin-bottom: 14px; border-bottom: 0; border-radius: var(--bm-radius-md); }
.bm-faq-09 { padding: 30px; border: 2px dashed var(--bm-border-strong); border-radius: var(--bm-radius-lg); }
.bm-faq-10 { padding: 30px; background: #ffffff; border-bottom: 6px solid var(--bm-primary); border-radius: var(--bm-radius-lg); box-shadow: none; }

.bm-faq details {
  padding: 18px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}

.bm-faq summary {
  cursor: pointer;
  color: var(--bm-text);
  font-weight: 900;
}

.bm-faq details p {
  margin-top: 12px;
}

/* =========================================================
   17. CTA moderat si final de articol
   ========================================================= */

.bm-cta-box {
  margin: 42px 0;
  padding: 28px;
  background: linear-gradient(135deg, var(--bm-primary-soft), #ffffff);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}

.bm-cta-box h2,
.bm-cta-box h3 {
  margin-bottom: 10px;
}

.bm-final-box {
  margin: 44px 0 20px;
  padding: 28px;
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
}

/* =========================================================
   18. Clase legacy compatibile cu fisierele anterioare
   ========================================================= */

.bm-info-grid,
.bm-idea-grid,
.bm-criteria-grid {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.bm-info-grid,
.bm-criteria-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bm-idea-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bm-info-card,
.bm-idea-card,
.bm-criteria-card {
  padding: 22px;
  background: var(--bm-bg-soft);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
}

.bm-info-card h3,
.bm-idea-card h3,
.bm-criteria-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.bm-info-card p,
.bm-idea-card p,
.bm-criteria-card p {
  color: var(--bm-muted);
}

/* =========================================================
   19. Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .bm-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bm-grid-3,
  .bm-info-grid,
  .bm-criteria-grid,
  .bm-stat-grid,
  .bm-solution-grid,
  .bm-enum-list.bm-cols-3,
  .bm-card-list.bm-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bm-split,
  .bm-split-reverse {
    grid-template-columns: 1fr;
  }

  .bm-intro-06 {
    grid-template-columns: 1fr;
  }

  .bm-intro-06::after {
    min-height: 90px;
  }
}

@media (max-width: 768px) {
  .bm-blog {
    padding: 14px 14px 42px;
    font-size: 16px;
    line-height: 1.7;
  }

  .bm-blog h1 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .bm-article-intro,
  .bm-intro-01,
  .bm-intro-02,
  .bm-intro-03,
  .bm-intro-04,
  .bm-intro-07,
  .bm-intro-08,
  .bm-intro-09,
  .bm-intro-10 {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .bm-intro-05 {
    padding: 24px 0;
  }

  .bm-intro-06 {
    padding: 24px 20px;
  }

  .bm-lead,
  .bm-article-intro .bm-lead {
    font-size: 17px;
  }

  .bm-section {
    margin: 34px 0;
  }

  .bm-section-card,
  .bm-section-soft,
  .bm-section-accent,
  .bm-summary,
  .bm-callout,
  .bm-highlight-box,
  .bm-tip-box,
  .bm-warning-box,
  .bm-note-box,
  .bm-danger-box,
  .bm-cta-box,
  .bm-final-box,
  .bm-faq-01,
  .bm-faq-02,
  .bm-faq-03,
  .bm-faq-06,
  .bm-faq-07,
  .bm-faq-09,
  .bm-faq-10 {
    padding: 20px;
  }

  .bm-grid-2,
  .bm-grid-3,
  .bm-grid-4,
  .bm-auto-grid,
  .bm-info-grid,
  .bm-idea-grid,
  .bm-criteria-grid,
  .bm-stat-grid,
  .bm-solution-grid,
  .bm-product-details-grid,
  .bm-pro-contra,
  .bm-enum-list.bm-cols-2,
  .bm-enum-list.bm-cols-3,
  .bm-enum-list.bm-cols-4,
  .bm-card-list.bm-cols-2,
  .bm-card-list.bm-cols-3,
  .bm-card-list.bm-cols-4 {
    grid-template-columns: 1fr;
  }

  .bm-product-card {
    padding: 18px;
  }

  .bm-product-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bm-product-media img {
    max-height: 260px;
    margin: 0 auto;
  }

  .bm-product-summary {
    min-height: auto;
  }

  .bm-product-button,
  .bm-button {
    width: 100%;
  }

  .bm-button-row,
  .bm-product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bm-enum-numbered .bm-enum-card {
    padding-left: 66px;
  }

  .bm-enum-numbered .bm-enum-card::before {
    left: 18px;
  }

  .bm-step {
    padding: 20px 18px 20px 66px;
  }

  .bm-step::before {
    top: 20px;
    left: 18px;
  }

  .bm-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .bm-blog {
    padding-left: 10px;
    padding-right: 10px;
  }

  .bm-product-card,
  .bm-section-card,
  .bm-section-soft,
  .bm-section-accent {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* =========================================================
   20. Override final produs - titluri si butoane
   =========================================================

   Aceste reguli sunt puse la final pentru a avea prioritate peste
   stilurile generale din tema si peste variantele vizuale anterioare.
*/

.bm-blog .bm-product-card .bm-product-title,
.bm-blog .bm-product-card .bm-product-title a,
.bm-blog .bm-product-card .bm-product-title a:visited,
.bm-blog .bm-product-card .bm-product-title a:hover,
.bm-blog .bm-product-card .bm-product-title a:focus {
  color: #000000 !important;
}

.bm-blog .bm-product-card a.bm-product-button,
.bm-blog .bm-product-card a.bm-product-button:visited,
.bm-blog a.bm-product-button,
.bm-blog a.bm-product-button:visited {
  background: #111111 !important;
  border-color: #111111 !important;
  color: var(--bm-primary) !important;
  -webkit-text-fill-color: var(--bm-primary) !important;
}

.bm-blog .bm-product-card a.bm-product-button:hover,
.bm-blog .bm-product-card a.bm-product-button:focus,
.bm-blog a.bm-product-button:hover,
.bm-blog a.bm-product-button:focus {
  background: var(--bm-primary) !important;
  border-color: var(--bm-primary) !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}


/* =========================================================
   21. Override final FAQ - design standard Bricolaj-Mag
   =========================================================

   Design preferat:
   - fara fundal de card pe intreaga sectiune
   - linie scurta galbena deasupra titlului
   - intrebari separate prin linii fine
   - bara verticala galbena in stanga fiecarei intrebari
*/

.bm-blog .bm-faq,
.bm-blog .bm-faq.bm-faq-01,
.bm-blog .bm-faq.bm-faq-02,
.bm-blog .bm-faq.bm-faq-03,
.bm-blog .bm-faq.bm-faq-04,
.bm-blog .bm-faq.bm-faq-05,
.bm-blog .bm-faq.bm-faq-06,
.bm-blog .bm-faq.bm-faq-07,
.bm-blog .bm-faq.bm-faq-08,
.bm-blog .bm-faq.bm-faq-09,
.bm-blog .bm-faq.bm-faq-10 {
  position: relative;
  margin: 52px 0 20px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  color: var(--bm-text) !important;
}

.bm-blog .bm-faq::before {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-bottom: 18px;
  background: var(--bm-primary);
  border-radius: 999px;
}

.bm-blog .bm-faq .bm-faq-title,
.bm-blog .bm-faq > h2 {
  margin: 0 0 28px !important;
  color: #000000 !important;
  font-size: clamp(25px, 4vw, 32px);
  line-height: 1.25;
}

.bm-blog .bm-faq .bm-faq-item {
  position: relative;
  margin: 0 !important;
  padding: 18px 0 22px 22px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bm-border) !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.bm-blog .bm-faq .bm-faq-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 5px;
  height: 29px;
  background: var(--bm-primary);
  border-radius: 999px;
}

.bm-blog .bm-faq .bm-faq-item h3 {
  margin: 0 0 10px !important;
  color: #000000 !important;
  font-size: clamp(19px, 2.8vw, 23px);
  line-height: 1.3;
}

.bm-blog .bm-faq .bm-faq-item p {
  margin: 0 !important;
  color: #000000 !important;
  line-height: 1.65;
}

.bm-blog .bm-faq details {
  position: relative;
  margin: 0 !important;
  padding: 18px 0 22px 22px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bm-border) !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.bm-blog .bm-faq details::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 5px;
  height: 29px;
  background: var(--bm-primary);
  border-radius: 999px;
}

.bm-blog .bm-faq summary {
  color: #000000 !important;
  font-size: clamp(19px, 2.8vw, 23px);
  line-height: 1.3;
  font-weight: 900;
}

.bm-blog .bm-faq details p {
  margin: 10px 0 0 !important;
  color: #000000 !important;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .bm-blog .bm-faq .bm-faq-item,
  .bm-blog .bm-faq details {
    padding-left: 18px !important;
  }

  .bm-blog .bm-faq::before {
    width: 56px;
  }
}


/* =========================================================
   21. Override final sectiuni si bulleturi galbene
   =========================================================

   Aceste reguli sunt standard pentru articolele Bricolaj-Mag:
   - linie galbena scurta inaintea heading-urilor principale de sectiune
   - liste cu bulleturi galbene, dar cu distantare normala ca la listele standard
*/

.bm-blog .bm-section-heading::before,
.bm-blog .bm-section > h2:first-child::before,
.bm-blog .bm-product-section-title::before,
.bm-blog .bm-final-box > h2:first-child::before,
.bm-blog .bm-cta-box > h2:first-child::before {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-bottom: 16px;
  background: var(--bm-primary);
  border-radius: 999px;
}

.bm-blog .bm-section-heading h2,
.bm-blog .bm-section-heading h3 {
  margin-bottom: 14px;
}

.bm-blog .bm-section-heading p {
  max-width: 820px;
  color: var(--bm-muted);
}

.bm-blog .bm-check-box,
.bm-blog .bm-list-box {
  margin: 28px 0;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-left: 6px solid var(--bm-primary);
  border-radius: var(--bm-radius-lg);
}

.bm-blog .bm-check-box h3,
.bm-blog .bm-check-box h4,
.bm-blog .bm-list-box h3,
.bm-blog .bm-list-box h4 {
  margin-bottom: 14px;
  color: #000000;
}

.bm-blog .bm-yellow-list,
.bm-blog .bm-list-yellow,
.bm-blog .bm-bullets-yellow,
.bm-blog .bm-check-box ul,
.bm-blog .bm-list-box ul {
  list-style: disc !important;
  margin: 14px 0 0 !important;
  padding-left: 1.25rem !important;
}

.bm-blog .bm-yellow-list li,
.bm-blog .bm-list-yellow li,
.bm-blog .bm-bullets-yellow li,
.bm-blog .bm-check-box li,
.bm-blog .bm-list-box li {
  position: static !important;
  margin-bottom: 10px !important;
  padding-left: 0.25rem !important;
  color: #000000;
}

.bm-blog .bm-yellow-list li:last-child,
.bm-blog .bm-list-yellow li:last-child,
.bm-blog .bm-bullets-yellow li:last-child,
.bm-blog .bm-check-box li:last-child,
.bm-blog .bm-list-box li:last-child {
  margin-bottom: 0 !important;
}

.bm-blog .bm-yellow-list li::before,
.bm-blog .bm-list-yellow li::before,
.bm-blog .bm-bullets-yellow li::before,
.bm-blog .bm-check-box li::before,
.bm-blog .bm-list-box li::before {
  content: none !important;
}

.bm-blog .bm-yellow-list li::marker,
.bm-blog .bm-list-yellow li::marker,
.bm-blog .bm-bullets-yellow li::marker,
.bm-blog .bm-check-box li::marker,
.bm-blog .bm-list-box li::marker {
  color: var(--bm-primary);
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .bm-blog .bm-section-heading::before,
  .bm-blog .bm-section > h2:first-child::before,
  .bm-blog .bm-product-section-title::before,
  .bm-blog .bm-final-box > h2:first-child::before,
  .bm-blog .bm-cta-box > h2:first-child::before {
    width: 56px;
    height: 5px;
    margin-bottom: 14px;
  }

  .bm-blog .bm-check-box,
  .bm-blog .bm-list-box {
    padding: 20px 18px;
  }
}

@media print {
  .bm-blog {
    max-width: none;
    padding: 0;
    color: #000000;
  }

  .bm-button,
  .bm-product-button {
    display: none;
  }

  .bm-product-card,
  .bm-section-card,
  .bm-summary,
  .bm-callout,
  .bm-faq,
  .bm-media-card {
    box-shadow: none;
  }
}

/* =========================================================
   23. Card produs standard - varianta unica finala
   =========================================================

   Standard final pentru articolele Bricolaj-Mag:
   - o singura varianta de card produs
   - imagine produs pe fundal alb, in stanga sus
   - Caracteristici tehnice principale in dreapta imaginii
   - Avantaje, Dezavantaje/limitari si Recomandare de utilizare in 3 carduri compacte pe linie
   - titlu produs negru
   - buton negru cu text galben, hover galben cu text negru
*/

.bm-blog .bm-product-section {
  margin: 48px 0;
}

.bm-blog .bm-product-card {
  margin: 24px 0 !important;
  padding: 18px !important;
  background: #ffffff !important;
  color: var(--bm-text) !important;
  border: 1px solid var(--bm-border) !important;
  border-radius: 18px !important;
  box-shadow: none;
}

.bm-blog .bm-product-card h3,
.bm-blog .bm-product-card h4,
.bm-blog .bm-product-card p,
.bm-blog .bm-product-card li {
  color: var(--bm-text) !important;
}

.bm-blog .bm-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.bm-blog .bm-product-card .bm-product-title {
  margin: 0 !important;
  color: #000000 !important;
  font-size: clamp(20px, 3vw, 25px) !important;
  line-height: 1.25 !important;
}

.bm-blog .bm-product-card .bm-product-title a,
.bm-blog .bm-product-card .bm-product-title a:visited,
.bm-blog .bm-product-card .bm-product-title a:hover,
.bm-blog .bm-product-card .bm-product-title a:focus {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--bm-primary) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

.bm-blog .bm-product-summary {
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  padding: 12px 14px !important;
  background: var(--bm-bg-soft) !important;
  border: 1px solid var(--bm-border) !important;
  border-radius: 14px !important;
}

.bm-blog .bm-product-summary p,
.bm-blog .bm-product-summary-text {
  margin: 0 !important;
  color: var(--bm-muted) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.bm-blog .bm-product-top {
  display: grid !important;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin: 0 0 14px !important;
}

.bm-blog .bm-product-media {
  align-self: stretch !important;
}

.bm-blog .bm-product-media a {
  display: flex !important;
  height: 100% !important;
  min-height: 190px !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid var(--bm-border) !important;
  border-radius: 14px !important;
  text-decoration: none !important;
}

.bm-blog .bm-product-media img {
  width: 100% !important;
  max-height: 210px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  padding: 12px !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 12px !important;
}

.bm-blog .bm-product-specs {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 190px !important;
}

.bm-blog .bm-product-detail-card,
.bm-blog .bm-product-specs,
.bm-blog .bm-product-advantages,
.bm-blog .bm-product-limitations,
.bm-blog .bm-product-recommendation {
  padding: 14px !important;
  background: var(--bm-bg-soft) !important;
  border: 1px solid var(--bm-border) !important;
  border-radius: 14px !important;
  box-shadow: none;
}

.bm-blog .bm-product-detail-card h4,
.bm-blog .bm-product-detail-card h3 {
  margin: 0 0 8px !important;
  color: #000000 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.bm-blog .bm-product-detail-card ul,
.bm-blog .bm-product-detail-card ol {
  margin: 0 !important;
  padding-left: 1.15rem !important;
}

.bm-blog .bm-product-detail-card li {
  margin-bottom: 5px !important;
  padding-left: 0.15rem !important;
  color: #000000 !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

.bm-blog .bm-product-detail-card li:last-child {
  margin-bottom: 0 !important;
}

.bm-blog .bm-product-detail-card li::marker {
  color: var(--bm-primary) !important;
  font-size: 1.1em !important;
}

.bm-blog .bm-product-details-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 0 !important;
}

.bm-blog .bm-product-recommendation {
  background: var(--bm-primary-soft) !important;
  border-color: rgba(232, 224, 0, 0.65) !important;
}

.bm-blog .bm-product-recommendation p {
  margin: 0 !important;
  color: #000000 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.bm-blog .bm-product-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

.bm-blog .bm-product-card a.bm-product-button,
.bm-blog .bm-product-card a.bm-product-button:visited,
.bm-blog a.bm-product-button,
.bm-blog a.bm-product-button:visited {
  min-height: 42px !important;
  padding: 11px 18px !important;
  background: #111111 !important;
  border: 1px solid #111111 !important;
  border-radius: 10px !important;
  color: var(--bm-primary) !important;
  -webkit-text-fill-color: var(--bm-primary) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

.bm-blog .bm-product-card a.bm-product-button:hover,
.bm-blog .bm-product-card a.bm-product-button:focus,
.bm-blog a.bm-product-button:hover,
.bm-blog a.bm-product-button:focus {
  background: var(--bm-primary) !important;
  border-color: var(--bm-primary) !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

@media (max-width: 900px) {
  .bm-blog .bm-product-top {
    grid-template-columns: 180px minmax(0, 1fr) !important;
  }

  .bm-blog .bm-product-details-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .bm-blog .bm-product-card {
    padding: 16px !important;
  }

  .bm-blog .bm-product-head {
    display: block !important;
  }

  .bm-blog .bm-product-top {
    grid-template-columns: 1fr !important;
  }

  .bm-blog .bm-product-media a {
    min-height: 180px !important;
  }

  .bm-blog .bm-product-media img {
    max-height: 190px !important;
  }

  .bm-blog .bm-product-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .bm-blog .bm-product-button {
    width: 100% !important;
  }
}



/* =========================================================
   24. Override final - carduri fara efect 3D sau umbre
   =========================================================

   Standard final Bricolaj-Mag:
   - toate cardurile sunt plate, fara umbre pe fundal
   - nu folosim efecte de adancime sau ridicare vizuala
   - diferentierea se face prin border, spatiu, fundal si accent galben
*/

.bm-blog .bm-section-card,
.bm-blog .bm-summary,
.bm-blog .bm-enum-card,
.bm-blog .bm-product-card,
.bm-blog .bm-product-detail-card,
.bm-blog .bm-pro-box,
.bm-blog .bm-contra-box,
.bm-blog .bm-step,
.bm-blog .bm-timeline-item,
.bm-blog .bm-callout,
.bm-blog .bm-highlight-box,
.bm-blog .bm-tip-box,
.bm-blog .bm-warning-box,
.bm-blog .bm-note-box,
.bm-blog .bm-danger-box,
.bm-blog .bm-problem-card,
.bm-blog .bm-solution-card,
.bm-blog .bm-media-card,
.bm-blog .bm-stat-card,
.bm-blog .bm-cta-box,
.bm-blog .bm-final-box,
.bm-blog .bm-info-card,
.bm-blog .bm-idea-card,
.bm-blog .bm-criteria-card,
.bm-blog .bm-check-box,
.bm-blog .bm-list-box {
  box-shadow: none !important;
}

.bm-blog .bm-button:hover,
.bm-blog .bm-button:focus,
.bm-blog .bm-product-button:hover,
.bm-blog .bm-product-button:focus {
  transform: none !important;
}

/* =========================================================
   25. Butoane finale - doua variante standard
   =========================================================

   Variante disponibile:
   - .bm-button-dark / .bm-product-button: fundal negru, text galben, hover galben cu text negru
   - .bm-button-yellow: fundal galben, text negru, hover negru cu text galben

   Important:
   - textul de pe butoane nu este subliniat
   - nu exista efect de ridicare la hover
*/

.bm-blog a.bm-button,
.bm-blog a.bm-button:visited,
.bm-blog a.bm-button:hover,
.bm-blog a.bm-button:focus,
.bm-blog a.bm-product-button,
.bm-blog a.bm-product-button:visited,
.bm-blog a.bm-product-button:hover,
.bm-blog a.bm-product-button:focus,
.bm-blog a.bm-button-dark,
.bm-blog a.bm-button-dark:visited,
.bm-blog a.bm-button-dark:hover,
.bm-blog a.bm-button-dark:focus,
.bm-blog a.bm-button-yellow,
.bm-blog a.bm-button-yellow:visited,
.bm-blog a.bm-button-yellow:hover,
.bm-blog a.bm-button-yellow:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.bm-blog .bm-button,
.bm-blog .bm-button-dark,
.bm-blog .bm-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  background: #111111 !important;
  border: 1px solid #111111 !important;
  border-radius: 10px;
  color: var(--bm-primary) !important;
  -webkit-text-fill-color: var(--bm-primary) !important;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bm-blog .bm-button:hover,
.bm-blog .bm-button:focus,
.bm-blog .bm-button-dark:hover,
.bm-blog .bm-button-dark:focus,
.bm-blog .bm-product-button:hover,
.bm-blog .bm-product-button:focus {
  background: var(--bm-primary) !important;
  border-color: var(--bm-primary) !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.bm-blog .bm-button-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  background: var(--bm-primary) !important;
  border: 1px solid var(--bm-primary) !important;
  border-radius: 10px;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bm-blog .bm-button-yellow:hover,
.bm-blog .bm-button-yellow:focus {
  background: #111111 !important;
  border-color: #111111 !important;
  color: var(--bm-primary) !important;
  -webkit-text-fill-color: var(--bm-primary) !important;
}

/* =========================================================
   26. Bannere interne pentru categorii si subcategorii
   =========================================================

   Scop:
   - bannere pozitionate intre sectiunile articolului
   - trimitere catre pagini de categorie/subcategorie relevante
   - design plat, fara umbre si fara efect 3D
   - fara fundal alb
   - fara linie galbena decorativa in banner

   Structura recomandata:
   <section class="bm-category-banner bm-banner-01">
     <div class="bm-banner-content">
       <h2>Titlu banner</h2>
       <p>Text scurt...</p>
     </div>
     <div class="bm-banner-actions">
       <a href="#" class="bm-button bm-button-yellow">Vezi categoria</a>
     </div>
   </section>
*/

.bm-blog .bm-category-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 36px 0;
  padding: 24px;
  background: linear-gradient(135deg, #fffde3 0%, #eef3f8 100%);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  box-shadow: none !important;
  overflow: hidden;
}

/* Bannerele nu trebuie sa primeasca linia galbena standard de sectiune */
.bm-blog .bm-category-banner::before,
.bm-blog .bm-category-banner h2::before,
.bm-blog .bm-category-banner h3::before,
.bm-blog .bm-category-banner .bm-section-heading::before,
.bm-blog .bm-category-banner .bm-banner-content::before {
  content: none !important;
  display: none !important;
}

.bm-blog .bm-category-banner h2,
.bm-blog .bm-category-banner h3 {
  margin: 0 0 8px !important;
  color: #000000 !important;
  font-size: clamp(22px, 3.2vw, 29px);
  line-height: 1.25;
}

.bm-blog .bm-category-banner p {
  margin: 0 !important;
  color: #000000 !important;
  line-height: 1.65;
}

.bm-blog .bm-banner-content {
  min-width: 0;
}

.bm-blog .bm-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.bm-blog .bm-banner-actions a,
.bm-blog .bm-banner-actions a:visited,
.bm-blog .bm-banner-actions a:hover,
.bm-blog .bm-banner-actions a:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* Banner 01 - galben soft, plin */
.bm-blog .bm-banner-01 {
  background: linear-gradient(135deg, #fff36b 0%, #fffbd1 100%) !important;
  border-color: #ddd65c !important;
}

/* Banner 02 - inchis, contrast puternic */
.bm-blog .bm-banner-02 {
  background: linear-gradient(135deg, #111827 0%, #273449 100%) !important;
  border-color: #273449 !important;
}

.bm-blog .bm-banner-02 h2,
.bm-blog .bm-banner-02 h3,
.bm-blog .bm-banner-02 p {
  color: #ffffff !important;
}

/* Eliminare explicita a liniei vechi din bm-banner-02 */
.bm-blog .bm-banner-02::before {
  content: none !important;
  display: none !important;
}

/* Banner 03 - gradient verde-galben deschis */
.bm-blog .bm-banner-03 {
  background: linear-gradient(135deg, #eef9d3 0%, #fff4a8 100%) !important;
  border-color: #d8e7a1 !important;
}

/* Banner 04 - gradient albastru-gri soft */
.bm-blog .bm-banner-04 {
  padding: 24px;
  background: linear-gradient(135deg, #eaf1fb 0%, #dbe7f4 100%) !important;
  border-color: #c9d8ea !important;
  border-radius: var(--bm-radius-lg);
}

/* Banner 05 - gradient cald, potrivit pentru categorii generale */
.bm-blog .bm-banner-05 {
  background: linear-gradient(135deg, #fff2cc 0%, #f4e2ba 100%) !important;
  border-color: #e6d0a7 !important;
}

/* Banner 06 - compact, plin, fara fundal alb */
.bm-blog .bm-banner-06 {
  padding: 22px 24px;
  background: linear-gradient(135deg, #edf2f7 0%, #d9e2ec 100%) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--bm-radius-lg);
}

.bm-blog .bm-banner-06 .bm-banner-content {
  padding-left: 0 !important;
  border-left: 0 !important;
}

.bm-blog .bm-category-banner.bm-banner-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 20px;
  margin: 28px 0;
}

.bm-blog .bm-category-banner.bm-banner-compact h2,
.bm-blog .bm-category-banner.bm-banner-compact h3 {
  font-size: clamp(20px, 2.8vw, 25px);
}

@media (max-width: 768px) {
  .bm-blog .bm-category-banner,
  .bm-blog .bm-category-banner.bm-banner-compact {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .bm-blog .bm-banner-actions {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .bm-blog .bm-banner-actions .bm-button,
  .bm-blog .bm-banner-actions .bm-button-dark,
  .bm-blog .bm-banner-actions .bm-button-yellow {
    width: 100%;
  }
}

/* =========================================================
   27. Card produs mic - recomandari scurte
   =========================================================

   Scop:
   - componenta compacta pentru produse mentionate rapid in articol
   - contine doar imaginea produsului, titlul, cateva specificatii tehnice si butonul "Vezi produsul"
   - imaginea ramane pe fundal alb
   - design plat, fara umbre sau efect 3D

   Structura recomandata:
   <div class="bm-product-mini-card">
     <a href="#" class="bm-product-mini-media">
       <img src="imagine-produs.jpg" alt="Nume produs">
     </a>
     <div class="bm-product-mini-content">
       <h3 class="bm-product-mini-title"><a href="#">Nume produs</a></h3>
       <ul class="bm-product-mini-specs">
         <li>Specificatie tehnica</li>
         <li>Specificatie tehnica</li>
       </ul>
       <a href="#" class="bm-product-button">Vezi produsul</a>
     </div>
   </div>
*/

.bm-blog .bm-product-mini-section {
  margin: 40px 0;
}

.bm-blog .bm-product-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.bm-blog .bm-product-mini-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: 16px;
  box-shadow: none !important;
}

.bm-blog .bm-product-mini-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 10px;
  background: #ffffff !important;
  border: 1px solid var(--bm-border);
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: none !important;
}

.bm-blog .bm-product-mini-media img {
  width: 100%;
  max-height: 145px;
  object-fit: contain;
  background: #ffffff !important;
  border: 0;
  border-radius: 10px;
}

.bm-blog .bm-product-mini-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.bm-blog .bm-product-mini-title {
  margin: 0 !important;
  color: #000000 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
}

.bm-blog .bm-product-mini-title a,
.bm-blog .bm-product-mini-title a:visited,
.bm-blog .bm-product-mini-title a:hover,
.bm-blog .bm-product-mini-title a:focus {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--bm-primary) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

.bm-blog .bm-product-mini-specs {
  margin: 0 !important;
  padding-left: 1.1rem !important;
  color: #000000 !important;
  font-size: 14px;
  line-height: 1.45;
}

.bm-blog .bm-product-mini-specs li {
  margin-bottom: 5px !important;
  padding-left: 0.15rem !important;
  color: #000000 !important;
}

.bm-blog .bm-product-mini-specs li:last-child {
  margin-bottom: 0 !important;
}

.bm-blog .bm-product-mini-specs li::marker {
  color: var(--bm-primary) !important;
  font-size: 1.1em;
}

.bm-blog .bm-product-mini-card .bm-product-button {
  width: 100%;
  margin-top: auto;
  min-height: 40px !important;
  padding: 10px 14px !important;
  font-size: 15px;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

@media (max-width: 900px) {
  .bm-blog .bm-product-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bm-blog .bm-product-mini-grid {
    grid-template-columns: 1fr;
  }

  .bm-blog .bm-product-mini-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  .bm-blog .bm-product-mini-media {
    min-height: 115px;
    padding: 8px;
  }

  .bm-blog .bm-product-mini-media img {
    max-height: 105px;
  }

  .bm-blog .bm-product-mini-card .bm-product-button {
    width: 100% !important;
  }
}

@media (max-width: 420px) {
  .bm-blog .bm-product-mini-card {
    grid-template-columns: 1fr;
  }
}