/* ============================================================
   NFLG — стили товарной страницы (single-nflg_plant_type.php)
   Подключаются только когда у записи включена «Полная товарная страница».
   Общие примитивы (кнопки, eyebrow, dimension, секции, reveal) берутся
   из основного style.css — здесь только новые блоки.
   ============================================================ */

.nflg-crumbs{background:var(--navy-deep); padding:130px 0 14px;}
.nflg-crumbs .nflg-container{display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,.55); flex-wrap:wrap;}
.nflg-crumbs a{color:rgba(255,255,255,.7);}
.nflg-crumbs a:hover{color:var(--orange);}
.nflg-crumbs .sep{opacity:.4;}
.nflg-crumbs .cur{color:var(--white);}

/* HERO */
.nflg-pt-hero{position:relative; background:var(--navy-deep); padding:44px 0 70px; overflow:hidden;}
.nflg-pt-hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;}
.nflg-pt-badge{font-family:var(--font-display); font-size:clamp(36px,5vw,54px); color:var(--white); letter-spacing:-.01em; font-weight:800;}
.nflg-pt-hero h1{color:var(--white); font-size:clamp(20px,2.4vw,28px); margin:8px 0 20px; font-weight:700;}
.nflg-pt-perf{display:flex; align-items:baseline; gap:10px; margin-bottom:24px; flex-wrap:wrap;}
.nflg-pt-perf .lbl{font-size:14px; color:rgba(255,255,255,.6);}
.nflg-pt-perf .num{font-family:var(--font-display); font-size:36px; color:var(--orange); font-weight:700;}
.nflg-pt-pills{display:flex; gap:22px; flex-wrap:wrap; margin-bottom:32px;}
.nflg-pt-pill{display:flex; flex-direction:column; gap:4px;}
.nflg-pt-pill .ic{width:28px; height:28px; color:var(--orange);}
.nflg-pt-pill span{font-size:12.5px; color:rgba(255,255,255,.65);}
.nflg-pt-hero-media{position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-soft); height:440px;}
.nflg-pt-hero-media img{width:100%; height:100%; object-fit:cover;}

/* spec strip */
.nflg-pt-specstrip{margin-top:-40px; position:relative; z-index:5;}
.nflg-pt-spec-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; background:var(--white); border-radius:var(--radius-md); padding:26px; box-shadow:var(--shadow-card);}
.nflg-pt-spec-cell{display:flex; align-items:center; gap:14px; border-right:1px solid var(--gray-line); padding-right:14px;}
.nflg-pt-spec-cell:last-child{border-right:none;}
.nflg-pt-spec-cell .ic{width:36px; height:36px; color:var(--orange); flex-shrink:0;}
.nflg-pt-spec-cell .num{font-family:var(--font-display); font-size:23px; color:var(--navy-deep); font-weight:700; display:block; line-height:1;}
.nflg-pt-spec-cell .lbl{font-size:12px; color:var(--muted); margin-top:3px;}

