/* Laborator Dinamic - stil site public
   Direcție: „buletin de încercare” - grilă milimetrică discretă, tabele de specificații clare,
   un singur element memorabil (spectrul XRF din antet). Fonturi locale IBM Plex (OFL). */

@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --ld-ink: #101a3c;        /* text principal */
  --ld-steel: #3b4769;      /* text secundar, linii puternice */
  --ld-muted: #626d88;
  --ld-paper: #f3f4f8;      /* fundal „hârtie de laborator” */
  --ld-panel: #ffffff;
  --ld-grid: #dce0ea;       /* linii de grilă */
  --ld-grid-soft: #e9ecf4;
  --ld-teal: #1530b0;       /* acțiuni, legături */
  --ld-teal-dark: #0d2183;
  --ld-signal: #d81e1e;     /* indicator - folosit rar */
  --ld-radius: 4px;
  --ld-font: "Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ld-mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --bs-body-font-family: var(--ld-font);
  --bs-body-color: var(--ld-ink);
  --bs-body-bg: var(--ld-paper);
  --bs-link-color: var(--ld-teal);
  --bs-link-color-rgb: 21, 48, 176;
  --bs-link-hover-color: var(--ld-teal-dark);
  --bs-link-hover-color-rgb: 13, 33, 131;
  --bs-border-color: var(--ld-grid);
  --bs-border-radius: var(--ld-radius);
  --bs-primary: var(--ld-teal);
  --bs-primary-rgb: 21, 48, 176;
  --bs-font-monospace: var(--ld-mono);
}

html { scroll-padding-top: 96px; }
body { font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { font-weight: 600; letter-spacing: -0.01em; color: var(--ld-ink); line-height: 1.2; }
h1, .h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3, .h3 { font-size: 1.25rem; }
p { max-width: 72ch; }
.lead { font-size: 1.15rem; color: var(--ld-steel); }
a { text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--ld-signal); outline-offset: 2px; border-radius: 2px; }
.mono, code, .model { font-family: var(--ld-mono); }
.text-muted, .text-secondary { color: var(--ld-muted) !important; }

