/**
 * Category page — PLP header (fresh-products prototype)
 * Scope: .hk-catalog-plp
 */
.hk-catalog-plp {
  --hk-bg: #ffffff;
  --hk-bg-soft: #f6f7f4;
  --hk-ink: #14201c;
  --hk-ink-muted: #6f7a76;
  --hk-line: #eaeae4;
  --hk-brand: #78bca1;
  --hk-brand-deep: #3d5b4f;
  --hk-brand-soft: rgba(120, 188, 161, 0.12);
  --hk-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --hk-sans: "Inter", system-ui, -apple-system, sans-serif;
  --hk-pad: clamp(20px, 4vw, 56px);
  --hk-max: 1400px;
  --hk-plp-price: #d86e00;
}

.hk-catalog-plp .hk-plp-utility {
  border-bottom: 1px solid var(--hk-line);
  background: var(--hk-bg);
}

.hk-catalog-plp .hk-plp-utility .utility__inner {
  max-width: var(--hk-max);
  margin: 0 auto;
  padding: 10px var(--hk-pad);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--hk-ink-muted);
}

.hk-catalog-plp .hk-plp-utility a {
  color: inherit;
  transition: color 0.2s;
}

.hk-catalog-plp .hk-plp-utility a:hover {
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .hk-plp-utility-lang .btn-group,
.hk-catalog-plp .hk-plp-utility-lang button,
.hk-catalog-plp .hk-plp-utility-lang .dropdown-toggle {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  color: var(--hk-ink-muted) !important;
  box-shadow: none !important;
}

.hk-catalog-plp .hk-plp-header {
  border-bottom: 1px solid var(--hk-line);
  background: var(--hk-bg);
}

.hk-catalog-plp .hk-plp-header .header__inner {
  max-width: var(--hk-max);
  margin: 0 auto;
  padding: 20px var(--hk-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.hk-catalog-plp .hk-plp-mark {
  font-family: var(--hk-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--hk-ink);
  white-space: nowrap;
  background: transparent;
  padding: 0;
}

.hk-catalog-plp .hk-plp-mark img {
  max-height: 44px;
  width: auto;
  display: block;
}

.hk-catalog-plp .hk-plp-mark em {
  font-style: normal;
  color: var(--hk-brand-deep);
  font-weight: 500;
}

.hk-catalog-plp .header__nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  flex-wrap: wrap;
}

.hk-catalog-plp .header__nav a {
  color: var(--hk-ink);
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.hk-catalog-plp .header__nav a:hover {
  opacity: 1;
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .header__nav a.is-active {
  opacity: 1;
  color: var(--hk-brand-deep);
  font-weight: 500;
}

.hk-catalog-plp .header__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 2px;
  background: var(--hk-brand-deep);
}

.hk-catalog-plp .header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #9cb8ab;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  color: var(--hk-brand-deep);
  transition: background 0.2s, color 0.2s;
}

.hk-catalog-plp .header__cta:hover {
  background: var(--hk-brand-deep);
  color: #fff;
}

.hk-catalog-plp .header__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.hk-catalog-plp .header__cta--icon {
  padding: 0;
  width: 42px;
  height: 42px;
  justify-content: center;
  gap: 0;
  flex: 0 0 42px;
}

.hk-catalog-plp .header__cta--icon .fa {
  font-size: 16px;
  line-height: 1;
}

.hk-catalog-plp .header__cta--icon:hover .fa {
  color: inherit;
}

/* Category page content shell — full width bar under header */
.hk-plp-main {
  width: 100%;
}

/* ── Banner (fresh-products) ── */
.hk-catalog-plp .banner {
  max-width: var(--hk-max);
  margin: 0 auto;
  padding: 28px var(--hk-pad) 0;
}

.hk-catalog-plp .banner__frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: clamp(260px, 30vw, 360px);
}

/* Как в fresh-products.html: без min-width:100% на слайде — иначе ломается расчёт скролла в связке с Bootstrap */
.hk-catalog-plp .banner__track {
  position: relative;
  display: flex;
  /* Явно: иначе при overflow-x:auto браузер даёт overflow-y:auto и трек скроллится по высоте из-за коллажа */
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x pinch-zoom;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hk-catalog-plp .banner__track::-webkit-scrollbar {
  display: none;
}

.hk-catalog-plp .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px) clamp(36px, 5vw, 72px);
  min-height: clamp(260px, 30vw, 360px);
  color: #fff;
  position: relative;
}

