

/* Start:/local/css/cleverence/products.landing.css?178228678424370*/
/* SITE-509 витрина /products/ — визуал в духе основного шаблона cleverence */

body:has(.pl-page.products-landing) {
  background-color: #fff !important;
}

.pl-page {
  /* отступ под фиксированную шапку шаблона products (~88px); сайдбар: sticky */
  --pl-sticky-header-offset: 88px;
  /* Кнопка «Помочь выбрать» (TG): на десктопе — над Jivo; на мобилке Jivo скрыт → ближе к низу */
  --pl-floating-help-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  --pl-orange: #ff6b00;
  --pl-blue: #1a4ae8;
  --pl-blue-light: #1239c4;
  --pl-red: #e8271a;
  --pl-mid: #ffffff;
  --pl-surface: #ffffff;
  --pl-surface2: #f0f2f7;
  --pl-border: #e0e2ea;
  --pl-text: #1a1a1a;
  --pl-muted: #6b6b7a;
  --pl-card-dark: #1e3a5f;
  --pl-font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--pl-font);
  color: var(--pl-text);
  background: var(--pl-mid);
  padding-bottom: 80px;
}

.pl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pl-error {
  background: #ffe8e6;
  color: #a00;
  padding: 12px 16px;
  margin: 16px 24px;
  border-radius: 6px;
}

.pl-container-page {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

.pl-breadcrumbs {
  padding: 16px 0 0;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--pl-muted);
}

.pl-breadcrumbs .breadcrumbs-box ol,
.pl-breadcrumbs .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pl-breadcrumbs .breadcrumbs-box li,
.pl-breadcrumbs .menu li {
  display: inline;
}

.pl-breadcrumbs .breadcrumbs-box a,
.pl-breadcrumbs .menu a {
  color: var(--pl-muted);
  text-decoration: none;
}

.pl-breadcrumbs .breadcrumbs-box a:hover,
.pl-breadcrumbs .menu a:hover {
  color: var(--pl-blue);
}

.pl-hero {
  padding: 32px 24px 24px;
  max-width: 1340px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.pl-hero-eyebrow {
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 12px;
  color: var(--pl-orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pl-hero-title {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.pl-hero-title span {
  color: var(--pl-orange);
}

/* Мобильная полоса «открыть фильтры» + попап (см. @media max-width: 768px) */
.pl-mobile-filter-bar {
  display: none;
  padding: 0 16px 12px;
  margin-top: 8px;
}

.pl-mobile-filters-open {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--pl-border);
  background: var(--pl-surface);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--pl-text);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pl-mobile-filters-open:active {
  background: var(--pl-surface2);
}

.pl-mobile-filters-modal {
  display: none;
}

.pl-mobile-filters-modal.is-open {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 300;
}

.pl-mobile-filters-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(15, 20, 40, 0.45);
  cursor: pointer;
}

.pl-mobile-filters-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  max-height: 88vh;
  background: var(--pl-surface);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  animation: pl-sheet-up 0.28s ease-out;
}

@keyframes pl-sheet-up {
  from {
    transform: translateY(100%);
    opacity: 0.96;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-mobile-filters-panel {
    animation: none;
  }
}

.pl-mobile-filters-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--pl-border);
  flex-shrink: 0;
}

.pl-mobile-filters-panel-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.pl-mobile-filters-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: var(--pl-surface2);
  color: var(--pl-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.pl-mobile-filters-panel-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px 8px;
  flex: 1;
  min-height: 0;
}

.pl-mobile-filters-panel-foot {
  flex-shrink: 0;
  padding: 12px 16px 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--pl-border);
}

.pl-mobile-filters-done {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: none;
  border-radius: 6px;
  background: var(--pl-red);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

body.pl-modal-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .pl-mobile-filter-bar,
  .pl-mobile-filters-modal {
    display: none !important;
  }
}

.pl-container-page--quiz {
  padding-bottom: 0;
}

.pl-main-layout {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

/* Иначе колонка grid с 1fr не сжимается ниже ширины контента (инпут «выпирает») */
.pl-main {
  min-width: 0;
}

/* sticky и overflow на одном узле часто ломают «липкость» и внутренний скролл — скролл на .pl-sidebar-scroll */
.pl-sidebar {
  position: sticky;
  top: var(--pl-sticky-header-offset);
  align-self: start;
  min-height: 0;
  width: 100%;
  max-width: 260px;
  box-sizing: border-box;
}

.pl-sidebar-scroll {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.pl-sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}

.pl-sidebar-scroll::-webkit-scrollbar-thumb {
  background: var(--pl-border);
  border-radius: 6px;
}

.pl-sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--pl-muted);
}