/* why */
.nflg-pt-why-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:54px; align-items:center;}
.nflg-pt-why-media img{border-radius:var(--radius-lg); width:100%; height:440px; object-fit:cover; box-shadow:var(--shadow-soft);}
.nflg-pt-why-cards{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.nflg-pt-why-card{background:var(--gray-bg); border-radius:var(--radius-md); padding:24px;}
.nflg-pt-why-card .ic{width:30px; height:30px; color:var(--orange); margin-bottom:14px;}
.nflg-pt-why-card h4{font-size:15px; margin-bottom:6px;}
.nflg-pt-why-card p{font-size:13.5px; color:var(--muted); line-height:1.5;}

/* diagram */
.nflg-pt-diagram-wrap{position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-soft);}
.nflg-pt-diagram-wrap img{width:100%; height:520px; object-fit:cover; display:block;}
.nflg-pt-hotspot{position:absolute; width:32px; height:32px; border-radius:50%; background:var(--orange); color:var(--white); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; font-size:13px; box-shadow:0 0 0 6px rgba(244,122,32,.25); cursor:pointer; transition:transform .2s ease;}
.nflg-pt-hotspot:hover, .nflg-pt-hotspot.active{transform:scale(1.15);}
.nflg-pt-hotspot-tooltip{position:absolute; width:230px; background:var(--white); border-radius:var(--radius-sm); padding:15px 17px; box-shadow:var(--shadow-soft); opacity:0; pointer-events:none; transform:translateY(6px); transition:opacity .2s ease, transform .2s ease; z-index:20;}
.nflg-pt-hotspot-tooltip.show{opacity:1; transform:translateY(0); pointer-events:auto;}
.nflg-pt-hotspot-tooltip b{display:block; font-family:var(--font-head); font-size:14px; color:var(--navy-deep); margin-bottom:6px;}
.nflg-pt-hotspot-tooltip p{font-size:12px; color:var(--muted); line-height:1.5;}
.nflg-pt-legend{display:flex; flex-wrap:wrap; gap:10px; margin-top:20px;}
.nflg-pt-legend button{display:flex; align-items:center; gap:8px; padding:8px 14px; border-radius:100px; background:var(--gray-bg); font-size:13px; font-weight:500; color:var(--navy-deep); transition:background .2s ease;}
.nflg-pt-legend button .n{width:19px; height:19px; border-radius:50%; background:var(--orange); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:10.5px; font-family:var(--font-mono); font-weight:700;}
.nflg-pt-legend button.active, .nflg-pt-legend button:hover{background:var(--navy-deep); color:var(--white);}
.nflg-pt-legend button.active .n, .nflg-pt-legend button:hover .n{background:var(--orange);}

/* advantages 2 */
.nflg-pt-adv-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.nflg-pt-adv-card{background:var(--white); border:1px solid var(--gray-line); border-radius:var(--radius-md); padding:28px 24px; transition:transform .25s ease, box-shadow .25s ease;}
.nflg-pt-adv-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-card); border-color:transparent;}
.nflg-pt-adv-card .ic{width:40px; height:40px; color:var(--orange); margin-bottom:16px;}
.nflg-pt-adv-card h3{font-size:16px; margin-bottom:8px;}
.nflg-pt-adv-card p{font-size:13px; color:var(--muted); line-height:1.5;}

/* model switcher */
.nflg-pt-model-row{display:grid; grid-template-columns:repeat(auto-fit, minmax(130px,1fr)); gap:14px;}
.nflg-pt-model-card{background:var(--navy-deep); border-radius:var(--radius-md); padding:18px 16px; text-align:left; border:2px solid transparent; transition:border-color .2s ease, transform .2s ease;
  will-change:transform;}
.nflg-pt-model-card:hover{transform:translateY(-3px);}
.nflg-pt-model-card.active{border-color:var(--orange); background:var(--navy);}
.nflg-pt-model-card .name{font-family:var(--font-head); font-size:15px; color:var(--white); margin-bottom:6px;}
.nflg-pt-model-card .perf{font-size:12px; color:rgba(255,255,255,.6); margin-bottom:12px;}
.nflg-pt-model-card .arrow{width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; color:var(--white);}
.nflg-pt-model-card.active .arrow{background:var(--orange);}
.nflg-pt-model-card .arrow svg{width:12px; height:12px;}