.btn { --bs-btn-font-weight: 500; --bs-btn-border-radius: var(--ld-radius); }
.btn-primary { --bs-btn-bg: var(--ld-teal); --bs-btn-border-color: var(--ld-teal); --bs-btn-hover-bg: var(--ld-teal-dark); --bs-btn-hover-border-color: var(--ld-teal-dark); --bs-btn-active-bg: var(--ld-teal-dark); --bs-btn-active-border-color: var(--ld-teal-dark); --bs-btn-disabled-bg: var(--ld-teal); --bs-btn-disabled-border-color: var(--ld-teal); }
.btn-outline-primary { --bs-btn-color: var(--ld-teal); --bs-btn-border-color: var(--ld-teal); --bs-btn-hover-bg: var(--ld-teal); --bs-btn-hover-border-color: var(--ld-teal); --bs-btn-active-bg: var(--ld-teal-dark); }
.btn-ink { --bs-btn-color: #fff; --bs-btn-bg: var(--ld-ink); --bs-btn-border-color: var(--ld-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #1f2d5c; --bs-btn-hover-border-color: #1f2d5c; }
.form-control, .form-select { border-color: #c9cedc; border-radius: var(--ld-radius); }
.form-control:focus, .form-select:focus { border-color: var(--ld-teal); box-shadow: 0 0 0 .2rem rgba(21,48,176,.18); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ld-ink); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Antet ---------- */
.ld-topbar { background: var(--ld-ink); color: #c8cee6; font-size: .85rem; }
.ld-topbar a { color: #fff; text-decoration: none; }
.ld-topbar a:hover { text-decoration: underline; }
.ld-topbar .container { display: flex; gap: 1.25rem; justify-content: flex-end; align-items: center; min-height: 34px; flex-wrap: wrap; }
.ld-header { background: var(--ld-panel); border-bottom: 1px solid var(--ld-grid); position: sticky; top: 0; z-index: 1030; }
.ld-header .navbar { padding: .5rem 0; }
.ld-brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ld-ink); text-decoration: none; }
.ld-brand:hover { color: var(--ld-ink); }
.ld-brand svg.ld-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.ld-brand .ld-word { display: flex; flex-direction: column; line-height: 1.05; }
.ld-brand .ld-word strong { font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.ld-brand .ld-word span { font-size: .78rem; color: var(--ld-muted); letter-spacing: .01em; }
.ld-nav .nav-link { color: var(--ld-ink); font-weight: 500; padding: .55rem .85rem !important; border-radius: var(--ld-radius); }
.ld-nav .nav-link:hover, .ld-nav .nav-link:focus, .ld-nav .nav-link.active, .ld-nav .show > .nav-link { color: var(--ld-teal-dark); background: #eef0fb; }
.ld-nav .dropdown-menu { border-radius: var(--ld-radius); border-color: var(--ld-grid); box-shadow: 0 10px 30px rgba(16,26,60,.12); padding: .4rem; }
.ld-nav .dropdown-item { border-radius: 3px; padding: .45rem .75rem; }
.ld-nav .dropdown-item:active { background: var(--ld-teal); }
.ld-mega { width: min(980px, 96vw); padding: 1.25rem !important; }
.ld-mega .ld-mega-col h3 { font-size: .95rem; margin: 0 0 .35rem; }
.ld-mega .ld-mega-col h3 a { color: var(--ld-ink); text-decoration: none; }
.ld-mega .ld-mega-col h3 a:hover { color: var(--ld-teal); }
.ld-mega .ld-mega-col ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.ld-mega .ld-mega-col li a { display: block; color: var(--ld-steel); text-decoration: none; font-size: .9rem; padding: .12rem 0; }
.ld-mega .ld-mega-col li a:hover { color: var(--ld-teal); }
@media (min-width: 992px) {
  .ld-nav .dropdown-mega { position: static; }
  .ld-nav .dropdown-mega > .dropdown-menu { left: 50%; transform: translateX(-50%); }
}
.ld-search { position: relative; }
.ld-search input { padding-left: 2.1rem; min-width: 210px; }
.ld-search .bi { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: var(--ld-muted); }

/* ---------- Spectrul XRF (elementul memorabil) ---------- */
.ld-hero { position: relative; background: var(--ld-panel); border-bottom: 1px solid var(--ld-grid); overflow: hidden; }
.ld-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--ld-grid-soft) 1px, transparent 1px), linear-gradient(90deg, var(--ld-grid-soft) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.ld-hero .container { position: relative; }
.ld-hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem); max-width: 17ch; margin-bottom: 1rem; }
.ld-hero .lead { max-width: 52ch; }
.ld-spectrum { width: 100%; height: auto; display: block; }
.ld-spectrum .axis { stroke: var(--ld-steel); stroke-width: 1.2; }
.ld-spectrum .tick { stroke: var(--ld-steel); stroke-width: 1; }
.ld-spectrum .tick-label { fill: var(--ld-muted); font: 11px var(--ld-mono); }
.ld-spectrum .trace { fill: none; stroke: var(--ld-teal); stroke-width: 2.2; stroke-linejoin: round; }
.ld-spectrum .area { fill: url(#ldSpecFill); }
.ld-spectrum .peak-line { stroke: var(--ld-ink); stroke-width: 1; stroke-dasharray: 2 3; }
.ld-spectrum .peak-tag rect { fill: var(--ld-panel); stroke: var(--ld-ink); stroke-width: 1; }
.ld-spectrum .peak-tag text { fill: var(--ld-ink); font: 600 13px var(--ld-font); }
.ld-spectrum .peak-tag.hot rect { fill: var(--ld-signal); stroke: var(--ld-signal); }
.ld-spectrum .axis-title { fill: var(--ld-muted); font: 11px var(--ld-font); }
@media (prefers-reduced-motion: no-preference) {
  .ld-spectrum .trace { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: ld-trace 2.2s cubic-bezier(.6,.05,.25,1) .2s forwards; }
  .ld-spectrum .area, .ld-spectrum .peaks { opacity: 0; animation: ld-fade .8s ease 1.6s forwards; }
}
@keyframes ld-trace { to { stroke-dashoffset: 0; } }
@keyframes ld-fade { to { opacity: 1; } }
.ld-hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; color: var(--ld-steel); font-size: .95rem; padding: 0; list-style: none; }
.ld-hero-facts li { display: flex; align-items: center; gap: .45rem; }
.ld-hero-facts .bi { color: var(--ld-teal); }

/* ---------- Secțiuni ---------- */
.ld-section { padding: 3.5rem 0; }
.ld-section + .ld-section { padding-top: 0; }
.ld-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--ld-ink); padding-bottom: .6rem; margin-bottom: 1.5rem; }
.ld-section-head h2 { margin: 0; }
.ld-section-head a { font-weight: 500; }