.pl-sidebar-section {
  margin-bottom: 8px;
}

.pl-sidebar-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--pl-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pl-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 14px;
  border: none;
  background: transparent;
  font-family: inherit;
  color: inherit;
}

.pl-filter-item:hover:not(:disabled) {
  background: var(--pl-surface2);
}

.pl-filter-item.active {
  background: #eef2fd;
  color: var(--pl-red);
}

.pl-filter-item--empty,
.pl-filter-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pl-filter-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pl-filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pl-surface2);
  border: 2px solid var(--pl-muted);
}

.pl-filter-item.active .pl-filter-dot {
  background: var(--pl-red);
  border-color: var(--pl-red);
}

.pl-filter-count {
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 11px;
  color: var(--pl-muted);
  background: var(--pl-surface2);
  padding: 2px 8px;
  border-radius: 20px;
}

.pl-filter-item.active .pl-filter-count {
  background: var(--pl-red);
  color: #fff;
}

.pl-sidebar-divider {
  height: 1px;
  background: var(--pl-border);
  margin: 16px 0;
}

.pl-sidebar-reset {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--pl-border);
  border-radius: 6px;
  color: var(--pl-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}

.pl-sidebar-reset:hover {
  color: var(--pl-blue);
  border-color: var(--pl-blue);
  background: #eef2fd;
}

.pl-sidebar-more {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--pl-border);
}

.pl-sidebar-more-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--pl-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pl-more-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 6px;
  border: 1px solid var(--pl-border);
  background: var(--pl-surface);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--pl-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pl-more-btn:last-child {
  margin-bottom: 0;
}

.pl-more-btn:hover {
  border-color: var(--pl-red);
  color: var(--pl-red);
  background: #eef2fd;
}

.pl-more-btn.active {
  background: #eef2fd;
  border-color: var(--pl-red);
  color: var(--pl-red);
}

.pl-search-wrap {
  position: relative;
  margin-bottom: 24px;
  max-width: 100%;
}

.pl-search-input {
  box-sizing: border-box;
  width: calc(100% - 68px);
  background: var(--pl-surface);
  border: 1px solid var(--pl-border);
  border-radius: 6px;
  padding: 14px 20px 14px 48px;
  color: var(--pl-text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.pl-search-input:focus {
  border-color: var(--pl-blue);
}

.pl-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pl-muted);
  pointer-events: none;
}

.pl-results-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 24px;
}

.pl-results-count {
  font-size: 14px;
  color: var(--pl-muted);
  min-width: 0;
  padding-inline-end: 2px;
}

.pl-results-count strong {
  color: var(--pl-text);
  font-weight: 600;
}

.pl-results-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--pl-surface2);
  border-radius: 6px;
  padding: 4px;
  border: 1px solid var(--pl-border);
}

.pl-view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--pl-muted);
  cursor: pointer;
}

.pl-view-btn.active {
  background: var(--pl-surface);
  color: var(--pl-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pl-sort-select {
  background: var(--pl-surface);
  border: 1px solid var(--pl-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
}

.pl-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--pl-muted);
}

.pl-empty-reset {
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--pl-border);
  background: var(--pl-surface);
  cursor: pointer;
  font-family: inherit;
}

.pl-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pl-cards-grid.pl-view-extended {
  grid-template-columns: 1fr;
  gap: 16px;
  --pl-list-row-height: 140px;
  --pl-list-title-height: calc(17px * 1.3);
  --pl-list-desc-height: calc(13px * 1.6 * 3);
  --pl-list-badge-slot: 28px;
  --pl-list-edit-actions-height: 40px;
}

.pl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--pl-surface);
  border: 1px solid var(--pl-border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  height: 100%;
  cursor: pointer;
}

.pl-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.pl-card-link:focus-visible {
  outline: 2px solid var(--pl-blue);
  outline-offset: 2px;
}

.pl-card--text-editing .pl-card-link {
  pointer-events: none;
}

.pl-card:hover {
  transform: translateY(-4px);
  border-color: #a8beff;
  box-shadow: 0 12px 40px rgba(26, 74, 232, 0.12);
}

