/* durchdacht new-web: страница товара, новый лаяут (макет 2026-08).
   Общие секции для обоих типов товаров: шапка с трастовой строкой и банером
   скидки, медиа-колонка (бейдж, превьюшки, чипы), тёмный ценовой блок,
   Specifikace + Snadná samomontáž + Proč u nás, Realizace, Časté dotazy,
   карточка «Potřebujete poradit?». Палитра сайта: #A9633A / #101828.
   Специфика конфигуратора — в kfg.css (грузится после). */

.nw-pp {
  --pp-brand: #A9633A;
  --pp-brand-dark: #8A4E28;
  --pp-ink: #101828;
  --pp-mut: #667085;
  --pp-line: #E4E7EC;
  --pp-cream: #FBF4EC;
  --pp-sale: #D92D20;
  font-family: Inter, system-ui, sans-serif;
}

/* ===== шапка: H1 + трастовая строка | тёмный банер скидки ===== */
.nw-pp-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.nw-pp-titlebox { min-width: 0; }
.nw-pp-titlebox h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.12; letter-spacing: -0.02em; }
/* Заголовок и кнопка «Uložit» в одной строке: раньше кнопка лежала внутри H1. */
.nw-pp-titleline { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0; }
.nw-pp-titleline h1 { margin: 0 0 10px; }

