/* MonitorStup — piese de antet și subsol.
   Public: apicultori, majoritatea bărbați 35–65+. Ținte de atins cu degetul
   minim 44px, text de la 16px în sus, contrast peste 4.5:1 peste tot. */

:root {
  --ms-portocaliu: #f28705;
  --ms-portocaliu-inchis: #d97604;
  --ms-inchis: #1f2933;
  --ms-brun: #260801;
  --ms-wa: #25d366;
  --ms-linie: rgba(255, 255, 255, .28);
}

/* ── bara de sus, desktop ─────────────────────────────────────────────── */
.ms-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 15px; line-height: 1.3; }
.ms-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.ms-bar a:hover, .ms-bar a:focus-visible { color: #fff; text-decoration: underline; }
.ms-bar__item { display: inline-flex; align-items: center; gap: 7px; color: #fff; white-space: nowrap; }
.ms-bar__tel { font-weight: 700; font-size: 16px; }
.ms-bar svg { width: 17px; height: 17px; flex: none; }
.ms-bar__social { display: inline-flex; gap: 6px; }
.ms-bar__social a { width: 34px; height: 34px; justify-content: center; border-radius: 50%; transition: background-color .15s ease; }
.ms-bar__social a:hover, .ms-bar__social a:focus-visible { background: rgba(255, 255, 255, .22); }
.ms-bar__social svg { width: 19px; height: 19px; }

/* ── banda de apel, telefon/tabletă ───────────────────────────────────────
   Pe antetul vechi numărul de telefon DISPĂREA complet sub 1024px, deși
   publicul sună mai des decât comandă. Banda asta e tot rândul, atingibilă. */
.ms-call-strip { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 46px; color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: .01em; }
.ms-call-strip:hover, .ms-call-strip:focus-visible { color: #fff; text-decoration: none; }
.ms-call-strip svg { width: 19px; height: 19px; flex: none; }
.ms-call-strip__ore { font-weight: 500; font-size: 13px; opacity: .92; }

/* ── coșul ────────────────────────────────────────────────────────────── */
.ms-cart { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; color: var(--ms-inchis); text-decoration: none; border-radius: 10px; transition: background-color .15s ease; }
.ms-cart:hover, .ms-cart:focus-visible { background: #f3f4f7; color: var(--ms-portocaliu); }
.ms-cart__count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: var(--ms-portocaliu); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.ms-cart__count.is-empty { background: #c3c9d0; }

/* ── butonul „Sună acum" din antetul desktop ──────────────────────────── */
.ms-btn-call { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px;
  border-radius: 10px; background: var(--ms-portocaliu); color: #fff !important; font-weight: 700; font-size: 16px;
  text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
.ms-btn-call:hover, .ms-btn-call:focus-visible { background: var(--ms-portocaliu-inchis); color: #fff !important; text-decoration: none; }
.ms-btn-call svg { width: 18px; height: 18px; flex: none; }

/* ── panoul de meniu de pe telefon ────────────────────────────────────────
   Panoul are fundal ÎNCHIS: orice text scris pentru fundal alb devine
   invizibil aici. Culorile de mai jos sunt scrise pentru fundalul închis. */
.ms-oc { padding: 4px 0 8px; }
.ms-oc__actions { display: grid; gap: 10px; margin: 4px 0 18px; }
.ms-oc__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px;
  border-radius: 12px; font-size: 17px; font-weight: 700; text-decoration: none; padding: 0 16px; }
.ms-oc__btn svg { width: 20px; height: 20px; flex: none; }
.ms-oc__btn--call { background: var(--ms-portocaliu); color: #fff !important; }
.ms-oc__btn--call:hover, .ms-oc__btn--call:focus-visible { background: var(--ms-portocaliu-inchis); color: #fff !important; }
.ms-oc__btn--wa { background: var(--ms-wa); color: #06301a !important; }
.ms-oc__btn--wa:hover, .ms-oc__btn--wa:focus-visible { background: #1fbb59; color: #06301a !important; }
.ms-oc__btn--mail { background: transparent; color: #fff !important; border: 2px solid rgba(255, 255, 255, .45); font-weight: 600; }
.ms-oc__btn--mail:hover, .ms-oc__btn--mail:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff !important; }
.ms-oc__ore { margin: 0 0 4px; color: #d7dbe0; font-size: 15px; text-align: center; }
.ms-oc__linie { height: 1px; background: rgba(255, 255, 255, .16); margin: 16px 0; border: 0; }

/* Legăturile meniului din panou: mai mari, cu linie de separare. */
.wp-block-kadence-off-canvas .wp-block-kadence-navigation .menu-item > .kb-nav-link-content { min-height: 56px; font-size: 19px; }

/* ── subsolul ─────────────────────────────────────────────────────────────
   Fundal DESCHIS, ca acum. Nu din conservatorism: sigla APINT are cuvantul
   scris in brun inchis pe fundal transparent — pe un subsol inchis ar fi
   disparut, iar o siglă nu se recoloreaza. */
/* sigla e pătrată: plafonul se pune pe ÎNĂLȚIME, altfel 190px lățime = 190px înălțime */
.ms-foot__brand img { max-height: 132px; width: auto; height: auto; display: block; margin-bottom: 16px; }
.ms-foot__misiune { color: #52606d; font-size: 15px; line-height: 1.6; margin: 0; max-width: 34ch; }
.ms-foot__label { color: var(--ms-inchis); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.ms-foot__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ms-foot__lista a, .ms-foot__lista span.ms-foot__static { color: #3e4c59; font-size: 16px; text-decoration: none; display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.ms-foot__lista a { min-height: 24px; }
.ms-foot__lista a:hover, .ms-foot__lista a:focus-visible { color: var(--ms-portocaliu); text-decoration: underline; }
.ms-foot__lista svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ms-portocaliu); }
.ms-foot__rol { display: block; color: #7b8794; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.ms-foot__nr { font-weight: 700; color: var(--ms-inchis); }
.ms-foot__social { display: flex; gap: 10px; margin-top: 6px; }
.ms-foot__social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #eceef1; color: #3e4c59; transition: background-color .15s ease, color .15s ease; }
.ms-foot__social a:hover, .ms-foot__social a:focus-visible { background: var(--ms-portocaliu); color: #fff; }
.ms-foot__social svg { width: 21px; height: 21px; }
.ms-foot__jos { color: #7b8794; font-size: 14px; text-align: center; margin: 0; }
.ms-foot__jos a { color: #52606d; text-decoration: underline; }
.ms-foot__jos a:hover, .ms-foot__jos a:focus-visible { color: var(--ms-portocaliu); }

@media (max-width: 767px) {
  .ms-foot__misiune { max-width: none; }
}

/* Sigla APINT e PĂTRATĂ (800×800). Fără plafon de înălțime, blocul de identitate
   o randează la dimensiunea cerută pe LĂȚIME și umflă rândul antetului —
   măsurat: rând de 116px devenea 177px. */
.wp-block-kadence-header .kb-identity-item img.custom-logo,
.wp-block-kadence-header .site-logo img { max-height: 84px; width: auto; height: auto; }
@media (max-width: 1024px) {
  .wp-block-kadence-header .kb-identity-item img.custom-logo,
  .wp-block-kadence-header .site-logo img { max-height: 56px; }
}

/* Panoul de meniu rămânea SUB conținutul paginii: <header> e `position:relative`
   cu `z-index:50`, deci creează un context de stivuire, iar z-index-ul panoului
   (100000) se aplică DOAR în interiorul lui. Punctele caruselului din pagină
   (z-index 100, în contextul rădăcină) treceau peste panoul deschis.
   Ridicăm antetul doar cât timp panoul e deschis — `kb-modal-open` e pus de
   Kadence pe <body> la deschidere — ca să nu schimbăm stivuirea în rest. */
body.kb-modal-open header.wp-block-kadence-header { z-index: 100001; }

/* ══════════ pagina de magazin (șablonul Woo 52964) ══════════ */

/* — tabelul de comparație — */
.ms-tabel-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 28px; }
.ms-tabel { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff;
  border: 1px solid #e6e8eb; border-radius: 12px; overflow: hidden; font-size: 16px; }
.ms-tabel__caption { caption-side: top; text-align: left; padding: 0 0 12px; color: #52606d; font-size: 15px; }
.ms-tabel th, .ms-tabel td { padding: 14px 16px; border-bottom: 1px solid #edeff2; text-align: left; vertical-align: top; line-height: 1.45; }
.ms-tabel thead th { background: var(--ms-inchis); color: #fff; font-size: 16px; font-weight: 700; border-bottom: 0; }
.ms-tabel thead th:first-child { background: var(--ms-inchis); }
.ms-tabel tbody th { font-weight: 600; color: var(--ms-inchis); width: 34%; background: #fafbfc; }
.ms-tabel tbody tr:last-child th, .ms-tabel tbody tr:last-child td { border-bottom: 0; }
.ms-tabel .ms-da { color: #13612e; font-weight: 600; }
.ms-tabel .ms-nu { color: #9aa3ac; }

/* — „alege X dacă…” — */
.ms-alege { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ms-alege li { background: #fff; border: 1px solid #e6e8eb; border-left: 4px solid var(--ms-portocaliu);
  border-radius: 10px; padding: 16px 18px; font-size: 16px; line-height: 1.55; color: #3e4c59; }
.ms-alege strong { color: var(--ms-inchis); }

/* — capturile din aplicație — */
.ms-ecrane { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 8px 0 22px; }
.ms-ecran { margin: 0; }
.ms-ecran img { width: 100%; height: auto; display: block; border-radius: 14px;
  border: 1px solid #e0e3e7; background: #fff; }
.ms-ecran figcaption { margin-top: 10px; font-size: 15px; color: #52606d; text-align: center; line-height: 1.4; }
@media (max-width: 900px) { .ms-ecrane { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px) { .ms-ecrane { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ms-ecran figcaption { font-size: 14px; } }

/* — banda de încredere — */
.ms-incredere { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ms-incredere li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 3px solid var(--ms-portocaliu); }
.ms-incredere strong { color: var(--ms-inchis); font-size: 16px; line-height: 1.35; }
.ms-incredere span { color: #52606d; font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .ms-incredere { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ms-incredere { grid-template-columns: 1fr; } }

/* — întrebări frecvente —
   Blocurile `details` native veneau complet nestilizate: cinci triunghiuri albastre
   lipite la sfârșitul paginii. Aici capătă formă de listă pliabilă, fără JavaScript. */
.ms-faq { display: grid; gap: 12px; }
.ms-faq__item { background: #fff; border: 1px solid #e6e8eb; border-radius: 12px; overflow: hidden; }
.ms-faq__item > summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-size: 17px; font-weight: 600; color: var(--ms-inchis); line-height: 1.45; min-height: 56px; display: flex; align-items: center; }
.ms-faq__item > summary::-webkit-details-marker { display: none; }
.ms-faq__item > summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
  margin-top: -8px; border-right: 2.5px solid var(--ms-portocaliu); border-bottom: 2.5px solid var(--ms-portocaliu);
  transform: rotate(45deg); transition: transform .18s ease; }
.ms-faq__item[open] > summary::after { transform: rotate(-135deg); margin-top: -3px; }
.ms-faq__item > summary:hover, .ms-faq__item > summary:focus-visible { background: #fafbfc; }
.ms-faq__item > p { margin: 0; padding: 0 20px 20px; color: #3e4c59; font-size: 16px; line-height: 1.65; }

/* — grilele de produse — */
.ms-grila-cantare, .ms-grila-accesorii { margin-top: 8px; }

/* Pe ecran mic tabelul ascunde două coloane și se derulează lateral — fără un semn
   vizibil, omul crede că atât e tabelul. Indiciul apare DOAR cât timp chiar e ascuns. */
.ms-tabel__hint { display: none; }
@media (max-width: 760px) {
  .ms-tabel__hint { display: block; margin-top: 6px; color: var(--ms-portocaliu); font-weight: 600; font-size: 14px; }
  .ms-tabel-wrap { position: relative; }
  .ms-tabel-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 26px;
    pointer-events: none; background: linear-gradient(to right, rgba(249,249,251,0), rgba(249,249,251,.95)); }
}