.pl-card-top {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--pl-border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pl-card-head {
  margin-bottom: 16px;
  position: relative;
  width: 100%;
}

/* Плитка: иконка слева, «Хит» справа вверху */
.pl-card-thumb {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.pl-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.pl-card-icon img,
.pl-card-icon svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pl-icon-blue {
  background: transparent;
}

.pl-badge-hit {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  background: var(--pl-orange);
  color: #fff;
  flex-shrink: 0;
}

.pl-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px 0 !important;
  line-height: 1.3;
  padding-bottom: 0 !important;
}

.pl-card-desc {
  font-size: 13px;
  color: var(--pl-muted);
  line-height: 1.6;
  flex: 1;
}

.pl-card-desc-text {
  display: block;
  outline: none;
}

.pl-card-desc-text[contenteditable='true'] {
  box-shadow: 0 0 0 2px rgba(26, 74, 232, 0.25);
  border-radius: 4px;
  padding: 4px 6px;
  margin: -4px -6px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.pl-card-desc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  position: relative;
  z-index: 2;
}

.pl-card-text-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--pl-border);
  background: var(--pl-surface2);
  color: var(--pl-text);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.pl-card-text-btn--save {
  background: var(--pl-blue);
  border-color: var(--pl-blue);
}

.pl-card-text-btn:hover:not(:disabled) {
  opacity: 0.92;
}

.pl-card-bottom {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--pl-border);
  box-sizing: border-box;
  min-height: 64px;
  color: #403A3A;
}

.pl-card-bottom .pl-card-price {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  gap: 6px;
}

.pl-card-price--project {
  font-weight: 700;
  font-size: 15px;
}