/* specs + komplekt */
.nflg-pt-specdocs-grid{display:grid; grid-template-columns:1.2fr 1fr; gap:24px;}
.nflg-pt-spec-table{width:100%; border-collapse:collapse;}
.nflg-pt-spec-table tr{border-bottom:1px solid var(--gray-line);}
.nflg-pt-spec-table tr:last-child{border-bottom:none;}
.nflg-pt-spec-table td{padding:14px 4px; font-size:14px;}
.nflg-pt-spec-table td:first-child{color:var(--muted);}
.nflg-pt-spec-table td:last-child{text-align:right; font-weight:600; color:var(--navy-deep); font-family:var(--font-mono);}
.nflg-pt-komplekt-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.nflg-pt-komplekt-item{background:var(--gray-bg); border-radius:var(--radius-sm); padding:15px; display:flex; align-items:center; gap:12px;}
.nflg-pt-komplekt-item .ic{width:24px; height:24px; color:var(--orange); flex-shrink:0;}
.nflg-pt-komplekt-item span{font-size:13px; font-weight:500; color:var(--navy-deep);}
.nflg-pt-ctas{display:flex; gap:14px; margin-top:24px; flex-wrap:wrap;}
.nflg-pt-spec-notes{background:var(--gray-bg); border-radius:var(--radius-sm); padding:20px 22px; margin-top:18px;}
.nflg-pt-spec-notes h5{font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:600; margin-bottom:13px;}
.nflg-pt-spec-notes ol{list-style:none; display:flex; flex-direction:column; gap:9px; margin-bottom:13px;}
.nflg-pt-spec-notes ol li{display:flex; gap:9px; font-size:12.5px; color:var(--muted); line-height:1.55;}
.nflg-pt-spec-notes ol li b{color:var(--navy-deep); font-weight:600;}
.nflg-pt-spec-notes .num{font-family:var(--font-mono); font-weight:700; color:var(--orange); flex-shrink:0;}
.nflg-pt-spec-notes .rec{display:flex; gap:9px; font-size:12.5px; color:var(--navy-deep); padding-top:13px; border-top:1px solid var(--gray-line); line-height:1.55;}
.nflg-pt-spec-notes .rec b{color:var(--orange); flex-shrink:0; white-space:nowrap;}

/* video / docs row */
.nflg-pt-row-4{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:20px;}
.nflg-pt-video-card{position:relative; border-radius:var(--radius-md); overflow:hidden; min-height:220px; background:var(--navy-deep);}
.nflg-pt-video-card img{width:100%; height:100%; object-fit:cover; position:absolute; inset:0; opacity:.55;}
.nflg-pt-video-inner{position:relative; z-index:2; height:100%; display:flex; flex-direction:column; justify-content:space-between; padding:20px;}
.nflg-pt-play{width:50px; height:50px; border-radius:50%; background:var(--orange); display:flex; align-items:center; justify-content:center; color:var(--white); margin:auto;}
.nflg-pt-play svg{width:18px; height:18px;}
.nflg-pt-video-inner .lbl{color:var(--white); font-size:12.5px; font-family:var(--font-mono);}
.nflg-pt-doc-card{background:var(--white); border:1px solid var(--gray-line); border-radius:var(--radius-md); padding:20px; display:flex; flex-direction:column; gap:13px;}
.nflg-pt-doc-card .ic{width:34px; height:34px; color:var(--orange);}
.nflg-pt-doc-card span{font-size:13px; font-weight:600; color:var(--navy-deep);}
.nflg-pt-doc-card small{font-size:11px; color:var(--muted);}
.nflg-pt-doc-dl{margin-top:auto; font-size:12px; font-weight:600; color:var(--navy-deep); display:flex; align-items:center; gap:6px;}
.nflg-pt-doc-dl--disabled{color:var(--muted);}

/* gallery */
.nflg-pt-gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:150px; gap:16px;}
.nflg-pt-gallery-grid img{width:100%; height:100%; object-fit:cover; border-radius:var(--radius-sm);}
.nflg-pt-gallery-grid .g-tall{grid-row:span 2;}