.hk-catalog-plp .slide--1 {
  background: linear-gradient(135deg, #3d5b4f 0%, #2d4438 100%);
}

.hk-catalog-plp .slide--2 {
  background: linear-gradient(135deg, #78bca1 0%, #5a9b82 100%);
}

.hk-catalog-plp .slide--3 {
  background: linear-gradient(135deg, #1f2c27 0%, #14201c 100%);
}

.hk-catalog-plp .slide--4 {
  background: linear-gradient(135deg, #4a6b5c 0%, #3d5b4f 100%);
}

.hk-catalog-plp .slide::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -60%;
  width: 60%;
  height: 220%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

.hk-catalog-plp .slide__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hk-catalog-plp .slide__title {
  font-family: var(--hk-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
}

.hk-catalog-plp .slide__title em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.62);
}

.hk-catalog-plp .slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 24px;
  background: #fff;
  color: var(--hk-brand-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.hk-catalog-plp .slide__cta:hover {
  transform: translateX(3px);
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .slide--2 .slide__cta {
  color: #1f3229;
}

.hk-catalog-plp .slide--2 .slide__cta-arrow {
  background: #1f3229;
}

.hk-catalog-plp .slide__cta-arrow {
  width: 30px;
  height: 30px;
  background: var(--hk-brand-deep);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hk-catalog-plp .slide__cta-arrow svg {
  width: 12px;
  height: 12px;
}

/* Collage art — same as fresh-products.html (must override Bootstrap img rules) */
.hk-catalog-plp .slide > div:first-child {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hk-catalog-plp .slide__art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  z-index: 1;
}

.hk-catalog-plp .slide__art img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.38));
}

.hk-catalog-plp .slide__art img:nth-child(1) {
  width: 46%;
  left: 6%;
  top: 18%;
  transform: rotate(-8deg);
  z-index: 2;
}

.hk-catalog-plp .slide__art img:nth-child(2) {
  width: 54%;
  left: 34%;
  top: -4%;
  transform: rotate(6deg);
  z-index: 3;
}

.hk-catalog-plp .slide__art img:nth-child(3) {
  width: 42%;
  left: 62%;
  top: 40%;
  transform: rotate(-4deg);
  z-index: 2;
}

.hk-catalog-plp .slide__art:empty {
  display: none;
}

.hk-catalog-plp .banner__nav {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hk-catalog-plp .banner__btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hk-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  border: 0;
  cursor: pointer;
}

.hk-catalog-plp .banner__btn:hover {
  background: #fff;
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .banner__btn svg {
  width: 16px;
  height: 16px;
}

.hk-catalog-plp .banner__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hk-catalog-plp .banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: background 0.2s, width 0.2s;
  cursor: pointer;
}

.hk-catalog-plp .banner__dot.is-active {
  background: #fff;
  width: 22px;
}

/* ── Breadcrumb + title ── */
.hk-catalog-plp .top {
  max-width: var(--hk-max);
  margin: 0 auto;
  padding: 32px var(--hk-pad) 20px;
}

.hk-catalog-plp .crumb {
  font-size: 13px;
  color: var(--hk-ink-muted);
  margin-bottom: 18px;
}

.hk-catalog-plp .crumb a {
  color: var(--hk-brand-deep);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hk-catalog-plp .crumb a:hover,
.hk-catalog-plp .crumb a:focus {
  color: var(--hk-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hk-catalog-plp .crumb a .fa-home {
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .crumb a:hover .fa-home {
  color: var(--hk-brand);
}

.hk-catalog-plp .crumb span {
  margin: 0 10px;
  opacity: 0.5;
}

.hk-catalog-plp .top__title {
  font-family: var(--hk-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--hk-ink);
}

.hk-catalog-plp .top__title em {
  font-style: normal;
  color: var(--hk-brand-deep);
  font-weight: 500;
}

/* Search PLP — блок SEARCH CRITERIA под заголовком (не трогаем сайдбар .hk-plp-filter-search без .hk-plp-search-refine) */
.hk-catalog-plp #product-search .top > .hk-plp-search-refine {
  display: none;
}

/* Search PLP — уточнение запроса под заголовком (те же приёмы, что у блока фильтров) */
.hk-catalog-plp .hk-plp-search-refine {
  margin-top: clamp(16px, 2.5vw, 28px);
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--hk-line);
  background: rgba(255, 255, 255, 0.72);
  max-width: min(960px, 100%);
}

.hk-catalog-plp .hk-plp-search-refine__legend {
  margin: 0 0 12px;
  font-family: var(--hk-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hk-ink-muted);
}

.hk-catalog-plp .hk-plp-search-refine__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hk-catalog-plp .hk-plp-search-refine__row .form-control {
  flex: 1 1 220px;
  min-height: 48px;
  border-radius: 12px;
}

.hk-catalog-plp .hk-plp-search-refine__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 14px;
}

.hk-catalog-plp .hk-plp-search-refine__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--hk-ink-muted);
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

.hk-catalog-plp .hk-plp-search-refine__submit {
  margin-top: 16px;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  background: var(--hk-brand-deep);
  border-color: var(--hk-brand-deep);
  color: #fff;
}

.hk-catalog-plp .hk-plp-search-refine__submit:hover,
.hk-catalog-plp .hk-plp-search-refine__submit:focus {
  filter: brightness(1.06);
  color: #fff;
}

/* Страница бренда — лого и описание над сеткой */
.hk-catalog-plp .hk-plp-manufacturer-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(24px, 4vw, 40px);
  padding: clamp(16px, 2.5vw, 22px) clamp(18px, 3vw, 24px);
  border-radius: 16px;
  border: 1px solid var(--hk-line);
  background: rgba(255, 255, 255, 0.72);
}

.hk-catalog-plp .hk-plp-manufacturer-intro__logo {
  flex: 0 0 auto;
  max-width: 140px;
}

.hk-catalog-plp .hk-plp-manufacturer-intro__logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--hk-line);
}