.nw-pp-trust { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 0; font-weight: 500; font-size: 14.5px; color: var(--pp-mut); }
.nw-pp-trust-i { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--pp-line); white-space: nowrap; }
.nw-pp-trust-i:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.nw-pp-stars { color: var(--pp-ink); font-weight: 700; }
.nw-pp-stars span { color: #FFA51F; letter-spacing: 1px; }
.nw-pp-trust-cats { white-space: normal; }

.nw-pp-banner {
  flex: none;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--pp-ink);
  color: #fff;
  border-radius: 12px;
  padding: 15px 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .18);
}
.nw-pp-banner-pct {
  flex: none;
  background: var(--pp-sale);
  color: #fff;
  border-radius: 7px;
  padding: 6px 10px;
  font: 800 14px Inter, sans-serif;
  white-space: nowrap;
}
.nw-pp-banner-txt { font-weight: 500; font-size: 12.5px; line-height: 1.5; color: #98A2B3; min-width: 0; }
.nw-pp-banner-txt strong { display: block; font-weight: 800; font-size: 16px; color: #fff; margin-bottom: 2px; }
.nw-pp-banner-txt em { font-style: normal; }

/* ===== герой обычного товара (конфигуратор задаёт свой грид в kfg.css) ===== */
.nw-pp-hero { align-items: start; }

/* ===== медиа-колонка ===== */
.nw-pp-media { min-width: 0; }
.nw-pp-imgwrap { position: relative; }
.nw-pp-imgbadge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  background: var(--pp-sale);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font: 700 12.5px Inter, sans-serif;
  box-shadow: 0 4px 14px rgba(16, 24, 40, .25);
}
.nw-pp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.nw-pp-thumb { border: 1px solid var(--pp-line); border-radius: 8px; padding: 0; background: #fff; cursor: pointer; overflow: hidden; line-height: 0; }
.nw-pp-thumb img { width: 84px; height: 64px; object-fit: cover; display: block; }
.nw-pp-thumb:hover { border-color: var(--pp-brand); }
.nw-pp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.nw-pp-chips li {
  background: #F4F6F8;
  border: 1px solid var(--pp-line);
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--pp-ink);
}

/* ===== тёмный ценовой блок (общий вид: конфигуратор и обычный товар) ===== */
.nw-kfgx-pricebox {
  padding: 16px 22px 18px;
  background: var(--pp-ink, #101828);
  color: #fff;
}
.nw-pp-buybox { border-radius: 14px; margin-top: 14px; }
.nw-kfgx-priceline { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.nw-kfgx-priceline[hidden] { display: none; }
.nw-kfgx-pricelab { font: 500 11px Inter, sans-serif; color: #98A2B3; margin-bottom: 4px; }
.nw-kfgx-price { font: 800 27px/1.15 Inter, sans-serif; color: #fff; letter-spacing: -0.03em; }
.nw-kfgx-old { font: 500 13px Inter, sans-serif; color: #98A2B3; letter-spacing: 0; margin-left: 9px; }
.nw-kfgx-old[hidden] { display: none; }
.nw-kfgx-savrow { display: flex; align-items: center; gap: 9px; margin-top: 6px; flex-wrap: wrap; }
.nw-kfgx-akce {
  display: inline-block;
  background: var(--pp-sale, #D92D20);
  color: #fff;
  border-radius: 6px;
  padding: 4px 9px;
  font: 700 11.5px Inter, sans-serif;
  white-space: nowrap;
}
.nw-kfgx-akce[hidden] { display: none; }
.nw-kfgx-salenote { font: 500 11.5px Inter, sans-serif; color: #98A2B3; }
.nw-kfgx-unit, .nw-kfgx-mnote { font: 600 12px Inter, sans-serif; color: #E2B48C; margin-top: 3px; }
.nw-kfgx-unit[hidden], .nw-kfgx-mnote[hidden] { display: none; }
#nw-kfgx-price.is-flash { animation: kfgxFlash .5s ease; }
/* только from: to = собственный цвет элемента */
@keyframes kfgxFlash {
  from { color: var(--pp-brand); }
}

/* степпер количества на тёмном фоне */
.nw-kfgx-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  background: transparent;
}
.nw-kfgx-qbtn {
  width: 34px;
  height: 38px;
  border: 0;
  background: transparent;
  font: 600 17px Inter, sans-serif;
  color: #fff;
  cursor: pointer;
}
.nw-kfgx-qbtn:hover { background: rgba(255, 255, 255, .12); }
.nw-kfgx-qval { min-width: 30px; text-align: center; font: 700 14px Inter, sans-serif; color: #fff; }

/* «cena na vyžádání» */
.nw-kfgx-onreq { font: 500 13px/1.55 Inter, sans-serif; color: #fff; margin: 0 0 4px; }
.nw-kfgx-onreq[hidden] { display: none; }

/* кнопки действий */
.nw-kfgx-actions { display: flex; gap: 9px; margin-top: 12px; }
#nw-kfgx-add { flex: 1.4; margin: 0; text-align: center; }
#nw-kfgx-add[hidden] { display: none; }
#nw-kfgx-add.is-done { background: #1B7F4D !important; border-color: #1B7F4D !important; color: #fff !important; }
.nw-kfgx-ghost {
  flex: 1;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: transparent;
  border-radius: 9px;
  padding: 12px 14px;
  font: 700 13px Inter, sans-serif;
  color: #fff;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.nw-kfgx-ghost:hover { border-color: var(--pp-brand); color: #E2B48C; }

/* обычный товар: ссылка-призрак и qty в тёмном блоке */
.nw-pp-buybox .nw-cta-ghost { display: block; text-align: center; margin: 10px 0 0; color: #fff; font-weight: 600; }
.nw-pp-buybox .nw-buy-row { margin-top: 12px; }
.nw-pp-buybox .nw-qtybox { background: transparent; border-color: rgba(255, 255, 255, .25); }
.nw-pp-buybox .nw-qtybox .nw-qty { background: transparent; color: #fff; }
.nw-pp-buybox .nw-qtybox-btn { background: transparent; color: #fff; }

/* ===== заголовки новых секций: единый стиль с .nw-prose h2 (22px + бордер бренда) ===== */
.nw-pp-h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

/* ===== Specifikace + Snadná samomontáž / Proč u nás — белая карточка как .nw-product-desc ===== */
.nw-pp-specsec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 0 0 22px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}
.nw-pp-spectable { width: 100%; border-collapse: collapse; }
.nw-pp-spectable tr { border-bottom: 1px solid #F0F2F4; }
.nw-pp-spectable tr:last-child { border-bottom: 0; }
.nw-pp-spectable th {
  text-align: left;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--pp-mut);
  padding: 13px 4px 13px 0;
  width: 45%;
}
.nw-pp-spectable td { text-align: right; font-weight: 700; font-size: 15px; color: var(--pp-ink); padding: 13px 0; }
.nw-pp-montintro { font-size: 15px; line-height: 1.65; color: #344054; margin: 0 0 16px; }
.nw-pp-montrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #F8F9FB;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--pp-ink);
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.nw-pp-montrow:hover { border-color: var(--pp-brand); background: var(--pp-cream); text-decoration: none; }
.nw-pp-montrow b { color: var(--pp-brand-dark); font-weight: 700; white-space: nowrap; }
.nw-pp-proc { background: var(--pp-ink); color: #fff; border-radius: 14px; padding: 24px 26px; margin-top: 16px; }
.nw-pp-proc h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: #fff; }
.nw-pp-proc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.nw-pp-proc li { font-weight: 600; font-size: 14.5px; line-height: 1.45; color: #E4E7EC; }

/* ===== Realizace ===== */
.nw-pp-real { margin: 14px 0 36px; }
.nw-pp-real-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.nw-pp-real-head .nw-pp-h2 { margin-bottom: 0; }
.nw-pp-real-all {
  background: var(--pp-ink);
  color: #fff !important;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease;
}
.nw-pp-real-all:hover { background: var(--pp-brand); text-decoration: none; }
.nw-pp-real-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nw-pp-real-card {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--pp-ink);
  border: 1px solid var(--pp-line);
  box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}
.nw-pp-real-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .3s ease; }
.nw-pp-real-card:hover img { transform: scale(1.03); }
.nw-pp-real-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(16, 24, 40, .78);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 11px;
  border-radius: 7px;
}

/* ===== Časté dotazy + Potřebujete poradit? ===== */
.nw-pp-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin: 0 0 46px;
  scroll-margin-top: 90px;
}
.nw-pp-faq-item {
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
  transition: border-color .15s ease;
}
.nw-pp-faq-item:hover { border-color: #CDD5DF; }
.nw-pp-faq-item[open] { border-color: var(--pp-tan, #E2B48C); }
.nw-pp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 48px 17px 20px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--pp-ink);
  position: relative;
}
.nw-pp-faq-item summary::-webkit-details-marker { display: none; }
.nw-pp-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 19px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 22px;
  color: var(--pp-brand);
}
.nw-pp-faq-item[open] summary::after { content: '−'; }
.nw-pp-faq-a { padding: 0 20px 17px; font-size: 14.5px; line-height: 1.65; color: #344054; }

.nw-pp-poradit {
  background: var(--pp-cream);
  border: 1px solid #EAD9C6;
  border-radius: 16px;
  padding: 28px 30px;
  position: sticky;
  top: 90px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}
.nw-pp-poradit h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.nw-pp-poradit > p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: #4A4238; }
.nw-pp-poradit-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.nw-pp-callbtn {
  flex: 1.4;
  display: block;
  text-align: center;
  background: var(--pp-ink);
  color: #fff !important;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease;
}
.nw-pp-callbtn:hover { background: var(--pp-brand); text-decoration: none; }
.nw-pp-wabtn {
  flex: 1;
  display: block;
  text-align: center;
  background: #fff;
  border: 1.5px solid #EAD9C6;
  color: var(--pp-ink) !important;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.nw-pp-wabtn:hover { border-color: #12805C; color: #12805C !important; text-decoration: none; }
.nw-pp-lead {
  background: #fff;
  border: 1px solid #EAD9C6;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nw-pp-lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nw-pp-lead input {
  height: 48px;
  border: 1.5px solid #E4E7EC;
  border-radius: 11px;
  padding: 0 14px 0 42px;
  font: 500 14.5px Inter, sans-serif;
  color: var(--pp-ink);
  background: #fff no-repeat 14px center;
  background-size: 17px 17px;
  width: 100%;
  min-width: 0;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nw-pp-lead input:focus { border-color: var(--pp-brand); box-shadow: 0 0 0 3px rgba(169, 99, 58, .13); }
.nw-pp-lead input::placeholder { color: #98A2B3; }
/* иконки полей — как в карточке входа */
.nw-pp-lead input[name=name] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.8 20c1.2-3.5 3.9-5.3 7.2-5.3s6 1.8 7.2 5.3'/%3E%3C/svg%3E"); }
.nw-pp-lead input[name=email] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6.5 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.nw-pp-lead input[name=phone] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.4a12 12 0 0 0 5.6 5.6l1.4-2 4 1.5v3a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.5 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E"); }
.nw-pp-lead-note { margin: 0; font-weight: 500; font-size: 13px; color: var(--pp-mut); }
.nw-pp-leadbtn {
  border: 0;
  height: 50px;
  background: var(--pp-brand);
  color: #fff;
  border-radius: 11px;
  padding: 0 18px;
  font: 700 14.5px Inter, sans-serif;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.nw-pp-leadbtn:hover { background: var(--pp-brand-dark); transform: translateY(-1px); }
.nw-pp .nw-hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

/* ===== мобильная версия ===== */
@media (max-width: 900px) {
  .nw-pp-top { flex-direction: column; gap: 14px; }
  .nw-pp-titlebox h1 { font-size: 27px; }
  .nw-pp-banner { max-width: none; width: 100%; }
  .nw-pp-specsec { grid-template-columns: 1fr; gap: 26px; padding: 20px 18px; border-radius: 12px; }
  .nw-pp-real-grid { grid-template-columns: 1fr; }
  .nw-pp-bottom { grid-template-columns: 1fr; gap: 26px; }
  .nw-pp-poradit { position: static; padding: 20px 16px; }
}
@media (max-width: 560px) {
  .nw-pp-trust-i { padding-right: 9px; margin-right: 9px; }
  .nw-pp-poradit-btns { flex-direction: column; }
  .nw-pp-lead-row { grid-template-columns: 1fr; }
}

/* ===== кнопка «в oblíbené» у заголовка товара ===== */
.nw-pp-fav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  vertical-align: middle;
  margin-left: 14px;
  padding: 8px 15px 8px 12px;
  border: 1.5px solid var(--pp-line);
  border-radius: 99px;
  background: #fff;
  color: var(--pp-mut);
  font: 700 13px Inter, system-ui, sans-serif;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}
.nw-pp-fav:hover { border-color: var(--pp-sale); color: var(--pp-sale); background: #FEF3F2; box-shadow: 0 4px 14px rgba(217, 45, 32, .12); }
.nw-pp-fav:focus-visible { outline: 2px solid var(--pp-sale); outline-offset: 2px; }
.nw-pp-fav-ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: transform .18s ease; }
.nw-pp-fav:hover .nw-pp-fav-ico { transform: scale(1.14); }
.nw-pp-fav.is-on, .nw-pp-fav[data-fav-on="1"] { border-color: #FDA29B; background: #FEF3F2; color: var(--pp-sale); }
.nw-pp-fav.is-on .nw-pp-fav-ico, .nw-pp-fav[data-fav-on="1"] .nw-pp-fav-ico { fill: var(--pp-sale); stroke: var(--pp-sale); animation: nwFavPop .34s ease; }
@keyframes nwFavPop { 0% { transform: scale(1); } 45% { transform: scale(1.32); } 100% { transform: scale(1); } }
@media (max-width: 560px) {
  .nw-pp-fav { margin-left: 10px; padding: 7px 12px 7px 10px; font-size: 12.5px; }
  .nw-pp-fav-t { display: none; } /* на узком экране остаётся только сердечко */
  .nw-pp-fav { padding: 8px; }
}

/* ===== блок покупки простого товара: qty + «Do košíku» в один ряд, поптавка = ghost-кнопка ===== */
.nw-pp-buybox .nw-buy-row { display: flex; gap: 9px; align-items: stretch; margin-top: 14px; }
.nw-pp-buybox .nw-qtybox { flex: none; height: 48px; }
.nw-pp-buybox .nw-cta-cart {
  flex: 1;
  margin: 0;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  font-size: 15px;
  border-radius: 9px;
}
.nw-pp-buybox .nw-cta-ghost {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 9px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: border-color .15s ease, color .15s ease;
}
.nw-pp-buybox .nw-cta-ghost:hover { border-color: var(--pp-brand); color: #E2B48C; text-decoration: none; }
/* вариации на тёмном фоне: селектор читаемый */
.nw-pp-panel .nw-config { background: #F8F9FB; border-color: var(--pp-line); }
@media (max-width: 480px) {
  .nw-pp-buybox .nw-buy-row { flex-wrap: wrap; }
  .nw-pp-buybox .nw-cta-cart { flex: 1 0 100%; }
}

/* ===== подсказка «увеличить» на фото товара (курсор zoom-in + видимый бейдж) ===== */
.nw-pp-media .nw-slider-frame { cursor: zoom-in; }
.nw-pp-media .nw-slider-frame img { cursor: zoom-in; }
.nw-pp-zoom {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(16, 24, 40, .72);
  color: #fff;
  font: 700 12px Inter, system-ui, sans-serif;
  pointer-events: none;
  opacity: .82;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
  backdrop-filter: blur(2px);
}
.nw-pp-zoom svg { width: 15px; height: 15px; flex: none; }
.nw-slider-frame:hover .nw-pp-zoom { opacity: 1; background: rgba(16, 24, 40, .88); transform: translateY(-2px); }
.nw-slider-frame.is-zoom .nw-pp-zoom { opacity: 0; } /* при зуме подсказка не мешает */
@media (max-width: 560px) { .nw-pp-zoom { left: 10px; bottom: 10px; padding: 7px 10px; font-size: 11.5px; } }

/* ===== секция без таблицы Specifikace: самомонтаж и «Proč u nás» в 2 колонки ===== */
.nw-pp-specsec--nospecs { grid-template-columns: minmax(0, 1fr); }
.nw-pp-specsec--nospecs .nw-pp-montcol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.nw-pp-specsec--nospecs .nw-pp-proc { margin-top: 0; }
@media (max-width: 900px) {
  .nw-pp-specsec--nospecs .nw-pp-montcol { grid-template-columns: 1fr; gap: 22px; }
}

/* ===== иконки контактов ===== */
.nw-wa-ico, .nw-tel-ico { flex: none; vertical-align: -3px; }
.nw-pp-callbtn, .nw-pp-wabtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.nw-pp-wabtn .nw-wa-ico { color: #25D366; }
.nw-pp-wabtn:hover .nw-wa-ico { color: #12805C; }
.nwcat-help-cta { display: inline-flex; align-items: center; gap: 7px; }
/* цвет иконки help-карточки задаёт cards.css (белый глиф в зелёном кружке) */
.nw-iconlink { display: inline-flex; align-items: center; gap: 7px; }

/* объединённый блок FAQ + «Potřebujete poradit?» на главной */
.nwhome-bottom { margin: 0 0 40px; }
.nwhome-bottom .nw-pp-faq h2 { margin-top: 0; }

/* карточка товара: контакты под кнопкой отправки, ровные отступы */
.nw-pp-poradit .nw-pp-lead { margin-bottom: 12px; }
.nw-pp-poradit .nw-pp-poradit-btns { margin-bottom: 0; }

/* карточка товара: контакты той же ширины, что форма */
.nw-pp-poradit .nw-pp-poradit-btns { width: 100%; }
.nw-pp-poradit .nw-pp-callbtn, .nw-pp-poradit .nw-pp-wabtn { flex: 1 1 0; }

/* поле сообщения в форме заявки */
.nw-pp-leadmsg {
  width: 100%;
  min-width: 0;
  border: 1.5px solid #E4E7EC;
  border-radius: 11px;
  padding: 12px 14px;
  font: 500 14.5px Inter, sans-serif;
  line-height: 1.55;
  color: var(--pp-ink);
  background: #fff;
  resize: vertical;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nw-pp-leadmsg:focus { border-color: var(--pp-brand); box-shadow: 0 0 0 3px rgba(169, 99, 58, .13); }
.nw-pp-leadmsg::placeholder { color: #98A2B3; }

/* ===== зум по наведению: общая механика для фото товара и визуализации конфигуратора ===== */
.nw-zoomable { position: relative; overflow: hidden; cursor: zoom-in; }
.nw-zoomable img { cursor: zoom-in; transition: transform .25s ease, opacity .28s ease; }
.nw-zoomable.is-zoom img { transform: scale(1.9); }
.nw-zoomable:hover .nw-pp-zoom { opacity: 1; background: rgba(16, 24, 40, .88); transform: translateY(-2px); }
.nw-zoomable.is-zoom .nw-pp-zoom { opacity: 0; }
/* подсказка на тёмной визуализации конфигуратора — светлее, чтобы читалась */
#nw-kfgx-viz .nw-pp-zoom { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(2px); }
#nw-kfgx-viz:hover .nw-pp-zoom { background: rgba(255, 255, 255, .28); }
/* id-селектор: правила kfg.css грузятся позже, но перебить их не должны */
#nw-kfgx-viz img { cursor: zoom-in; transition: transform .25s ease, opacity .28s ease; }
#nw-kfgx-viz.is-zoom img { transform: scale(1.9); }

/* ===== обычный товар = вид товара с конфигуратором ===== */
/* рамка фото: скруглённая карточка 4:3 со светлой подложкой (снимки — PNG на прозрачном) */
.nw-pp-media .nw-slider {
  border: 1px solid var(--pp-line);
  background: #fff;          /* снимки товаров идут с белой подложкой — серый фон дал бы «коробку в коробке» */
  border-radius: 14px;
  overflow: hidden;
}
.nw-pp-media .nw-slider-frame {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nw-pp-media .nw-slider-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* превью под фото — та же геометрия, что у конфигуратора */
.nw-pp-media .nw-product-gal { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.nw-pp-media .nw-gal-thumb {
  width: 84px;
  height: 64px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--pp-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nw-pp-media .nw-gal-thumb:hover { border-color: var(--pp-brand); }
.nw-pp-media .nw-gal-thumb.is-active { outline: 2px solid var(--pp-brand); outline-offset: 1px; border-color: var(--pp-brand); }

/* ценовой блок: количество в строке цены, кнопки в ряд (как в конфигураторе) */
.nw-pp-buybox .nw-kfgx-qty { height: 38px; }
.nw-pp-buybox .nw-kfgx-qty .nw-qty {
  width: 34px;
  min-width: 30px;
  border: 0;
  text-align: center;
  font: 700 14px Inter, sans-serif;
  color: #fff;
  background: transparent;
  -moz-appearance: textfield;
}
.nw-pp-buybox .nw-kfgx-qty .nw-qty::-webkit-outer-spin-button,
.nw-pp-buybox .nw-kfgx-qty .nw-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nw-pp-buybox .nw-kfgx-actions .nw-cta-cart {
  flex: 1.4;
  margin: 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 9px;
}
.nw-pp-buybox .nw-kfgx-actions .nw-cta-ghost {
  flex: 1;
  width: auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 560px) {
  .nw-pp-buybox .nw-kfgx-actions { flex-direction: column; }
  .nw-pp-buybox .nw-kfgx-actions .nw-cta-cart,
  .nw-pp-buybox .nw-kfgx-actions .nw-cta-ghost { flex: none; width: 100%; }
}

/* Кнопка «Přidat do košíku»: неактивное состояние должно быть ВИДНО (иначе клик в пустоту) */
.nw-cta:disabled, .nw-cta[disabled] { opacity:.45; cursor:not-allowed; filter:grayscale(.35); }
.nw-cta.is-needvar { opacity:.72; }
.nw-cta.is-needvar:hover { opacity:1; }
/* блок Konfigurace, когда варианта не выбрана */
.nw-config.is-need { border-color:#A9633A; box-shadow:0 0 0 3px rgba(169,99,58,.16); }
.nw-config.is-need #nw-config-price { color:#A9633A; font-weight:700; }


/* ===== «Co je v ceně / Za příplatek» ====================================== */
.nw-pp-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 34px auto 0; }
.nw-pp-incl-list { list-style: none; margin: 12px 0 0; padding: 0; }
.nw-pp-incl-list li {
  position: relative; padding: 7px 0 7px 26px;
  font: 500 14px/1.6 Inter, sans-serif; color: #344054;
}
.nw-pp-incl-list li::before {
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 700 11px Inter, sans-serif;
}
.nw-pp-incl-list.is-in li::before { content: '✓'; background: #ECFDF3; color: #067647; }
.nw-pp-incl-list.is-extra li::before { content: '+'; background: #F5EBE0; color: #A9633A; }
@media (max-width: 760px) { .nw-pp-incl { grid-template-columns: 1fr; gap: 18px; } }

/* ссылка на /caste-dotazy/ под FAQ товара (бриф T-34) */
.nw-pp-faqmore { margin: 14px 0 0; font: 700 14px Inter, sans-serif; }
.nw-pp-faqmore a { color: #A9633A; }

/* ===== Окно «Nezávazná nabídka» из конфигуратора (05.11.2026) =====
   Форма #nw-pp-lead переносится сюда из карточки «Potřebujete poradit?»,
   переменные --pp-* в окне свои: оно висит в body, вне .nw-pp. */
.nw-kfgm { --pp-brand: #A9633A; --pp-brand-dark: #8A4E28; --pp-ink: #101828; --pp-mut: #667085; --pp-line: #E4E7EC; }
html.nw-kfgm-open, html.nw-kfgm-open body { overflow: hidden; }
.nw-kfgm .nw-modal-win { width: min(620px, 100%); max-height: min(92vh, 860px); }
.nw-kfgm .nw-modal-body { padding: 18px 22px 22px; }
.nw-kfgm-sum { border: 1px solid #EAD9C6; background: #FBF4EC; border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
.nw-kfgm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.nw-kfgm-lab { font: 700 11px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #A9633A; margin-bottom: 3px; }
.nw-kfgm-tit { font: 700 15px/1.35 Inter, sans-serif; color: #101828; }
.nw-kfgm-price { text-align: right; flex: none; }
.nw-kfgm-price b { font: 800 20px Inter, sans-serif; letter-spacing: -.02em; color: #101828; white-space: nowrap; }
.nw-kfgm-det { margin-top: 10px; }
.nw-kfgm-det summary { cursor: pointer; font: 700 13px Inter, sans-serif; color: #A9633A; list-style: none; }
.nw-kfgm-det summary::-webkit-details-marker { display: none; }
.nw-kfgm-det summary::after { content: " ▾"; }
.nw-kfgm-det[open] summary::after { content: " ▴"; }
.nw-kfgm-det ul { list-style: none; margin: 8px 0 0; padding: 0; }
.nw-kfgm-det li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; margin: 0;
  border-top: 1px dashed #EAD9C6; font: 500 13px/1.45 Inter, sans-serif; color: #667085; }
.nw-kfgm-det li b { color: #101828; font-weight: 600; text-align: right; }
.nw-kfgm-note { margin: 10px 0 0 !important; font: 500 12.5px/1.5 Inter, sans-serif; color: #667085; }
.nw-kfgm .nw-pp-lead { border: 0; padding: 0; background: transparent; }
.nw-kfgm .nw-pp-lead-note { display: none; }   /* сводка уже показана сверху */
@media (max-width: 620px) {
  .nw-kfgm.nw-modal { padding: 0; align-items: flex-end; }
  .nw-kfgm .nw-modal-win { width: 100%; max-height: 94vh; border-radius: 16px 16px 0 0; }
  .nw-kfgm .nw-modal-body { padding: 14px 16px 20px; }
  .nw-kfgm-top { flex-direction: column; gap: 8px; }
  .nw-kfgm-price { text-align: left; }
  .nw-kfgm .nw-pp-lead-row { grid-template-columns: 1fr; }
}
