/* kassa26-static-v141.css — подключать ПОСЛЕ kassa26-public-adapter-v140.css.
   Часть 1: только статичная страница Контакты (body.k26-static, префикс k26s-).
   Часть 2: скрытие картинок товаров и логотипов ОФД в таблице (данные/URL не трогаем). */

/* ---------- 1. Контакты ---------- */
.k26-static .k26s-main{max-width:72rem;margin:0 auto;padding:0 20px 56px;box-sizing:border-box}
.k26-static .k26s-hero{padding:28px 0 24px}
.k26-static .k26s-eyebrow{margin:16px 0 6px;font:700 12px/1 Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--k26-accent,#0f8a6a)}
.k26-static .k26s-title{margin:0;font:600 clamp(28px,4vw,44px)/1.1 Unbounded,sans-serif;color:var(--k26-ink,#13233f)}
.k26-static .k26s-grid{display:grid;gap:16px;grid-template-columns:1fr 1fr}
.k26-static .k26s-card{padding:24px;min-width:0}
.k26-static .k26s-rows{list-style:none;margin:0;padding:0;display:grid;gap:20px}
.k26-static .k26s-rows li{display:flex;gap:12px}
.k26-static .k26s-ico{width:20px;flex:0 0 20px;color:var(--k26-accent,#0f8a6a);font-weight:700;text-align:center}
.k26-static .k26s-label{display:block;font-size:12px;color:var(--k26-muted,#6b7280)}
.k26-static .k26s-muted{color:var(--k26-muted,#6b7280)}
.k26-static .k26s-accent{color:var(--k26-accent,#0f8a6a);font-weight:600;font-size:14px}
.k26-static .k26s-max{margin-top:24px;display:flex;align-items:center;gap:16px;padding:12px;border:1px solid var(--k26-line,#e6e1d6);border-radius:12px;background:var(--k26-bg,#faf8f3);color:inherit;text-decoration:none}
.k26-static .k26s-max:hover{border-color:var(--k26-accent,#0f8a6a)}
.k26-static .k26s-max img{width:96px;height:96px;border-radius:8px;background:#fff;flex:0 0 96px}
.k26-static .k26s-max b{display:block;margin:2px 0}
.k26-static .k26s-map-card{display:flex;flex-direction:column;background:var(--k26-soft,#eef3ef)}
.k26-static .k26s-map-card h2{margin:0 0 14px;font:600 20px/1.2 Unbounded,sans-serif}
.k26-static .k26s-map{flex:1;min-height:320px;border-radius:12px;overflow:hidden}
.k26-static .k26s-map iframe{display:block;width:100%;height:100%;min-height:320px;border:0}
.k26-static .k26s-map-foot{margin-top:14px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.k26-static .k26s-badge{border:0;flex:0 0 auto}
.k26-static .k26s-section{padding-top:56px}
.k26-static .k26s-h2{margin:0 0 24px;font:600 clamp(22px,3vw,30px)/1.2 Unbounded,sans-serif}
.k26-static .k26s-files{margin-top:24px;display:flex;flex-wrap:wrap;gap:12px}
.k26-static .k26s-files a{display:inline-flex;padding:10px 20px;border:1px solid var(--k26-line,#e6e1d6);border-radius:999px;font-weight:600;font-size:14px;color:inherit;text-decoration:none}
.k26-static .k26s-files a:hover{background:var(--k26-soft,#eef3ef)}
@media (max-width:767px){
  .k26-static .k26s-grid{grid-template-columns:1fr}
  .k26-static .k26s-card{padding:20px}
  .k26-static .k26s-max img{width:80px;height:80px;flex-basis:80px}
}

/* ---------- 2. Картинки товаров и логотипы ОФД ----------
   Только контейнеры каталога. .article, .info-card, .product-props и т.п. не затрагиваются. */
.catalog-main .grid > .card > .product-visual,
#homeComparison .grid > .card > .product-visual{display:none}
.catalog-main .grid > .card,
.catalog-main .grid.list-view > .card,
#homeComparison .grid > .card{grid-template-columns:minmax(0,1fr)}
.compare-table .compare-operator-cell > img.compare-operator-logo{display:none}
.compare-table .compare-operator-cell{min-width:0;gap:0}

/* Каркас выводится готовым: старые навигационные узлы не участвуют в раскладке. */
html body.k26 #projectMainNav,
html body.k26 nav.project-nav,
html body.k26 nav.kb-nav,
html body.k26 header.info-header,
html body.k26 > header.k26-legacy-hidden {
  display: none !important;
}

/* Изображения категорий временно не показываем только в каталоге и сравнении. */
html body.k26 .catalog-main .grid > .card > .product-visual,
html body.k26 #homeComparison .grid > .card > .product-visual {
  display: none !important;
}
html body.k26 .catalog-main .grid > .card,
html body.k26 .catalog-main .grid.list-view > .card,
html body.k26 #homeComparison .grid > .card {
  grid-template-columns: minmax(0, 1fr) !important;
}
html body.k26 .compare-table .compare-operator-cell > img.compare-operator-logo {
  display: none !important;
}
html body.k26 .compare-table .compare-operator-cell {
  min-width: 0 !important;
  gap: 0 !important;
}

/* Метки разделов в статьях — единый изумрудный акцент Lovable. */
html body.k26 .article-head .tag {
  background: var(--k26-accent-soft) !important;
  color: var(--k26-accent) !important;
  border: 1px solid var(--k26-accent-line) !important;
}

/* Общий поиск в шапке: настоящий SVG вместо шрифтового символа ⌕. */
html body.k26 site-header .site112-searchbox::before {
  content: "" !important;
  position: absolute !important;
  left: 15px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  transform: translateY(-50%) !important;
  background: center / 18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2362748e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
html body.k26 site-header .site112-search input#headerSearchInput {
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-left: 48px !important;
}
html body.k26 site-header .site112-search input::-webkit-search-decoration,
html body.k26 site-header .site112-search input::-webkit-search-cancel-button,
html body.k26 site-header .site112-search input::-webkit-search-results-button,
html body.k26 site-header .site112-search input::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}

/* Общая кнопка входа в административную панель. */
html body.k26 site-header .site112-actions {
  gap: 8px !important;
}
html body.k26 site-header .site112-action.site112-login {
  background: var(--k26-accent, #249c74) !important;
  border-color: var(--k26-accent, #249c74) !important;
  color: #fff !important;
}
html body.k26 site-header .site112-action.site112-login:hover {
  background: #1d8663 !important;
  border-color: #1d8663 !important;
}
html body.k26 site-header .site112-action-svg {
  width: 16px !important;
  height: 16px !important;
  margin-right: 7px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  flex: 0 0 16px !important;
}
@media (max-width: 650px) {
  html body.k26 site-header .site112-logo img {
    width: 128px !important;
  }
  html body.k26 site-header .site112-actions {
    gap: 6px !important;
  }
  html body.k26 site-header .site112-action {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
  html body.k26 site-header .site112-action-icon,
  html body.k26 site-header .site112-action-svg {
    margin-right: 5px !important;
  }
}

/* Каталог: три карточки в ряд по макету Lovable на широком экране. */
@media (min-width: 1024px) {
  html body.k26 #products .grid:not(.list-view) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