.hk-catalog-plp .hk-plp-manufacturer-intro__body {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hk-ink-muted);
}

.hk-catalog-plp .hk-plp-manufacturer-intro__body p:last-child {
  margin-bottom: 0;
}

/* Каталог брендов — /product/manufacturer (логотипы как на главной) */
.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-section {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-section:last-of-type {
  margin-bottom: 0;
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-section__title {
  margin: 0 0 20px;
  font-family: var(--hk-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hk-ink);
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 32px) clamp(28px, 4vw, 48px);
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  flex: 0 0 160px;
  width: 160px;
  max-width: 160px;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 0;
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item__logo img {
  display: block;
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.28s ease;
  transform-origin: center center;
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item__name {
  display: block;
  width: 100%;
  font-family: var(--hk-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--hk-ink-muted);
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item:hover .hk-plp-brand-item__logo img,
.hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item:focus-visible .hk-plp-brand-item__logo img {
  transform: scale(1.08);
}

@media (max-width: 760px) {
  .hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item {
    flex-basis: 120px;
    width: 120px;
    max-width: 120px;
  }

  .hk-catalog-plp #product-manufacturer-list .hk-plp-brand-item__logo img {
    max-height: 72px;
  }
}

/* ── PLP grid ── */
.hk-catalog-plp .plp {
  max-width: var(--hk-max);
  margin: 0 auto;
  padding: 20px var(--hk-pad) 80px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.hk-catalog-plp .plp.plp--full {
  grid-template-columns: minmax(0, 1fr);
}

/* Список брендов: без левой колонки, при module в #column-right — контент + правая */
.hk-catalog-plp .plp.plp--full.plp--right-only {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.hk-catalog-plp .plp.plp--has-right {
  grid-template-columns: 280px minmax(0, 1fr) 260px;
}

.hk-catalog-plp .hk-plp-center {
  min-width: 0;
}

.hk-catalog-plp #column-right {
  float: none;
  width: auto !important;
  max-width: none;
  padding: 0;
}

/* ── Filters sidebar ── */
.hk-catalog-plp .hk-plp-filters-anchor {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  flex: 0 0 0;
  scroll-margin-top: 120px;
}

.hk-catalog-plp .filters {
  position: sticky;
  top: 24px;
  background: var(--hk-bg-soft);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hk-catalog-plp .filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--hk-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--hk-ink);
}

.hk-catalog-plp .filters__reset {
  font-family: var(--hk-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--hk-brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hk-catalog-plp .hk-plp-filter-module .panel,
.hk-catalog-plp .hk-plp-filter-module .panel-default {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hk-catalog-plp .hk-plp-filter-module .panel-heading,
.hk-catalog-plp .hk-plp-filter-module .panel-title {
  font-family: var(--hk-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hk-ink-muted);
  border: 0;
  padding: 0 0 8px;
}

.hk-catalog-plp .hk-plp-filter-module .panel-body {
  padding: 0;
}

.hk-catalog-plp .hk-plp-filter-search .site-search input,
.hk-catalog-plp .hk-plp-filter-search input[type="text"],
.hk-catalog-plp .hk-plp-filter-search input[type="search"] {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hk-line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--hk-ink);
}

.hk-catalog-plp .hk-plp-filter-search .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 8px;
}

.hk-catalog-plp .hk-plp-filter-search .input-group-btn {
  display: none !important;
}

.hk-catalog-plp .hk-plp-filter-search .input-group .form-control {
  border-radius: 12px;
  min-height: 40px;
  width: 100%;
}

.hk-catalog-plp .hk-plp-filter-search .input-group-btn {
  display: flex;
}

.hk-catalog-plp .hk-plp-filter-search #button-search {
  min-width: 40px;
  padding: 0 12px;
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  background: #fff;
  color: var(--hk-brand-deep);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hk-catalog-plp .hk-plp-filter-search #button-search:hover,
.hk-catalog-plp .hk-plp-filter-search #button-search:focus {
  border-color: var(--hk-brand-deep);
  background: #f6faf8;
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .filters select,
.hk-catalog-plp .filters input[type="text"]:not([class*="ui"]) {
  background: #fff;
  border: 1px solid var(--hk-line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--hk-ink);
}

/* BrainyFilter -> make it look like fresh-products filter UI */
.hk-catalog-plp .hk-plp-filter-module .bf-panel-wrapper,
.hk-catalog-plp .hk-plp-filter-module .bf-check-position,
.hk-catalog-plp .hk-plp-filter-module .box.bf-check-position {
  position: static !important;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hk-catalog-plp .hk-plp-filter-module .bf-btn-show,
.hk-catalog-plp .hk-plp-filter-module .bf-btn-reset {
  display: none !important;
}

.hk-catalog-plp .hk-plp-filter-module .box-heading {
  display: none;
}

.hk-catalog-plp .hk-plp-filter-module .box-content,
.hk-catalog-plp .hk-plp-filter-module .brainyfilter-panel {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hk-catalog-plp .hk-plp-filter-module .bf-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: none !important;
  overflow: visible !important;
}

.hk-catalog-plp .hk-plp-filter-module .bf-form > .bf-attr-block:not(:first-child) > .bf-attr-header,
.hk-plp-filter-module .bf-form > .bf-attr-block:not(:first-child) > .bf-attr-header {
  padding-top: 12px;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-block {
  margin: 0;
  padding: 0;
  border: 0;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-header {
  background: transparent !important;
  border: 0;
  padding: 0 0 8px;
  margin: 0;
  font-family: var(--hk-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hk-ink);
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-header.bf-clickable,
.hk-plp-filter-module .bf-attr-header.bf-clickable {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-header.bf-clickable .bf-arrow,
.hk-plp-filter-module .bf-attr-header.bf-clickable .bf-arrow {
  display: none !important;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-header.bf-clickable::after,
.hk-plp-filter-module .bf-attr-header.bf-clickable::after {
  content: '';
  position: relative;
  top: 0;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-block:has(.bf-sliding.bf-expanded) > .bf-attr-header.bf-clickable::after,
.hk-plp-filter-module .bf-attr-block:has(.bf-sliding.bf-expanded) > .bf-attr-header.bf-clickable::after {
  top: -2px;
  transform: rotate(45deg);
}

/* Hide BrainyFilter attribute group title (e.g. ATTRIBUTES) */
.hk-plp-filter-module .bf-attr-group-header,
#column-left .bf-attr-group-header,
.bf-panel-wrapper .bf-attr-group-header,
.hk-catalog-plp .bf-attr-group-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

.hk-catalog-plp .hk-plp-filter-module .bf-toggle {
  display: none !important;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-block-cont {
  padding: 0;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-filter {
  margin: 0;
  height: auto;
  min-height: 0;
}

.hk-catalog-plp .hk-plp-filter-module .bf-attr-block-cont {
  display: block;
  width: 100%;
  padding: 0;
}

.hk-catalog-plp .hk-plp-filter-module .bf-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  height: auto;
  min-height: 0;
}

.hk-catalog-plp .hk-plp-filter-module .bf-cell {
  display: block;
  float: none;
  width: auto;
  height: auto !important;
  min-height: 0;
  padding: 0;
  border-bottom: 0 !important;
  vertical-align: top;
}

.hk-catalog-plp .hk-plp-filter-module .bf-c-1 {
  align-self: start;
  padding-top: 2px;
}

.hk-catalog-plp .hk-plp-filter-module .bf-c-3 {
  align-self: start;
  padding-top: 1px;
}

.hk-catalog-plp .hk-plp-filter-module .bf-c-1 input[type="checkbox"],
.hk-catalog-plp .hk-plp-filter-module .bf-c-1 input[type="radio"] {
  accent-color: var(--hk-brand-deep);
  width: 16px;
  height: 16px;
  margin: 0;
}

.hk-catalog-plp .hk-plp-filter-module .bf-c-2 label,
.hk-catalog-plp .hk-plp-filter-module .bf-cell label {
  margin: 0;
  font-size: 14px;
  color: var(--hk-ink);
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  cursor: pointer;
}

.hk-catalog-plp .hk-plp-filter-module .bf-count {
  float: none;
  display: inline-block;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--hk-brand-soft) !important;
  color: var(--hk-brand-deep) !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.hk-catalog-plp .hk-plp-filter-module .bf-search,
.hk-catalog-plp .hk-plp-filter-module input[type="text"],
.hk-catalog-plp .hk-plp-filter-module select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hk-line) !important;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--hk-ink);
  box-shadow: none !important;
}

.hk-catalog-plp .hk-plp-filter-module .bf-cur-symb {
  display: grid;
  grid-template-columns: auto 1fr auto auto 1fr;
  gap: 8px;
  align-items: center;
}

.hk-catalog-plp .hk-plp-filter-module .ui-slider {
  margin-top: 10px;
  border-radius: 999px;
  border: 0;
  height: 6px;
  background: #dfe6e2;
}

.hk-catalog-plp .hk-plp-filter-module .ui-slider-range {
  border-radius: 999px;
  background: var(--hk-brand);
}

.hk-catalog-plp .hk-plp-filter-module .ui-slider-handle {
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--hk-brand-deep);
  width: 16px;
  height: 16px;
  top: -5px;
}

.hk-catalog-plp .hk-plp-filter-module .bf-float-submit {
  margin-top: 8px;
}

.hk-catalog-plp .hk-plp-filter-module .bf-buttonsubmit {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hk-brand-deep) !important;
  background: var(--hk-brand-deep) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none !important;
  transition: filter 0.2s ease, background 0.2s ease;
}

.hk-catalog-plp .hk-plp-filter-module .bf-buttonsubmit:hover,
.hk-catalog-plp .hk-plp-filter-module .bf-buttonsubmit:focus {
  background: #2f4a40 !important;
  border-color: #2f4a40 !important;
  color: #fff !important;
}

/* Float «Apply» lives in .bf-float-submit (often outside .hk-plp-filter-module in DOM) */
.hk-catalog-plp .bf-float-submit {
  border-radius: 12px;
  border-color: rgba(38, 61, 54, 0.15);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(38, 61, 54, 0.12);
}

.hk-catalog-plp .bf-float-submit .bf-buttonsubmit,
.hk-catalog-plp .bf-float-submit input.bf-buttonsubmit.btn-primary {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hk-brand-deep) !important;
  background: var(--hk-brand-deep) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none !important;
  transition: filter 0.2s ease, background 0.2s ease;
}

.hk-catalog-plp .bf-float-submit .bf-buttonsubmit:hover,
.hk-catalog-plp .bf-float-submit .bf-buttonsubmit:focus,
.hk-catalog-plp .bf-float-submit input.bf-buttonsubmit.btn-primary:hover,
.hk-catalog-plp .bf-float-submit input.bf-buttonsubmit.btn-primary:focus {
  background: #2f4a40 !important;
  border-color: #2f4a40 !important;
  color: #fff !important;
}

/* Category module (.list-group) — simpler, cleaner links */
.hk-catalog-plp .hk-plp-filter-module .list-group {
  margin: 0;
  border: 0;
  background: transparent;
}

.hk-catalog-plp .hk-plp-filter-module .list-group a,
.hk-catalog-plp .hk-plp-filter-module .list-group-item {
  display: block;
  margin: 0;
  padding: 6px 0;
  border: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--hk-ink);
  background: transparent;
}

.hk-catalog-plp .hk-plp-filter-module .list-group a:hover,
.hk-catalog-plp .hk-plp-filter-module .list-group-item:hover {
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .hk-plp-filter-module .list-group a.active,
.hk-catalog-plp .hk-plp-filter-module .list-group-item.active,
.hk-catalog-plp .hk-plp-filter-module .list-group a.list-group-item.active {
  color: var(--hk-brand-deep);
  font-weight: 600;
}

/* ── Toolbar + cards ── */
.hk-catalog-plp .grid__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.hk-catalog-plp .grid__toolbar-start {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.hk-catalog-plp .grid__toolbar-start .hk-plp-filters-anchor {
  flex: 0 0 0;
  align-self: center;
}

.hk-catalog-plp .grid__count {
  font-size: 13px;
  color: var(--hk-ink-muted);
}

.hk-catalog-plp .hk-plp-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.hk-catalog-plp .hk-plp-compare {
  font-size: 13px;
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .grid__sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--hk-ink-muted);
}

.hk-catalog-plp .grid__sort select,
.hk-catalog-plp .hk-plp-select {
  background: transparent;
  border: 1px solid var(--hk-line);
  border-radius: 999px;
  padding: 8px 36px 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hk-ink);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7' fill='none'><path d='M1 1l4 4 4-4' stroke='%2314201C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.hk-catalog-plp .grid__sort select:hover {
  border-color: var(--hk-brand-deep);
}

.hk-catalog-plp .grid__cards {
  display: grid;
  /* minmax(0,1fr): long product titles must not inflate column min-width */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hk-catalog-plp .card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  margin: 0;
}

.hk-catalog-plp .card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.hk-catalog-plp .card__image {
  position: relative;
  aspect-ratio: 1 / 1.04;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hk-catalog-plp .card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hk-catalog-plp .card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--hk-brand-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 1;
}

.hk-catalog-plp .card__brand {
  font-family: var(--hk-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hk-ink-muted);
}

.hk-catalog-plp .card__name {
  font-family: var(--hk-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  color: #060606;
  letter-spacing: -0.01em;
  margin: 0;
  min-height: 42px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hk-catalog-plp .card__name a {
  color: inherit;
  overflow-wrap: inherit;
  word-break: inherit;
}

/* Product code — тот же вид, что .hk-product-availability__status на PDP */
.hk-catalog-plp .card__product-code {
  margin: 2px 0 0;
  line-height: 1.35;
}

.hk-catalog-plp .card__product-code .hk-product-availability__status {
  font-size: 12px;
  font-weight: 700;
  color: var(--hk-ink-muted, #6f7a76);
}

.hk-catalog-plp .card__meta {
  font-size: 12px;
  color: var(--hk-ink-muted);
  line-height: 1.55;
  margin-top: auto;
}

.hk-catalog-plp .card__meta strong {
  display: block;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--hk-plp-price, #d86e00);
}

.hk-catalog-plp .hk-plp-price-old {
  text-decoration: line-through;
  opacity: 0.75;
  font-size: 12px;
}

.hk-catalog-plp .card__tax {
  display: block;
  font-size: 11px;
  margin-top: 4px;
}

.hk-catalog-plp .card__rating {
  margin-top: 6px;
}

.hk-catalog-plp .card__guest-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hk-catalog-plp .card__login-hint {
  margin: 0 0 6px;
  font-family: var(--hk-sans);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--hk-plp-price, #d86e00);
}

.hk-catalog-plp .card__guest-actions .card__actions {
  margin-top: 0;
}

.hk-catalog-plp .card__login-hint-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hk-catalog-plp .card__login-hint-link:hover,
.hk-catalog-plp .card__login-hint-link:focus {
  color: inherit;
  text-decoration-thickness: 2px;
}

.hk-catalog-plp .card__actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 2px;
}

.hk-catalog-plp .card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  background: transparent;
  color: var(--hk-brand-deep);
  border: 1px solid var(--hk-brand-deep);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.hk-catalog-plp .card__cta:hover {
  background: var(--hk-brand-deep);
  color: #fff;
}

.hk-catalog-plp .card__cta:disabled,
.hk-catalog-plp .card__cta[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: transparent;
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .card__cta:disabled:hover,
.hk-catalog-plp .card__cta[disabled]:hover {
  background: transparent;
  color: var(--hk-brand-deep);
  filter: none;
}

.hk-catalog-plp .card__tools {
  flex: 0 0 auto;
  display: flex;
}

.hk-catalog-plp .card__icon-btn {
  background: transparent;
  border: 1px solid var(--hk-brand-deep);
  border-radius: 999px;
  width: 48px;
  height: auto;
  min-height: 100%;
  color: var(--hk-brand-deep);
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}

.hk-catalog-plp .card__icon-btn:hover {
  border-color: var(--hk-brand-deep);
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .card__stock {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.2;
  color: #111;
}

.hk-catalog-plp .card__stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 7px;
}

.hk-catalog-plp .card__stock.is-in-stock .card__stock-dot {
  background: #2ea043;
}

.hk-catalog-plp .card__stock.is-out-stock .card__stock-dot {
  background: #d72626;
}

.hk-catalog-plp .grid__empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--hk-ink-muted);
  background: var(--hk-bg-soft);
  border-radius: 18px;
  font-size: 14px;
}

.hk-catalog-plp .hk-plp-empty-actions {
  margin-top: 20px;
  text-align: center;
}

.hk-catalog-plp #product-category .hk-plp-empty-actions {
  display: none;
}

.hk-catalog-plp .hk-plp-pagination {
  margin-top: 28px;
}

.hk-catalog-plp .hk-plp-pagination__pages {
  text-align: center;
}

.hk-catalog-plp .hk-plp-pagination .pagination {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
}

.hk-catalog-plp .hk-plp-pagination .pagination > li {
  float: none;
}

.hk-catalog-plp .hk-plp-pagination .pagination > li > a,
.hk-catalog-plp .hk-plp-pagination .pagination > li > span {
  border-radius: 999px;
  margin: 0 4px;
  border-color: var(--hk-line);
  color: var(--hk-ink);
}

.hk-catalog-plp .hk-plp-pagination .pagination > .active > span {
  background: var(--hk-brand-deep);
  border-color: var(--hk-brand-deep);
  color: #fff;
}

/* ── Compact footer (category) ── */
.hk-catalog-plp .hk-plp-footer-compact {
  border-top: 1px solid var(--hk-line);
  padding: 28px var(--hk-pad);
  background: var(--hk-bg);
}

.hk-catalog-plp .hk-plp-footer-compact .footer__inner {
  max-width: var(--hk-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--hk-ink-muted);
}

.hk-catalog-plp .hk-plp-footer-compact .footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.hk-catalog-plp .hk-plp-footer-compact .footer__links a:hover {
  color: var(--hk-brand-deep);
}

.hk-catalog-plp .hk-plp-footer-compact .footer__portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--hk-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--hk-ink);
  transition: background 0.2s, color 0.2s;
}

.hk-catalog-plp .hk-plp-footer-compact .footer__portal:hover {
  background: var(--hk-ink);
  color: #fff;
}

/* grid__cards: ≤1049 → 2 | 1050–1299 → 3 | ≥1300 → 4 */
@media (min-width: 1050px) {
  .hk-catalog-plp .grid__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1300px) {
  .hk-catalog-plp .grid__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hk-catalog-plp .hk-plp-header .header__inner {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .hk-catalog-plp .header__nav {
    display: none;
  }

  .hk-catalog-plp .plp,
  .hk-catalog-plp .plp.plp--has-right,
  .hk-catalog-plp .plp.plp--full.plp--right-only {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hk-catalog-plp .filters {
    position: static;
  }

  .hk-catalog-plp .slide {
    grid-template-columns: 1fr;
    padding: 28px;
    min-height: 320px;
  }

  .hk-catalog-plp .slide__art {
    display: none;
  }
}

@media (max-width: 640px) {
  .hk-catalog-plp .banner__dots {
    display: none;
  }
}