/* Domenii (index categorii) - listă tabelară, nu carduri identice */
.ld-domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--ld-grid); border-left: 1px solid var(--ld-grid); background: var(--ld-panel); }
.ld-domain { border-right: 1px solid var(--ld-grid); border-bottom: 1px solid var(--ld-grid); padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.ld-domain h3 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: .55rem; }
.ld-domain h3 a { color: var(--ld-ink); text-decoration: none; }
.ld-domain h3 a::after { content: ""; position: absolute; inset: 0; }
.ld-domain { position: relative; transition: background-color .15s ease; }
.ld-domain:hover { background: #f5f6fd; }
.ld-domain:hover h3 a { color: var(--ld-teal-dark); }
.ld-domain .bi { color: var(--ld-teal); font-size: 1.15rem; }
.ld-domain .ld-sub { font-size: .88rem; color: var(--ld-muted); margin: 0; }
.ld-domain .ld-count { font-family: var(--ld-mono); font-size: .8rem; color: var(--ld-steel); margin-top: auto; }

/* Produse */
.ld-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; }
.ld-product { background: var(--ld-panel); border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); display: flex; flex-direction: column; position: relative; }
.ld-product:hover { border-color: var(--ld-steel); }
.ld-product .ld-thumb { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--ld-grid-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--ld-radius) var(--ld-radius) 0 0; }
.ld-product .ld-thumb img { max-width: 92%; max-height: 92%; object-fit: contain; }
.ld-product .ld-thumb .bi { font-size: 2.5rem; color: var(--ld-grid); }
.ld-product .ld-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.ld-product h3 { font-size: 1rem; margin: 0; line-height: 1.35; }
.ld-product h3 a { color: var(--ld-ink); text-decoration: none; }
.ld-product h3 a::after { content: ""; position: absolute; inset: 0; }
.ld-product:hover h3 a { color: var(--ld-teal-dark); }
.ld-product .model { font-size: .82rem; color: var(--ld-teal-dark); }
.ld-product p { font-size: .88rem; color: var(--ld-muted); margin: 0; }