/* sticky side card */
.nflg-pt-sticky{position:fixed; right:24px; top:50%; transform:translateY(-50%) translateX(120%); width:220px; background:var(--white); border-radius:var(--radius-md); padding:20px; box-shadow:var(--shadow-soft); z-index:300; transition:transform .35s ease; border:1px solid var(--gray-line);}
.nflg-pt-sticky.show{transform:translateY(-50%) translateX(0);}
.nflg-pt-sticky .model{font-family:var(--font-head); font-size:17px; color:var(--navy-deep);}
.nflg-pt-sticky .perf{font-size:12px; color:var(--muted); margin:6px 0 13px;}
.nflg-pt-sticky .price{font-size:12.5px; color:var(--muted); margin-bottom:15px;}
.nflg-pt-sticky .price b{color:var(--navy-deep); display:block; font-size:14.5px;}
.nflg-pt-sticky .nflg-btn{width:100%; justify-content:center; padding:12px 14px; font-size:13px; margin-bottom:10px;}
.nflg-pt-sticky-msgrs{display:flex; gap:8px;}
.nflg-pt-sticky-msgrs a{flex:1; height:36px; border-radius:10px; background:var(--gray-bg); display:flex; align-items:center; justify-content:center; color:var(--navy-deep);}
.nflg-pt-sticky-msgrs a svg{width:16px; height:16px;}
.nflg-pt-sticky-close{position:absolute; top:10px; right:10px; width:20px; height:20px; color:var(--muted); cursor:pointer;}

@media (max-width:1080px){
  .nflg-pt-hero-grid{grid-template-columns:1fr;}
  .nflg-pt-hero-media{height:300px;}
  .nflg-pt-spec-grid{grid-template-columns:repeat(2,1fr); row-gap:18px;}
  .nflg-pt-spec-cell{border-right:none;}
  .nflg-pt-why-grid{grid-template-columns:1fr;}
  .nflg-pt-adv-grid{grid-template-columns:repeat(2,1fr);}
  .nflg-pt-specdocs-grid{grid-template-columns:1fr;}
  .nflg-pt-row-4{grid-template-columns:1fr 1fr;}
  .nflg-pt-gallery-grid{grid-template-columns:repeat(2,1fr);}
  .nflg-pt-sticky{display:none;}
}
@media (max-width:640px){
  .nflg-pt-komplekt-grid{grid-template-columns:1fr;}
  .nflg-pt-row-4{grid-template-columns:1fr;}
  .nflg-pt-gallery-grid{grid-template-columns:1fr 1fr;}
  .nflg-pt-adv-grid{grid-template-columns:1fr;}
  .nflg-pt-why-cards{grid-template-columns:1fr;}
}

/* ══════════════════════════════════════════════════════════════
   Галерея товара (блок 01) — главное фото + миниатюры
   ══════════════════════════════════════════════════════════════ */
.nflg-pt-gallery-v2{ display:flex; flex-direction:column; gap:12px; }
.nflg-pt-gallery-main{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--gray-bg);
}
.nflg-pt-gallery-main img{
  width:100%; height:100%;
  object-fit:cover;
  transition:opacity .25s ease;
}
.nflg-pt-gallery-thumbs{
  display:flex; gap:10px; flex-wrap:wrap;
}
.nflg-pt-gallery-thumb{
  width:80px; height:60px;
  border-radius:var(--radius-sm);
  overflow:hidden;
  border:2px solid var(--gray-line);
  transition:border-color .2s ease;
  cursor:pointer;
  padding:0;
}
.nflg-pt-gallery-thumb img{ width:100%; height:100%; object-fit:cover; }
.nflg-pt-gallery-thumb.active,
.nflg-pt-gallery-thumb:hover{ border-color:var(--orange); }
.nflg-pt-description{
  font-size:15px; color:var(--muted); line-height:1.7;
}
.nflg-pt-description p{ margin-bottom:14px; }

/* Примечания на всю ширину блока (вне двух колонок) */
.nflg-pt-spec-notes--wide{
  margin-top:26px;
  grid-column:1 / -1;
}