.pl-price-from {
  font-weight: 650;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.pl-price-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.pl-price-value {
  font-size: 22px;
  font-weight: 650;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}

.pl-price-currency {
  font-size: 14px;
  font-weight: 650;
  color: inherit;
  flex-shrink: 0;
}

.pl-price-suffix {
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  margin-left: 0;
  white-space: nowrap;
}

.pl-card-btn {
  background: #fff;
  color: inherit;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  white-space: nowrap;
  pointer-events: none;
}

/* Плитки: цена и «Подробнее» на одной линии по низу */
.pl-cards-grid:not(.pl-view-extended) .pl-card-bottom {
  align-items: baseline;
  margin-top: auto;
}

.pl-cards-grid:not(.pl-view-extended) .pl-card-bottom .pl-card-price {
  align-items: baseline;
}

.pl-cards-grid:not(.pl-view-extended) .pl-card-btn {
  align-self: baseline;
  padding: 0;
  background: transparent;
  line-height: 1;
}

.pl-cards-grid:not(.pl-view-extended) .pl-card:hover .pl-card-btn {
  background: transparent;
}

/* Extended view (список) */
.pl-cards-grid.pl-view-extended .pl-card {
  flex-direction: row;
  align-items: stretch;
  height: var(--pl-list-row-height);
  min-height: var(--pl-list-row-height);
  max-height: var(--pl-list-row-height);
}

.pl-cards-grid.pl-view-extended .pl-card:has([data-pl-card-editable]),
.pl-cards-grid.pl-view-extended .pl-card.pl-card--text-editing {
  height: auto;
  min-height: calc(var(--pl-list-row-height) + var(--pl-list-edit-actions-height));
  max-height: none;
}

.pl-cards-grid.pl-view-extended .pl-card-top {
  flex: 1;
  min-width: 0;
  border-bottom: none;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: var(--pl-list-title-height) var(--pl-list-desc-height);
  gap: 8px 24px;
  padding: 20px 24px;
  align-content: start;
  align-items: start;
}

.pl-cards-grid.pl-view-extended .pl-card:has([data-pl-card-editable]) .pl-card-top,
.pl-cards-grid.pl-view-extended .pl-card.pl-card--text-editing .pl-card-top {
  grid-template-rows: var(--pl-list-title-height) minmax(var(--pl-list-desc-height), auto);
}

.pl-cards-grid.pl-view-extended .pl-card-head {
  grid-column: 1;
  grid-row: 1 / -1;
  margin-bottom: 0;
  width: auto;
  align-self: start;
  position: static;
}

/* Список: бейдж в правом верхнем углу строки, над блоком цены */
.pl-cards-grid.pl-view-extended .pl-card-thumb {
  display: block;
  width: auto;
  position: static;
}

.pl-cards-grid.pl-view-extended .pl-badge-hit {
  position: absolute;
  top: 20px;
  right: 24px;
  left: auto;
  z-index: 3;
}

.pl-cards-grid.pl-view-extended .pl-card-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding-bottom: 0 !important;
  min-height: var(--pl-list-title-height);
  max-height: var(--pl-list-title-height);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

.pl-cards-grid.pl-view-extended .pl-card-desc {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  min-height: var(--pl-list-desc-height);
  max-height: var(--pl-list-desc-height);
  display: block;
  overflow: visible;
}

.pl-cards-grid.pl-view-extended .pl-card-desc-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.pl-cards-grid.pl-view-extended .pl-card:has([data-pl-card-editable]) .pl-card-desc,
.pl-cards-grid.pl-view-extended .pl-card.pl-card--text-editing .pl-card-desc {
  min-height: var(--pl-list-desc-height);
  max-height: none;
}

.pl-cards-grid.pl-view-extended .pl-card-bottom {
  flex: 0 0 200px;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  align-self: stretch;
  gap: 8px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: calc(20px + var(--pl-list-badge-slot)) 24px 20px;
  border-top: none;
  border-left: 1px solid var(--pl-border);
  box-sizing: border-box;
}

.pl-cards-grid.pl-view-extended .pl-card.pl-card--text-editing .pl-card-desc-text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.pl-cards-grid.pl-view-extended .pl-card-bottom .pl-card-price {
  flex: 0 0 auto;
  width: 100%;
  justify-content: flex-end;
  white-space: nowrap;
}

.pl-cards-grid.pl-view-extended .pl-card-price--project {
  width: 100%;
  text-align: right;
}

.pl-cards-grid.pl-view-extended .pl-card-btn {
  background: transparent;
  padding: 0;
  flex-shrink: 0;
  align-self: flex-end;
}

.pl-cards-grid.pl-view-extended .pl-card:hover .pl-card-btn {
  background: transparent;
}

.pl-helper-pill {
  position: fixed;
  right: 32px;
  bottom: var(--pl-floating-help-bottom);
  z-index: 200;
  background: var(--pl-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pl-helper-pill:hover {
  color: #fff;
  transform: scale(1.02);
}

@media (max-width: 1100px) {
  .pl-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Нижний «воздух» под сеткой: убираем лишний на планшетах/телефонах (в т.ч. шире 768px, где раньше оставался padding .pl-page 80px) */
@media (max-width: 1024px) {
  .pl-page.products-landing {
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  .pl-main-layout {
    padding-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .pl-page.products-landing {
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
  }

  .pl-main-layout {
    grid-template-columns: 1fr;
    padding: 0 16px 16px;
    gap: 16px;
  }

  /* Как у .pl-main-layout и .pl-mobile-filter-bar — иначе квиз уже на 8px с каждой стороны */
  .pl-container-page--quiz {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pl-sidebar {
    display: none;
  }

  .pl-mobile-filter-bar {
    display: block;
  }

  .pl-view-toggle {
    display: none !important;
  }

  .pl-hero {
    padding: 24px 16px 16px;
  }

  .pl-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Список на узком экране — колонкой; подвал без height:100% от десктопного extended */
  .pl-cards-grid.pl-view-extended {
    align-items: start;
  }

  .pl-cards-grid.pl-view-extended .pl-card {
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    align-self: stretch;
  }

  .pl-cards-grid.pl-view-extended .pl-card:has([data-pl-card-editable]),
  .pl-cards-grid.pl-view-extended .pl-card.pl-card--text-editing {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .pl-cards-grid.pl-view-extended .pl-card-top {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--pl-border);
    flex: 0 1 auto;
    position: relative;
  }

  .pl-cards-grid.pl-view-extended .pl-card-head {
    width: 100%;
    margin-bottom: 16px;
  }

  .pl-cards-grid.pl-view-extended .pl-card-thumb {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    position: static;
  }

  .pl-cards-grid.pl-view-extended .pl-badge-hit {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
  }

  .pl-cards-grid.pl-view-extended .pl-card-title,
  .pl-cards-grid.pl-view-extended .pl-card-desc {
    min-height: 0;
    max-height: none;
  }

  .pl-cards-grid.pl-view-extended .pl-card-bottom {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    gap: 12px;
    padding: 16px 20px;
    border-left: none;
    border-top: 1px solid var(--pl-border);
  }

  .pl-cards-grid.pl-view-extended .pl-card-bottom .pl-card-price {
    flex: 1;
    width: auto;
    justify-content: flex-start;
    white-space: normal;
  }

  .pl-cards-grid.pl-view-extended .pl-card-price--project {
    width: auto;
    text-align: left;
  }

  .pl-cards-grid.pl-view-extended .pl-card-btn {
    background: #fff;
    padding: 10px 18px;
  }

  .pl-cards-grid.pl-view-extended .pl-card:hover .pl-card-btn {
    background: #eef2fd;
  }

  .pl-helper-pill {
    right: 16px;
    bottom: var(--pl-floating-help-bottom);
  }

  /* Jivo на мобилке витрины не показываем — освобождаем место под «Помочь выбрать» */
  body:has(.pl-page.products-landing) > jdiv {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .pl-page.products-landing {
    --pl-floating-help-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

/* End */
/* /local/css/cleverence/products.landing.css?178228678424370 */
