/* topblat.ro — paginile de conținut și blogul (pagină, articol, blog, contact, parteneri, galerie, favorite, 404).
   Totul e sub .tbp (prefix tbp-), ca să nu atingă header-ul, footer-ul, catalogul sau stilurile proprii ale textelor din CRM
   (.topblat-faq, .topblat-partners … aduc CSS-ul lor; stilurile de bază de aici au specificitate 0 prin :where()). */

.tbp {
  --tbp-verde: #0a5c48;
  --tbp-verde-inchis: #024f41;
  --tbp-hover: #74b6a6;
  --tbp-gri: #f0f2f5;
  --tbp-linie: #e7eaf1;
  --tbp-raza: 14px;
  --tbp-eroare: #b42318;
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: #000;
  padding-bottom: 80px;
  overflow-x: clip;
}
.tbp *, .tbp *::before, .tbp *::after { box-sizing: border-box; }
.tbp-w { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.tbp [hidden] { display: none !important; }

/* firimituri */
.tbp-firimituri { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; line-height: 18px; padding: 30px 0 34px; color: #000; }
.tbp-firimituri a { color: #000; text-decoration: none; }
.tbp-firimituri a:hover { color: var(--tbp-verde); }
.tbp-firimituri svg { flex: none; width: 6px; height: 9px; color: #000; }
.tbp-firimituri [aria-current] { min-width: 0; }

/* titluri */
.tbp-h1 { margin: 0 0 40px; font-size: 50px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: var(--tbp-verde); }
.tbp-h2 { margin: 0 0 28px; font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--tbp-verde); }
@media (max-width: 1279px) { .tbp-h1 { font-size: 40px; } .tbp-h2 { font-size: 32px; } }
@media (max-width: 767px) { .tbp-h1 { font-size: 32px; margin-bottom: 28px; } .tbp-h2 { font-size: 26px; margin-bottom: 20px; } .tbp-firimituri { padding: 20px 0 24px; } }

/* butoane */
.tbp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 28px;
  border: 1px solid transparent; border-radius: 60px; background: var(--tbp-verde); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.tbp-btn:hover { background: var(--tbp-verde-inchis); color: #fff; }
.tbp-btn:active { transform: translateY(1px); }
.tbp-btn:focus-visible, .tbp-link:focus-visible, .tbp a:focus-visible { outline: 3px solid var(--tbp-hover); outline-offset: 2px; }
.tbp-btn[disabled] { opacity: .65; cursor: progress; }
.tbp-btn--negru { background: #000; }
.tbp-btn--negru:hover { background: var(--tbp-verde); }
.tbp-btn--contur { background: #fff; color: #000; border-color: var(--tbp-linie); }
.tbp-btn--contur:hover { background: #fff; color: var(--tbp-verde); border-color: var(--tbp-verde); }
.tbp-butoane { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tbp-link { background: none; border: 0; padding: 0; font: inherit; color: var(--tbp-verde); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tbp-link:hover { color: var(--tbp-verde-inchis); }

/* ===== textul paginilor din CRM: stilurile de bază ale temei vechi, fără să bată stilurile proprii ale textului ===== */
:where(.tbp-text) { overflow-wrap: break-word; }
:where(.tbp-text) :where(h1, h2, h3, h4, h5, h6) { margin: 0 0 .6em; color: var(--tbp-verde); font-weight: 700; }
:where(.tbp-text) :where(h1) { font-size: 42px; line-height: 50px; }
:where(.tbp-text) :where(h2) { font-size: 25px; line-height: 30px; }
:where(.tbp-text) :where(h3) { font-size: 20px; line-height: 25px; }
:where(.tbp-text) :where(h4) { font-size: 18px; line-height: 22px; }
:where(.tbp-text) :where(h5) { font-size: 16px; line-height: 22px; }
:where(.tbp-text) :where(h6) { font-size: 12px; line-height: 26px; }
:where(.tbp-text) :where(p) { margin: 0 0 15px; }
:where(.tbp-text) :where(ul, ol) { margin: 0 0 15px; padding-left: 20px; }
:where(.tbp-text) :where(img, video, iframe) { max-width: 100%; }
:where(.tbp-text) :where(img) { height: auto; }
:where(.tbp-text) :where(a) { color: var(--tbp-verde); }
:where(.tbp-text) :where(a:hover) { color: var(--tbp-verde-inchis); }
:where(.tbp-text) :where(table) { width: 100%; border-collapse: collapse; }
:where(.tbp-text) :where(details > summary) { cursor: pointer; }
.tbp-text [id] { scroll-margin-top: 120px; }
@media (max-width: 1279px) {
  :where(.tbp-text) :where(h1) { font-size: 25px; line-height: 36px; }
  :where(.tbp-text) :where(h2) { font-size: 22px; line-height: 30px; }
  :where(.tbp-text) :where(h3) { font-size: 19px; line-height: 26px; }
  :where(.tbp-text) :where(h4) { font-size: 16px; line-height: 26px; }
}
/* resturi WPBakery (dacă textul a fost importat cu marcajul randat) */
.tbp-text .vc_row { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.tbp-text .vc_row::before, .tbp-text .vc_row::after { display: none; }
.tbp-text .vc_column_container { width: 100%; padding-inline: 15px; }
.tbp-text .vc_column-inner { padding: 0; }
.tbp-text .vc_empty_space { display: block; }
.tbp-text .vc_separator { display: flex; margin: 0 0 20px; }
.tbp-text .vc_sep_holder { flex: 1; }
.tbp-text .vc_sep_line { display: block; border-top: 1px solid var(--tbp-linie); }
.tbp-text .wpb_content_element { margin-bottom: 0; }
@media (min-width: 768px) { .tbp-text .vc_col-sm-6 { width: 50%; } .tbp-text .vc_col-sm-4 { width: 33.333%; } .tbp-text .vc_col-sm-8 { width: 66.666%; } }
@media (min-width: 992px) { .tbp-text .vc_col-md-4 { width: 33.333%; } .tbp-text .vc_col-md-6 { width: 50%; } .tbp-text .vc_col-md-8 { width: 66.666%; } .tbp-text .vc_hidden-md { display: none; } }
@media (min-width: 1200px) { .tbp-text .vc_col-lg-4 { width: 33.333%; } .tbp-text .vc_col-lg-6 { width: 50%; } .tbp-text .vc_col-lg-8 { width: 66.666%; } .tbp-text .vc_hidden-lg { display: none; } }
@media (max-width: 767px) { .tbp-text .vc_hidden-xs { display: none; } }
@media (min-width: 768px) and (max-width: 991px) { .tbp-text .vc_hidden-sm { display: none; } }

/* cutie de informare (track-order) */
.tbp-info { max-width: 760px; padding: 28px 30px; border: 1px solid var(--tbp-linie); border-radius: var(--tbp-raza); background: #fff; font-size: 15px; }
.tbp-info p { margin: 0 0 12px; }
.tbp-info a:not(.tbp-btn) { color: var(--tbp-verde); font-weight: 600; text-decoration: none; }
.tbp-info__program { list-style: none; margin: 0; padding: 0; color: #333; font-size: 14px; }
@media (max-width: 767px) { .tbp-info { padding: 22px 20px; } .tbp-butoane .tbp-btn { flex: 1 1 100%; } }

/* ===== formulare (contact, parteneri) ===== */
.tbp-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.tbp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tbp-camp { position: relative; min-width: 0; }
.tbp-camp__eroare { margin: 6px 0 0; padding: 0 4px; color: var(--tbp-eroare); font-size: 12.5px; line-height: 1.35; font-weight: 500; }
.tbp-form__eroare { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: var(--tbp-eroare); font-size: 14px; line-height: 1.45; }
.tbp-form__jos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.tbp-form__nota { margin: 0; font-size: 12px; line-height: 1.5; color: #555; }
.tbp-form__nota a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tbp-gata { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--tbp-raza); background: #eef7f4; color: var(--tbp-verde); font-size: 15px; line-height: 1.5; font-weight: 500; outline: none; }
.tbp-gata svg { flex: none; }
.tbp-gata p { margin: 0; color: #0b2a22; }
.tbp-gata--pe-verde { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.tbp-gata--pe-verde p { color: #fff; }

/* contact (CF7 #17): câmpuri-pastilă gri, ca pe vechiul site */
.tbp-form--contact { display: grid; gap: 20px; }
.tbp-form__rand3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tbp-form--contact input:not([type="hidden"]):not(.tbp-hp), .tbp-form--contact textarea {
  display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 25px; border: 1px solid transparent; border-radius: 60px;
  background: var(--tbp-gri); color: #000; font-family: inherit; font-size: 14px; line-height: 24px; outline: none; box-shadow: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.tbp-form--contact textarea { min-height: 98px; padding: 14px 25px; border-radius: 28px; resize: vertical; }
.tbp-form--contact :is(input, textarea)::placeholder { color: #000; opacity: 1; }
/* focusul: aceeași specificitate ca regula de bază de mai sus (0,3,1), altfel câmpurile input rămâneau fără indicator (WCAG 2.4.7) */
.tbp-form--contact input:not([type="hidden"]):not(.tbp-hp):focus, .tbp-form--contact textarea:focus {
  background: #fff; border-color: var(--tbp-verde); box-shadow: 0 0 0 3px rgba(10, 92, 72, .18);
}
.tbp-form--contact input:not([type="hidden"]):not(.tbp-hp):focus-visible, .tbp-form--contact textarea:focus-visible { outline: 2px solid var(--tbp-verde); outline-offset: 2px; }
.tbp-form--contact input:not([type="hidden"]):not(.tbp-hp)[aria-invalid="true"], .tbp-form--contact textarea[aria-invalid="true"] { border-color: var(--tbp-eroare); background: #fff; }
.tbp-form--contact .tbp-camp__eroare { padding-left: 25px; }
.tbp-form--contact .tbp-btn { min-width: 208px; }
@media (max-width: 767px) {
  .tbp-form__rand3 { grid-template-columns: 1fr; gap: 20px; }
  .tbp-form--contact .tbp-btn { min-width: 0; width: 260px; max-width: 100%; }
}

/* parteneri (CF7 #23669): formularul stă în panoul verde al paginii; stilurile câmpurilor vin din CSS-ul paginii (.topblat-partners) */
.tbp-parteneri-form .tbp-camp__eroare { color: #ffd0cb; }
.tbp-parteneri-form .tbp-form__eroare { background: rgba(255, 90, 90, .16); color: #fff; border: 1px solid rgba(255, 140, 140, .4); }
.tbp-parteneri-form .tbp-form__nota { color: rgba(255, 255, 255, .78); }
.tbp-parteneri-form .tb-field label { cursor: pointer; }
.tbp-parteneri-form :is(input, textarea, select)[aria-invalid="true"] { border-color: #ff8a80 !important; box-shadow: 0 0 0 3px rgba(255, 138, 128, .25) !important; }
/* focusul pe panoul verde: inel deschis la culoare, bine vizibil (pe vechiul site era un inel alb de 10%, aproape invizibil) */
.tbp .tbp-parteneri-form :is(input:not([type="hidden"]):not(.tbp-hp), textarea, select):focus { border-color: #74b6a6; box-shadow: 0 0 0 3px rgba(116, 182, 166, .55); }
.tbp .tbp-parteneri-form :is(input:not([type="hidden"]):not(.tbp-hp), textarea, select):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tbp .tbp-parteneri-form .tb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* săgeata listei „Tip partener” (icon-select pe vechiul site); fundalul alb îl pune pagini/parteneri.css doar cu background-color */
.tbp .tbp-parteneri-form select.tbp-select {
  -webkit-appearance: none; appearance: none; padding-right: 44px !important; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23053a33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.tbp-parteneri-form .tb-btn { line-height: 1.2; }
.tbp-parteneri-form .tb-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
/* formularul de parteneri fără textul paginii (înainte de import): panou verde propriu */
.tbp-panou-verde { max-width: 760px; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, #053a33, #04332d); color: #fff; }
.tbp-panou-verde__titlu { margin: 0 0 6px; color: #fff; font-size: 20px; line-height: 1.3; font-weight: 800; }
.tbp-panou-verde__text { margin: 0 0 18px; color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1.6; }
.tbp-panou-verde .tb-form { display: grid; gap: 14px; }
.tbp-panou-verde .tb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tbp-panou-verde .tb-field label { display: block; margin: 0 0 8px; color: #fff; font-weight: 800; font-size: 13px; }
.tbp-panou-verde .tb-star { margin-left: 4px; color: #ff5a5a; }
.tbp-panou-verde :is(.tb-input, .tb-textarea) { width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: #fff; font: inherit; font-size: 14px; line-height: 1.2; outline: none; }
.tbp-panou-verde .tb-textarea { min-height: 150px; resize: vertical; }
.tbp-panou-verde .tb-btn { padding: 12px 22px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
@media (max-width: 560px) { .tbp-panou-verde { padding: 20px; } .tbp-panou-verde .tb-row2 { grid-template-columns: 1fr; } }

/* ===== /contact/ ===== */
.tbp-contact__sus { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; margin-bottom: 70px; }
.tbp-contact__info p { margin: 0 0 15px; }
.tbp-contact__info hr { width: 90%; margin: 26px 0; border: 0; border-top: 4px solid var(--tbp-linie); }
.tbp-contact__titlu { max-width: 330px; margin: 0 0 22px; font-size: 28px; line-height: 1.04; font-weight: 700; letter-spacing: -.01em; color: var(--tbp-verde); }
.tbp-contact__h { margin: 0 0 14px; font-size: 20px; line-height: 25px; font-weight: 700; color: var(--tbp-verde); }
.tbp-contact__h a { color: inherit; text-decoration: none; white-space: nowrap; }
.tbp-contact__h a:hover { color: var(--tbp-verde-inchis); text-decoration: underline; text-underline-offset: 3px; }
.tbp-contact__h--spatiu { margin-top: 34px; }
.tbp-contact__info a:not(.tbp-btn):not([href^="tel"]) { color: var(--tbp-verde); font-weight: 600; text-underline-offset: 3px; }
.tbp-program { list-style: none; margin: -4px 0 14px; padding: 0; font-size: 14px; line-height: 24px; color: #333; }
.tbp-contact__adresa { color: var(--tbp-verde); font-size: 16px; line-height: 26px; font-weight: 700; }
.tbp-contact__harta { position: relative; border-radius: var(--tbp-raza); overflow: hidden; background: var(--tbp-gri); }
.tbp-contact__harta iframe { display: block; width: 100%; height: 604px; border: 0; }
.tbp-contact__form { padding-top: 10px; }
.tbp-contact__h2 { margin: 0 0 30px; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: var(--tbp-verde); }
.tbp-contact .tbp-gata { max-width: 760px; }
@media (max-width: 991px) {
  .tbp-contact__sus { grid-template-columns: 1fr; gap: 10px; margin-bottom: 50px; }
  .tbp-contact__harta iframe { height: 360px; }
}
@media (max-width: 767px) {
  .tbp-contact__titlu { font-size: 30px; line-height: 1.08; }
  .tbp-contact__info p { font-size: 15px; line-height: 26px; }
  .tbp-contact__info hr { width: 100%; }
  .tbp-contact__h2 { font-size: 26px; margin-bottom: 22px; }
}

/* ===== /galerie-lucrari/ — mozaic (regula pluginului vechi: 4 coloane, rânduri de 220 px, colțuri de 10 px) ===== */
.tbp-galerie__text { margin-bottom: 28px; max-width: 900px; }
.tbp-mozaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 8px; }
.tbp-mozaic__el { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--tbp-gri); cursor: zoom-in; }
.tbp-mozaic__el img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .25s; }
.tbp-mozaic__el::after { content: ""; position: absolute; inset: 0; background: rgba(2, 79, 65, 0); transition: background-color .25s; }
.tbp-mozaic__el:hover img { transform: scale(1.05); }
.tbp-mozaic__el:hover::after { background: rgba(2, 79, 65, .12); }
.tbp-mozaic__el:focus-visible { outline: 3px solid var(--tbp-verde); outline-offset: 2px; }
.tbp-mozaic__el--lat { grid-column: span 2; }
.tbp-mozaic__el--inalt { grid-row: span 2; }
.tbp-mozaic__el--mare { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1024px) { .tbp-mozaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; } }
/* telefon: o singură coloană, rânduri de 260 px, fără plăci mari / late / înalte (exact regula pluginului vechi) */
@media (max-width: 640px) {
  .tbp-mozaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; }
  .tbp-mozaic__el, .tbp-mozaic__el--lat, .tbp-mozaic__el--inalt, .tbp-mozaic__el--mare { grid-column: span 1; grid-row: span 1; }
}
@media (hover: none) { .tbp-mozaic__el:hover img { transform: none; } }

/* mărirea fotografiilor (fereastra e mutată de pagini.js direct în <body>, în afara .tbp: culorile au valori de rezervă)
   — gesturile cu un deget sunt ale ferestrei (următoarea / anterioara / închide), nu ale browserului: fără „înapoi” în istoric la glisarea
   spre dreapta, fără derularea paginii de dedesubt și fără reîmprospătare la glisarea în jos */
html.tbp-fara-scroll, html.tbp-fara-scroll body { overflow: hidden; overscroll-behavior: none; }
.tbp-lb { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 64px 84px; background: rgba(0, 0, 0, .92); -webkit-user-select: none; user-select: none; touch-action: pinch-zoom; overscroll-behavior: contain; }
.tbp-lb__img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.tbp-lb[hidden] { display: none; }
.tbp-lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; margin: 0; }
.tbp-lb__img { display: block; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: opacity .2s; }
.tbp-lb__img--incarca { opacity: .35; }
.tbp-lb__nr { pointer-events: none; margin-top: 14px; color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.tbp-lb__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.tbp-lb__btn:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .4); }
.tbp-lb__btn:focus-visible { outline: 3px solid var(--tbp-hover, #74b6a6); outline-offset: 2px; }
.tbp-lb__inchide { top: 16px; right: 16px; }
.tbp-lb__ant { left: 18px; top: 50%; transform: translateY(-50%); }
.tbp-lb__urm { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .tbp-lb { padding: 64px 10px 92px; }
  .tbp-lb__img { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); border-radius: 4px; }
  .tbp-lb__ant, .tbp-lb__urm { top: auto; bottom: 22px; transform: none; }
  .tbp-lb__ant { left: calc(50% - 64px); }
  .tbp-lb__urm { right: calc(50% - 64px); }
  .tbp-lb__nr { position: absolute; left: 20px; top: 32px; margin: 0; }
}

/* ===== carduri de produs (404, favorite) — cardul e al catalogului ===== */
.tbp-carduri { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991px) { .tbp-carduri { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tbp-carduri { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.tbp-carduri > a, .tbp-carduri > article, .tbp-carduri > div { min-width: 0; }
:where(.tbp-carduri) img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
/* cardul simplu al paginii de favorite (când serverul trimite date, nu HTML) */
.tbp-fc { display: flex; flex-direction: column; gap: 8px; color: #000; text-decoration: none; }
.tbp-fc__poza { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--tbp-gri); }
.tbp-fc__poza img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tbp-fc:hover .tbp-fc__poza img { transform: scale(1.04); }
.tbp-fc__titlu { color: var(--tbp-verde); font-size: 14px; line-height: 20px; font-weight: 600; }
.tbp-fc__pret { font-size: 16px; font-weight: 600; color: var(--tbp-verde); }
.tbp-fc__pret del { margin-left: 6px; color: #4b5563; font-size: 13px; font-weight: 400; }

/* ===== /favorite/ ===== */
.tbp-fav__gol { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px 28px; border: 1px solid var(--tbp-linie); border-radius: var(--tbp-raza); color: var(--tbp-verde); }
.tbp-fav__gol p { margin: 0; color: #000; font-size: 15px; }
.tbp-fav__incarc { display: flex; align-items: center; gap: 12px; margin: 0; padding: 24px 0; color: #333; }
.tbp-fav__jos { margin: 28px 0 0; }
.tbp-rotita { width: 20px; height: 20px; border: 2px solid var(--tbp-linie); border-top-color: var(--tbp-verde); border-radius: 50%; animation: tbp-roteste .8s linear infinite; }
@keyframes tbp-roteste { to { transform: rotate(360deg); } }

/* ===== 404 ===== */
.tbp-404__cap { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 0 70px; }
.tbp-404__cod { margin: 0; font-size: clamp(120px, 17vw, 240px); line-height: .9; font-weight: 800; letter-spacing: -.04em; color: var(--tbp-verde); }
.tbp-404__titlu { margin: 50px 0 14px; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--tbp-verde); }
.tbp-404__text { margin: 0 0 22px; font-size: 20px; line-height: 1.5; }
.tbp-404__text a { color: var(--tbp-verde); text-underline-offset: 3px; }
.tbp-404__produse { padding-top: 10px; }
@media (max-width: 767px) { .tbp-404__titlu { margin-top: 30px; } .tbp-404__text { font-size: 16px; } .tbp-404__cap { padding-bottom: 50px; } }

/* ===== blog: carduri ===== */
.tbp-gol { margin: 0; padding: 24px 0; font-size: 15px; }
.tbp-carduri-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 30px; }
.tbp-carduri-blog--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) { .tbp-carduri-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 22px; } }
@media (max-width: 640px) { .tbp-carduri-blog, .tbp-carduri-blog--2 { grid-template-columns: 1fr; gap: 34px; } }
.tbp-cb { display: flex; flex-direction: column; min-width: 0; }
.tbp-cb__poza { display: block; aspect-ratio: 600 / 474; border-radius: 12px; overflow: hidden; background: var(--tbp-gri); }
.tbp-cb__poza img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tbp-cb:hover .tbp-cb__poza img { transform: scale(1.04); }
.tbp-cb__corp { padding-top: 18px; }
.tbp-cb__data { margin: 0 0 6px; font-size: 12px; line-height: 18px; font-weight: 600; color: #000; }
.tbp-cb__titlu { margin: 0 0 10px; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--tbp-verde); }
.tbp-cb__titlu a { color: inherit; text-decoration: none; }
.tbp-cb__titlu a:hover { color: var(--tbp-verde-inchis); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tbp-cb__rezumat { margin: 0 0 12px; font-size: 14px; line-height: 22px; }
.tbp-cb__mai { display: inline-flex; align-items: center; gap: 6px; color: var(--tbp-verde); font-size: 13px; font-weight: 600; text-decoration: none; }
.tbp-cb__mai:hover { color: var(--tbp-verde-inchis); }
.tbp-cb__mai svg { transition: transform .2s; }
.tbp-cb__mai:hover svg { transform: translateX(3px); }

/* ===== articol ===== */
.tbp-articol { padding-bottom: 0; }
.tbp-articol__w { width: min(880px, calc(100% - 40px)); padding-bottom: 70px; }
.tbp-articol__cap { margin-bottom: 26px; }
.tbp-articol__titlu { margin: 0 0 12px; font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--tbp-verde); }
.tbp-articol__data { margin: 0; font-size: 12px; font-weight: 600; }
.tbp-articol__poza { margin: 0 0 34px; }
.tbp-articol__poza img { display: block; width: 100%; max-width: 600px; height: auto; border-radius: 12px; }
.tbp-text--articol { font-size: 15px; line-height: 1.75; }
.tbp-text--articol p { margin: 0 0 16px; }
.tbp-text--articol h2 { margin: 38px 0 14px; font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--tbp-verde); }
.tbp-text--articol h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--tbp-verde); }
.tbp-text--articol h4 { margin: 22px 0 8px; font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--tbp-verde); }
.tbp-text--articol > :first-child { margin-top: 0; }
/* paragraful de deschidere = „lead”-ul de pe vechiul site (acolo era <h3 class="font-normal">: verde, mai mare, greutate normală) */
.tbp-articol .tbp-text--articol > p:first-child { margin-bottom: 22px; color: var(--tbp-verde); font-size: 19px; line-height: 1.55; font-weight: 400; }
.tbp-text--articol .font-normal { font-weight: 400; font-size: 19px; line-height: 1.55; }
.tbp-text--articol .font-normal strong { font-weight: 700; }
.tbp-text--articol ul, .tbp-text--articol ol { margin: 0 0 18px; padding-left: 22px; }
.tbp-text--articol li { margin: 4px 0; }
.tbp-text--articol li::marker { color: var(--tbp-verde); }
.tbp-text--articol hr { height: 0; margin: 34px 0; border: 0; border-top: 2px solid #d5dae2; background: none; opacity: 1; }
.tbp-text--articol figure { margin: 0 0 22px; }
.tbp-text--articol .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbp-text--articol table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.tbp-text--articol th, .tbp-text--articol td { padding: 10px 14px; border: 1px solid #dde2ea; text-align: left; vertical-align: top; }
.tbp-text--articol thead th, .tbp-text--articol table:not(:has(thead)) tr:first-child td { background: var(--tbp-gri); font-weight: 600; }
.tbp-text--articol img { max-width: 100%; height: auto; border-radius: 10px; }
.tbp-text--articol a { color: var(--tbp-verde); text-underline-offset: 3px; }
@media (max-width: 767px) {
  .tbp-articol__titlu { font-size: 28px; }
  .tbp-text--articol { font-size: 15px; }
  .tbp-text--articol h2 { font-size: 22px; }
  .tbp-text--articol h3 { font-size: 18px; }
  .tbp-text--articol .font-normal, .tbp-articol .tbp-text--articol > p:first-child { font-size: 17px; }
}
.tbp-distribuie { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--tbp-linie); }
.tbp-distribuie__et { margin-right: 4px; font-size: 13px; font-weight: 600; }
.tbp-distribuie a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--tbp-linie); border-radius: 50%; color: #000; transition: color .2s, border-color .2s, background-color .2s; }
.tbp-distribuie a:hover { color: #fff; background: var(--tbp-verde); border-color: var(--tbp-verde); }
.tbp-similare { padding: 64px 0 80px; background: #f5f8f7; }
.tbp-similare__titlu { margin: 0 0 30px; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--tbp-verde); text-align: center; }
.tbp-similare .tbp-carduri-blog { max-width: 880px; margin-inline: auto; }
@media (max-width: 767px) { .tbp-similare { padding: 46px 0 56px; } .tbp-similare__titlu { font-size: 26px; } }

@media (prefers-reduced-motion: reduce) {
  .tbp *, .tbp *::before, .tbp *::after { transition: none !important; animation: none !important; }
}

/* pagină nouă, scrisă simplu în CRM (fără antetul și stilurile vechilor pagini): coloană de citire */
.tbp-text--simplu { max-width: 880px; margin-left: max(20px, calc((100% - 1240px) / 2)); }

/* telefon: câmpurile formularelor Contact și Parteneri la 16 px, ca Safari (iPhone) să nu mărească pagina când atingi un câmp */
@media (max-width: 767px) {
  .tbp-form--contact input:not([type="hidden"]):not(.tbp-hp), .tbp-form--contact textarea,
  .tbp .tbp-parteneri-form :is(input:not([type="hidden"]):not(.tbp-hp), textarea, select) { font-size: 16px; }
}