/* ══════════════════════════════════════════════════════════════
   Ключевые особенности компонентов
   ══════════════════════════════════════════════════════════════ */
.nflg-pt-kf-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.nflg-pt-kf-card{
  background:var(--white);
  border:1px solid var(--gray-line);
  border-radius:var(--radius-md);
  padding:28px 26px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change:transform;
  will-change:transform;
  will-change:transform;
}
.nflg-pt-kf-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-card);
  border-color:rgba(244,122,32,.35);
}
.nflg-pt-kf-head{
  display:flex; align-items:center; gap:14px;
  margin-bottom:18px;
}
.nflg-pt-kf-icon{
  width:46px; height:46px; flex-shrink:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--navy-deep),var(--navy));
  display:flex; align-items:center; justify-content:center;
  color:var(--orange);
}
.nflg-pt-kf-icon svg{ width:22px; height:22px; }
.nflg-pt-kf-card h3{ font-size:16px; line-height:1.2; }
.nflg-pt-kf-list{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:10px;
}
.nflg-pt-kf-list li{
  font-size:13.5px; color:var(--muted);
  line-height:1.55;
  padding-left:18px;
  position:relative;
}
.nflg-pt-kf-list li::before{
  content:''; position:absolute;
  left:0; top:7px;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--orange);
}

@media(max-width:1080px){
  .nflg-pt-kf-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:640px){
  .nflg-pt-kf-grid{ grid-template-columns:1fr; }
  .nflg-pt-gallery-thumb{ width:64px; height:48px; }
}


/* ============================================================
   Правки товара: мобильные плашки, объединение моделей и характеристик
   ============================================================ */