/* Pagina de produs */
.ld-page-head { background: var(--ld-panel); border-bottom: 1px solid var(--ld-grid); padding: 1.6rem 0 1.8rem; }
.ld-page-head h1 { margin: .25rem 0 .4rem; }
.breadcrumb { font-size: .87rem; margin: 0; --bs-breadcrumb-divider-color: var(--ld-muted); }
.breadcrumb a { color: var(--ld-steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--ld-teal); text-decoration: underline; }
.breadcrumb-item.active { color: var(--ld-muted); }
.ld-gallery-main { background: #fff; border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ld-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.ld-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin-top: .6rem; }
.ld-gallery-thumbs button { border: 1px solid var(--ld-grid); background: #fff; border-radius: 3px; padding: 3px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.ld-gallery-thumbs button[aria-current="true"] { border-color: var(--ld-teal); box-shadow: 0 0 0 2px rgba(21,48,176,.25); }
.ld-gallery-thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ld-gallery-caption { font-size: .88rem; color: var(--ld-muted); margin-top: .4rem; min-height: 1.4em; }
.ld-aside-box { background: var(--ld-panel); border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); padding: 1.2rem; }
.ld-aside-box h2 { font-size: 1.05rem; }
.ld-tags { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; margin: 0; }
.ld-tags a { display: inline-block; border: 1px solid var(--ld-grid); border-radius: 999px; padding: .15rem .7rem; font-size: .85rem; color: var(--ld-steel); text-decoration: none; background: #fff; }
.ld-tags a:hover { border-color: var(--ld-teal); color: var(--ld-teal-dark); }

/* Conținut redactat (TinyMCE) */
.ld-prose { font-size: 1.02rem; }
.ld-prose > * + * { margin-top: 0; }
.ld-prose h2 { margin-top: 2.2rem; padding-bottom: .35rem; border-bottom: 1px solid var(--ld-grid); }
.ld-prose h3 { margin-top: 1.8rem; }
.ld-prose h4 { margin-top: 1.4rem; font-size: 1.05rem; }
.ld-prose img { max-width: 100%; height: auto; }
.ld-prose figure { margin: 1.5rem 0; background: #fff; border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); padding: .75rem; display: table; max-width: 100%; }
.ld-prose figure img { display: block; margin: 0 auto; }
.ld-prose figcaption { font-size: .9rem; color: var(--ld-steel); padding-top: .5rem; text-align: center; }
.ld-prose figure.ld-fig-inline { display: inline-block; vertical-align: top; margin: .5rem .5rem .5rem 0; max-width: min(100%, 360px); }
.ld-prose .ld-figrow { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.25rem 0; }
.ld-prose .ld-figrow figure { margin: 0; flex: 1 1 260px; display: block; }
.ld-prose ul, .ld-prose ol { padding-left: 1.3rem; max-width: 72ch; }
.ld-prose li + li { margin-top: .2rem; }
.ld-prose table { background: #fff; font-size: .93rem; margin-bottom: 0; }
.ld-prose .table-responsive { margin: 1.25rem 0; border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); }
.ld-prose .table-responsive table { border: 0; }
.ld-prose table td, .ld-prose table th { padding: .45rem .7rem; vertical-align: top; }
.ld-prose table th, .ld-prose table thead td { background: #eef0f7; font-weight: 600; }
.ld-prose table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.ld-prose .ld-spec td:first-child { color: var(--ld-steel); width: 40%; }
.ld-prose blockquote { border-left: 3px solid var(--ld-teal); padding-left: 1rem; color: var(--ld-steel); }
.ld-prose hr { border-color: var(--ld-grid); opacity: 1; margin: 2rem 0; }
.ld-prose .ld-note { background: #fff8de; border: 1px solid #f0dc93; padding: .75rem 1rem; border-radius: var(--ld-radius); }

/* Formular */
.ld-form { background: var(--ld-panel); border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); padding: 1.4rem; }
.ld-form .form-label { font-weight: 500; font-size: .93rem; margin-bottom: .3rem; }
.ld-form .req { color: #b42318; }
.ld-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ld-captcha { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.ld-captcha img { border: 1px solid var(--ld-grid); border-radius: 3px; height: 52px; width: auto; background: #fff; }
.ld-captcha input { max-width: 160px; text-transform: uppercase; letter-spacing: .15em; font-family: var(--ld-mono); }

/* Date de identificare & contact */
.ld-idcard { background: var(--ld-panel); border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); }
.ld-idcard dl { margin: 0; display: grid; grid-template-columns: minmax(130px, 38%) 1fr; }
.ld-idcard dt, .ld-idcard dd { margin: 0; padding: .55rem 1rem; border-bottom: 1px solid var(--ld-grid-soft); }
.ld-idcard dt { color: var(--ld-muted); font-weight: 400; font-size: .92rem; }
.ld-idcard dd { font-weight: 500; }
.ld-idcard dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* Subsol */
.ld-footer { background: var(--ld-ink); color: #b7bfdc; font-size: .93rem; margin-top: 4rem; }
.ld-footer a { color: #fff; text-decoration: none; }
.ld-footer a:hover { text-decoration: underline; }
.ld-footer h2 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.ld-footer ul { list-style: none; padding: 0; margin: 0; }
.ld-footer li + li { margin-top: .35rem; }
.ld-footer .ld-brand { color: #fff; }
.ld-footer .ld-brand .ld-word span { color: #9ea8cc; }
.ld-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: #939dc2; }

.ld-preview-bar { background: var(--ld-signal); color: #fff; text-align: center; padding: .4rem; font-weight: 500; font-size: .9rem; }
.ld-empty { border: 1px dashed var(--ld-grid); border-radius: var(--ld-radius); padding: 2rem; text-align: center; color: var(--ld-muted); background: var(--ld-panel); }

/* Lightbox simplu */
.ld-lightbox { position: fixed; inset: 0; background: rgba(8,12,30,.92); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 2rem; }
.ld-lightbox.open { display: flex; }
.ld-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.ld-lightbox button { position: absolute; top: 1rem; right: 1rem; background: #fff; border: 0; border-radius: 3px; padding: .35rem .7rem; font-weight: 600; }

@media (max-width: 991.98px) {
  .ld-nav { padding-top: .5rem; }
  .ld-mega { width: 100%; box-shadow: none !important; }
  .ld-search input { min-width: 0; width: 100%; }
}
@media print {
  .ld-topbar, .ld-header, .ld-footer, .ld-form, .btn { display: none !important; }
  body { background: #fff; }
}

/* Marca grafică */
.ld-mark .m-bg { fill: var(--ld-ink); }
.ld-mark .m-fg { stroke: #fff; }
.ld-mark .m-dot { fill: var(--ld-signal); }
.ld-mark .m-txt { fill: #fff; font: 700 16.5px var(--ld-font); letter-spacing: .02em; }
.ld-mark .m-tick { stroke: var(--ld-signal); }
.ld-footer .ld-mark .m-bg { fill: #fff; }
.ld-footer .ld-mark .m-fg { stroke: var(--ld-ink); }
.ld-footer .ld-mark .m-txt { fill: var(--ld-ink); }

/* Arbore categorii (coloana laterală) */
.ld-cattree { font-size: .93rem; }
.ld-cattree li { margin: .15rem 0; }
.ld-cattree a { color: var(--ld-steel); text-decoration: none; display: block; padding: .15rem 0; }
.ld-cattree a:hover { color: var(--ld-teal); }
.ld-cattree a[aria-current] { color: var(--ld-teal-dark); }
.ld-cattree .ld-cattree { padding-left: .9rem; border-left: 1px solid var(--ld-grid); margin: .15rem 0 .4rem .2rem; font-size: .9rem; }

/* Recomandări (pagina principală) - grila din vechiul site, câte un aparat pe celulă */
.ld-reco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.ld-reco { background: var(--ld-panel); border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; }
.ld-reco figure, .ld-prose .ld-reco figure { margin: 0 0 .9rem; border: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 230px; background: #fff; }
.ld-reco figure img { max-height: 230px; max-width: 100%; width: auto; object-fit: contain; }
.ld-reco .ld-figrow { margin: 0 0 .9rem; }
.ld-reco p { font-size: .95rem; margin-bottom: .5rem; }
.ld-reco h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.ld-reco ul { font-size: .9rem; padding-left: 1.1rem; }
.ld-reco .ld-reco-more { margin-top: auto; margin-bottom: 0; padding-top: .4rem; font-weight: 500; }

/* Pagina de produs */
.ld-side-sticky { position: sticky; top: 96px; }
.ld-product-body figure img { max-height: 460px; width: auto; }
.ld-product-body .ld-figrow figure { display: flex; align-items: center; justify-content: center; }
.ld-product-body .ld-figrow figure img { max-height: 300px; }
@media (max-width: 991.98px) { .ld-side-sticky { position: static; } }
.form-control, .form-select { background-color: #fff; }

/* Sigla originală: acul de busolă */
.ld-brand svg.ld-needle { width: 76px; height: 20px; }
.ld-needle .n-o { fill: none; }
.ld-footer .ld-needle .n-o, .ld-admin-top .ld-needle .n-o { fill: #fff; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; }

/* Articole */
.ld-articles { margin: 0; }
.ld-article-row { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--ld-grid); align-items: start; }
.ld-article-row.no-img { grid-template-columns: 1fr; }
.ld-article-row:first-child { padding-top: 0; }
.ld-article-img { display: block; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); overflow: hidden; }
.ld-article-img img { width: 100%; height: 100%; object-fit: contain; }
.ld-article-row h2 a { color: var(--ld-ink); text-decoration: none; }
.ld-article-row h2 a:hover { color: var(--ld-teal); }
.ld-article-date { font: .82rem var(--ld-mono); color: var(--ld-muted); }
@media (max-width: 575.98px) { .ld-article-row { grid-template-columns: 1fr; gap: .9rem; } .ld-article-img { max-width: 320px; } }

/* Harta sediului (pagina Contact) */
.ld-map-frame { display: block; border: 1px solid var(--ld-grid); border-radius: var(--ld-radius); overflow: hidden; background: var(--ld-paper); }
.ld-map-frame img { display: block; width: 100%; height: auto; }
.ld-map-frame:hover { border-color: var(--ld-teal); }
.ld-route { text-align: right; }
.ld-route .btn .bi { margin-right: .3rem; }
.ld-route-alt { margin-top: .35rem; color: var(--ld-muted); }
@media (max-width: 575.98px) { .ld-route { text-align: left; } }