.nflg-pt-spec-grid{
  background:transparent;
  box-shadow:none;
  padding:0;
  gap:16px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.nflg-pt-spec-cell{
  min-width:0;
  border-right:none;
  background:linear-gradient(135deg, #0F2235 0%, #1e3d5f 50%, rgba(244,122,32,.18) 100%);
  border:1px solid rgba(244,122,32,.25);
  border-radius:var(--radius-md);
  padding:22px 20px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  align-items:flex-start;
}
.nflg-pt-spec-cell .num{
  font-size:clamp(18px,2vw,23px);
  line-height:1.15;
  word-break:break-word;
  color:#fff;
}
.nflg-pt-spec-cell .lbl{ line-height:1.35; color:rgba(255,255,255,.7); }
.nflg-pt-spec-cell .ic{ color:var(--orange); }
.nflg-pt-specdocs-grid--combined{
  margin-top:34px;
  align-items:start;
}
.nflg-pt-subtitle{
  font-size:18px;
  margin-bottom:18px;
}
.nflg-pt-pills{display:none!important;}
.nflg-pt-kf-icon svg,
.nflg-pt-komplekt-item .ic svg,
.nflg-pt-spec-cell .ic svg{stroke-width:1.9;}

@media (max-width:1080px){
  .nflg-pt-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .nflg-pt-spec-cell{padding:20px;}
}
@media (max-width:640px){
  .nflg-pt-specstrip{margin-top:-28px;}
  .nflg-pt-spec-grid{grid-template-columns:1fr; gap:12px;}
  .nflg-pt-spec-cell{width:100%; padding:18px;}
  .nflg-pt-spec-cell .ic{width:30px; height:30px;}
  .nflg-pt-spec-cell .num{font-size:20px;}
  .nflg-pt-model-row{grid-template-columns:1fr 1fr;}
}
@media (max-width:420px){
  .nflg-pt-model-row{grid-template-columns:1fr;}
}

/* ============================================================
   Правки товара 2: темный фон после hero + мобильные вкладки моделей
   ============================================================ */
body.single-nflg_plant_type #main{
  background:linear-gradient(180deg,#071525 0%,#0b1d31 42%,#06111f 100%);
}
body.single-nflg_plant_type .nflg-pt-hero{
  margin-bottom:0;
}
body.single-nflg_plant_type .nflg-pt-specstrip{
  padding-top:0;
  padding-bottom:42px;
}
body.single-nflg_plant_type .nflg-section,
body.single-nflg_plant_type .nflg-section--gray{
  background:transparent!important;
  color:var(--white);
}
body.single-nflg_plant_type .nflg-section h1,
body.single-nflg_plant_type .nflg-section h2,
body.single-nflg_plant_type .nflg-section h3,
body.single-nflg_plant_type .nflg-section h4,
body.single-nflg_plant_type .nflg-section-head h2,
body.single-nflg_plant_type .nflg-pt-subtitle{
  color:var(--white);
}
body.single-nflg_plant_type .nflg-dimension,
body.single-nflg_plant_type .nflg-eyebrow{
  color:var(--orange);
}
body.single-nflg_plant_type .nflg-pt-description,
body.single-nflg_plant_type .nflg-pt-description p,
body.single-nflg_plant_type .nflg-section p{
  color:rgba(255,255,255,.74);
}
body.single-nflg_plant_type .nflg-pt-spec-cell,
body.single-nflg_plant_type .nflg-pt-why-card,
body.single-nflg_plant_type .nflg-pt-kf-card,
body.single-nflg_plant_type .nflg-pt-doc-card,
body.single-nflg_plant_type .nflg-pt-komplekt-item,
body.single-nflg_plant_type .nflg-pt-spec-notes{
  background:rgba(23,59,94,.82);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 45px rgba(0,0,0,.28);
}
/* Градиент только на плашках цифр (spec-cell) */
body.single-nflg_plant_type .nflg-pt-spec-cell{
  background:linear-gradient(135deg, #0F2235 0%, #1e3d5f 55%, rgba(244,122,32,.22) 100%);
  border:1px solid rgba(244,122,32,.3);
}
body.single-nflg_plant_type .nflg-pt-spec-cell .num,
body.single-nflg_plant_type .nflg-pt-spec-cell .lbl,
body.single-nflg_plant_type .nflg-pt-why-card h4,
body.single-nflg_plant_type .nflg-pt-kf-card h3,
body.single-nflg_plant_type .nflg-pt-komplekt-item span,
body.single-nflg_plant_type .nflg-pt-spec-notes .rec,
body.single-nflg_plant_type .nflg-pt-spec-notes ol li b,
body.single-nflg_plant_type .nflg-pt-spec-notes .rec span{
  color:var(--white);
}
body.single-nflg_plant_type .nflg-pt-spec-cell .lbl,
body.single-nflg_plant_type .nflg-pt-why-card p,
body.single-nflg_plant_type .nflg-pt-kf-list li,
body.single-nflg_plant_type .nflg-pt-spec-notes ol li,
body.single-nflg_plant_type .nflg-pt-spec-notes h5{
  color:rgba(255,255,255,.68);
}
body.single-nflg_plant_type .nflg-pt-spec-table{
  overflow:hidden;
  border-radius:var(--radius-md);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}
body.single-nflg_plant_type .nflg-pt-spec-table tr{
  border-bottom:1px solid rgba(255,255,255,.10);
}
body.single-nflg_plant_type .nflg-pt-spec-table td{
  padding:15px 18px;
}
body.single-nflg_plant_type .nflg-pt-spec-table td:first-child{
  color:rgba(255,255,255,.68);
}
body.single-nflg_plant_type .nflg-pt-spec-table td:last-child{
  color:var(--white);
}
body.single-nflg_plant_type #nflg-pt-specs .nflg-dimension{
  display:none;
}
body.single-nflg_plant_type .nflg-pt-model-row{
  margin-top:24px;
}
body.single-nflg_plant_type .nflg-pt-model-card{
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  box-shadow:0 18px 45px rgba(0,0,0,.20);
}
body.single-nflg_plant_type .nflg-pt-model-card.active{
  background:linear-gradient(135deg,rgba(244,122,32,.22),rgba(255,255,255,.07));
  border-color:var(--orange);
}
body.single-nflg_plant_type .nflg-pt-gallery-main,
body.single-nflg_plant_type .nflg-pt-gallery-thumb{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
}

@media (max-width:640px){
  body.single-nflg_plant_type .nflg-pt-specstrip{
    margin-top:0;
    padding-top:22px;
    padding-bottom:34px;
  }
  body.single-nflg_plant_type .nflg-pt-spec-grid{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  body.single-nflg_plant_type .nflg-pt-spec-cell{
    padding:16px 14px;
    min-height:128px;
    flex-direction:column;
    gap:10px;
  }
  body.single-nflg_plant_type .nflg-pt-spec-cell .num{
    font-size:18px;
  }
  body.single-nflg_plant_type .nflg-pt-model-row{
    display:flex;
    grid-template-columns:none;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 0 14px;
    margin-left:-20px;
    margin-right:-20px;
    padding-left:20px;
    padding-right:20px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  body.single-nflg_plant_type .nflg-pt-model-row::-webkit-scrollbar{
    height:4px;
  }
  body.single-nflg_plant_type .nflg-pt-model-row::-webkit-scrollbar-thumb{
    background:rgba(244,122,32,.8);
    border-radius:100px;
  }
  body.single-nflg_plant_type .nflg-pt-model-card{
    flex:0 0 142px;
    min-height:112px;
    padding:16px 14px;
    scroll-snap-align:start;
  }
  body.single-nflg_plant_type .nflg-pt-model-card .name{
    font-size:14px;
  }
  body.single-nflg_plant_type .nflg-pt-model-card .perf{
    margin-bottom:10px;
  }
}
@media (max-width:420px){
  body.single-nflg_plant_type .nflg-pt-spec-grid{
    grid-template-columns:1fr;
  }
  body.single-nflg_plant_type .nflg-pt-model-card{
    flex-basis:136px;
  }
}

/* 1) Hero background image — dimmed, behind the content columns */
.nflg-pt-hero{ position:relative; }
.nflg-pt-hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:.22;
  z-index:0;
}
.nflg-pt-hero .nflg-container,
.nflg-pt-hero-grid{ position:relative; z-index:1; }

/* 3) Уменьшенный отступ перед блоком «Почему эта модель» */
#nflgWhySection{
  padding-top:52px !important;
}

/* 4) Галерея: стрелки + счётчик */
.nflg-pt-gallery-main{ transition:opacity .18s ease; }
.nflg-gallery-counter{
  position:absolute; bottom:12px; left:50%; transform:translateX(-50%);
  background:rgba(15,34,53,.72); color:#fff;
  font-size:13px; font-family:var(--font-mono);
  padding:5px 14px; border-radius:20px;
  pointer-events:none; z-index:4;
}
.nflg-gallery-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%;
  background:rgba(15,34,53,.72); border:1px solid rgba(255,255,255,.3);
  color:#fff; display:flex; align-items:center; justify-content:center;
  z-index:4; transition:background .2s ease;
  will-change:transform;
}
.nflg-gallery-arrow svg{ width:14px; height:14px; }
.nflg-gallery-arrow:hover{ background:var(--orange); border-color:var(--orange); }
.nflg-gallery-arrow--prev{ left:12px; }
.nflg-gallery-arrow--next{ right:12px; }
/* Миниатюры: горизонтальная полоса с прокруткой */
.nflg-pt-gallery-thumbs{ overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; gap:10px; flex-wrap:nowrap; }
.nflg-pt-gallery-thumb{ flex-shrink:0; scroll-snap-align:start; }

/* Benefits block (Почему производители бетона выбирают NFLG) */
.nflg-pt-kf-num{
  font-family:var(--font-display);
  font-size:28px; color:var(--orange);
  line-height:1; min-width:42px;
}
.nflg-pt-kf-text{
  font-size:14px; color:var(--muted);
  line-height:1.55; margin:0;
}
/* Extra benefits sidebar */
.nflg-pt-benefits-extra{
  padding:28px 32px;
  background:var(--navy-deep);
  border-radius:var(--radius-md);
}
.nflg-pt-benefits-extra-h{
  color:#fff; font-size:18px; margin:0 0 18px;
}
.nflg-pt-benefits-extra-list{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:0;
}
.nflg-pt-benefits-extra-list li{
  color:rgba(255,255,255,.8); font-size:14px; line-height:1.55;
  padding:12px 0 12px 20px; position:relative;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.nflg-pt-benefits-extra-list li:first-child{ padding-top:0; }
.nflg-pt-benefits-extra-list li:last-child{ border-bottom:none; padding-bottom:0; }
.nflg-pt-benefits-extra-list li::before{
  content:''; position:absolute; left:0; top:18px;
  width:7px; height:7px; border-radius:50%; background:var(--orange);
}
.nflg-pt-benefits-extra-list li:first-child::before{ top:6px; }

/* 4) CTA messengers */
.nflg-pt-cta-actions{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:0; }
.nflg-pt-cta-messengers{ display:flex; gap:10px; }
.nflg-pt-cta-messengers a{
  width:46px; height:46px; border-radius:13px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  color:#fff; transition:background .2s ease;
}
.nflg-pt-cta-messengers a svg{ width:19px; height:19px; }
.nflg-pt-cta-messengers a:hover{ background:var(--orange); border-color:var(--orange); }

/* Spec strip теперь внутри секции — убираем отрицательный отступ,
   оставляем только нижний отступ перед таблицей характеристик */
body.single-nflg_plant_type .nflg-pt-specstrip{ margin-top:0; }

/* Преимущества и Особенности оборудования в блоке 01 */
.nflg-pt-adv-list h4,
.nflg-pt-feat-list h4{
  font-size:16px; margin:0 0 12px;
  color:var(--navy-deep);
}
body.single-nflg_plant_type .nflg-pt-adv-list h4,
body.single-nflg_plant_type .nflg-pt-feat-list h4{
  color:#fff;
}
.nflg-pt-adv-list ul,
.nflg-pt-feat-list ul{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:8px;
}
.nflg-pt-adv-list li,
.nflg-pt-feat-list li{
  padding-left:18px; position:relative;
  font-size:14px; line-height:1.55;
  color:var(--muted);
}
body.single-nflg_plant_type .nflg-pt-adv-list li,
body.single-nflg_plant_type .nflg-pt-feat-list li{
  color:rgba(255,255,255,.75);
}
.nflg-pt-adv-list li::before,
.nflg-pt-feat-list li::before{
  content:''; position:absolute; left:0; top:7px;
  width:7px; height:7px; border-radius:50%; background:var(--orange);
}

/* Встроенное видео перед CTA */
body.single-nflg_plant_type .nflg-pt-video-embed-section{ padding:40px 0; }
.nflg-pt-video-embed{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(244,122,32,.25);
  background:#000;
}
.nflg-pt-video-embed iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0; display:block;
}
/* Фолбэк для старых браузеров без aspect-ratio */
@supports not (aspect-ratio: 16 / 9){
  .nflg-pt-video-embed{ height:0; padding-bottom:56.25%; }
}

/* Заключение — на подложке, как примечания (заголовок скрыт) */
.nflg-pt-conclusion{
  background:var(--gray-bg);
  border-radius:var(--radius-sm);
  padding:20px 22px;
  margin-top:24px;
}
.nflg-pt-conclusion p{ margin:0; line-height:1.6; }
body.single-nflg_plant_type .nflg-pt-conclusion{
  background:rgba(23,59,94,.82);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 45px rgba(0,0,0,.28);
  color:rgba(255,255,255,.9);
}
