/* Каталог складских направлений: фильтр слева, карточки справа.
   Страница /avtomatizirovannye-sklady, 19.11.2026. Предпросмотр. */

/* ---------- общая обёртка ---------- */
html body #rk-screwfast .sfp-warehouse-review .wc-catalog { padding-block: 0 !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 32px !important;
  align-items: end !important;
  border-top: 1px solid #d6dbde !important;
  padding: 28px 0 24px !important;
  margin: 0 0 24px !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-eyebrow {
  margin: 0 0 8px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #8b969c !important;
  font-weight: 600 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-head .sfp-rk-wh-directions-title {
  margin: 0 0 10px !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 550 !important;
  letter-spacing: -.01em !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-head .sfp-rk-wh-directions-lead {
  margin: 0 !important;
  max-width: 92ch !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #505b61 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 5px !important;
  text-align: right !important;
  padding-bottom: 4px !important;
}
html body #rk-screwfast .sfp-warehouse-review #wc-count {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #111 !important;
  white-space: nowrap !important;
}
html body #rk-screwfast .sfp-warehouse-review #wc-caption {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #64707a !important;
  max-width: 330px !important;
}

/* ---------- сетка: фильтр + результаты ---------- */
html body #rk-screwfast .sfp-warehouse-review .wc-layout {
  display: grid !important;
  grid-template-columns: 272px minmax(0, 1fr) !important;
  gap: 30px !important;
  align-items: start !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-filters {
  position: sticky !important;
  top: 84px !important;
  max-height: calc(100vh - 108px) !important;
  overflow-y: auto !important;
  border: 1px solid #d6dce0 !important;
  background: #fff !important;
  padding: 20px !important;
  overscroll-behavior: contain !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-filters-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e6eaec !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-filters-head .wc-filters-title {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-reset {
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: #8b3a00 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-group {
  padding: 13px 0 !important;
  border-bottom: 1px solid #eef1f2 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-group:last-of-type {
  border-bottom: 0 !important;
  padding-bottom: 4px !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-group-title {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  color: #111 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-opt {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  padding: 6px 6px 6px 4px !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  transition: background .12s ease !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-opt:hover { background: #f6f7f8 !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-opt input {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  margin: 1px 0 0 !important;
  border: 1.5px solid #aab4bb !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  position: relative !important;
  cursor: pointer !important;
  background: #fff !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-opt input:checked { border-color: #151a1d !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-opt input:checked::after {
  content: "" !important;
  position: absolute !important;
  inset: 3px !important;
  border-radius: 50% !important;
  background: #151a1d !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-opt span {
  font-size: 14px !important;
  line-height: 1.32 !important;
  color: #111 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-opt small {
  display: block !important;
  margin-top: 2px !important;
  font-size: 11.5px !important;
  line-height: 1.28 !important;
  color: #7b868d !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-field { display: block !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-field input {
  width: 100% !important;
  box-sizing: border-box !important;
  height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid #c9d1d6 !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #111 !important;
  border-radius: 0 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-field input::placeholder { color: #8b969c !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-field input:focus {
  outline: 2px solid #151a1d !important;
  outline-offset: 1px !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-filters-foot {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-top: 16px !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-apply {
  display: none !important;
  width: 100% !important;
  padding: 13px 16px !important;
  background: #151a1d !important;
  color: #fff !important;
  border: 1px solid #151a1d !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 550 !important;
  cursor: pointer !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-subcat-link {
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  font-weight: 550 !important;
  color: #111 !important;
  text-underline-offset: 4px !important;
}

/* ---------- результаты ---------- */
html body #rk-screwfast .sfp-warehouse-review .wc-results { min-width: 0 !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-results-bar {
  display: none !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-results-hint {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #7b868d !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-filters-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  min-width: 112px !important;
  padding: 11px 16px !important;
  border: 1px solid #151a1d !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 550 !important;
  color: #111 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-filters-toggle::before {
  content: "" !important;
  width: 14px !important;
  height: 2px !important;
  background: #111 !important;
  box-shadow: 0 -5px 0 #111, 0 5px 0 #111 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-results-hint {
  min-width: 0 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-grid > .sfp-rk-wh-dir-card {
  height: 100% !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-grid .sfp-rk-wh-dir-card[hidden] { display: none !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-grid .sfp-rk-wh-dir-name { min-height: 50px !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-grid .sfp-rk-wh-dir-brief { min-height: 110px !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-tag {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 8px !important;
  border: 1px solid #d6dce0 !important;
  background: #f6f7f8 !important;
  color: #505b61 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-empty {
  padding: 28px !important;
  border: 1px dashed #c9d1d6 !important;
  background: #fff !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-empty[hidden] { display: none !important; }
html body #rk-screwfast .sfp-warehouse-review .wc-empty b {
  display: block !important;
  margin: 0 0 6px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
html body #rk-screwfast .sfp-warehouse-review .wc-empty p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #505b61 !important;
}

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  html body #rk-screwfast .sfp-warehouse-review .wc-layout {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  html body #rk-screwfast .sfp-warehouse-review .wc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 960px) {
  html body #rk-screwfast .sfp-warehouse-review .wc-head {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
  html body #rk-screwfast .sfp-warehouse-review .wc-stat {
    align-items: flex-start !important;
    text-align: left !important;
    padding-bottom: 0 !important;
  }
  html body #rk-screwfast .sfp-warehouse-review #wc-caption { max-width: none !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-layout { grid-template-columns: 1fr !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-filters {
    position: static !important;
    max-height: none !important;
    display: none !important;
    margin-bottom: 18px !important;
  }
  html body #rk-screwfast .sfp-warehouse-review .wc-filters.is-open { display: block !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-results-bar { display: flex !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-apply { display: block !important; }
}
@media (max-width: 640px) {
  html body #rk-screwfast .sfp-warehouse-review .wc-head { padding-top: 22px !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-head .sfp-rk-wh-directions-title { font-size: 19px !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-head .sfp-rk-wh-directions-lead { font-size: 14px !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-grid { grid-template-columns: 1fr !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-grid .sfp-rk-wh-dir-name { min-height: 0 !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-grid .sfp-rk-wh-dir-brief { min-height: 0 !important; }
  html body #rk-screwfast .sfp-warehouse-review .wc-filters { padding: 18px !important; }
}

/* Вводный текст страницы — на всю ширину (Toshik 19.11.2026) */
html body #rk-screwfast .sfp-warehouse-review .sfp-wh-intro,
html body #rk-screwfast .sfp-warehouse-review .sfp-wh-intro .sfp-rk-c-intro {
  max-width: none !important;
  width: 100% !important;
}

/* «Подгруппы»: после объединения двух паллетных карточек — 3 колонки на десктопе */
@media (min-width: 1101px) {
  html body #rk-screwfast .sfp-warehouse-review .sfp-rk-wh-subcat-grid.wc-subcat-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* «Подгруппы»: после объединения осталось 2 карточки — 2 колонки на десктопе */
@media (min-width: 1101px) {
  html body #rk-screwfast .sfp-warehouse-review .sfp-rk-wh-subcat-grid.wc-subcat-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ---------- нижние блоки страницы в общем стиле (19.11.2026) ---------- */
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-selection-help,
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-section,
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-service-strip,
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block,
html body #rk-screwfast .sfp-warehouse-review .warehouse-extra-galleries {
  max-width: 1400px !important;
  width: calc(100% - 64px) !important;
  margin: 0 auto !important;
  padding: 32px 0 10px !important;
  border-top: 1px solid #d6dbde !important;
  border-bottom: 0 !important;
  background: #fff !important;
}
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-service-strip {
  padding: 26px 0 !important;
}
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-selection-help p,
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-section p,
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-service-strip p {
  max-width: none !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #505b61 !important;
}
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-service-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 20px 30px !important;
}
html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-service-strip > div {
  max-width: 640px !important;
}
html body #rk-screwfast .sfp-warehouse-review .sfp-related {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

/* FAQ */
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block .rk-seo-faq {
  display: grid !important;
  gap: 10px !important;
  max-width: none !important;
}
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block .rk-seo-faq__item {
  border: 1px solid #d6dce0 !important;
  border-left: 4px solid #F4A900 !important;
  padding: 0 !important;
  background: #fff !important;
}
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block summary {
  list-style: none !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 15px 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #17191b !important;
}
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block summary::-webkit-details-marker { display: none !important; }
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block summary::after {
  content: "+" !important;
  display: grid !important;
  place-items: center !important;
  width: 26px !important;
  height: 26px !important;
  flex: none !important;
  background: #F4A900 !important;
  color: #17191b !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block details[open] summary::after { content: "−" !important; }
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block .rk-seo-faq__item > p,
html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block .rk-seo-faq__item > div {
  padding: 0 18px 16px !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #505b61 !important;
  margin: 0 !important;
}

/* Галереи */
html body #rk-screwfast .sfp-warehouse-review .warehouse-extra-galleries > div {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 8px !important;
}
html body #rk-screwfast .sfp-warehouse-review .warehouse-extra-galleries a {
  display: block !important;
  border: 1px solid #d6dce0 !important;
  overflow: hidden !important;
  background: #fff !important;
}
html body #rk-screwfast .sfp-warehouse-review .warehouse-extra-galleries img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  display: block !important;
}
@media (max-width: 960px) {
  html body #rk-screwfast .sfp-warehouse-review .sfp-related,
  html body #rk-screwfast .sfp-warehouse-review .warehouse-extra-galleries > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 700px) {
  html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-selection-help,
  html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-section,
  html body #rk-screwfast .sfp-warehouse-review .sfp-rk-c-service-strip,
  html body #rk-screwfast .sfp-warehouse-review .rk-seo-faq-block,
  html body #rk-screwfast .sfp-warehouse-review .warehouse-extra-galleries {
    width: calc(100% - 32px) !important;
    padding: 24px 0 6px !important;
  }
  html body #rk-screwfast .sfp-warehouse-review .sfp-related,
  html body #rk-screwfast .sfp-warehouse-review .warehouse-extra-galleries > div {
    grid-template-columns: 1fr !important;
  }
}


/* мобильный H1: не рвать длинные слова */
@media (max-width: 640px) {
  html body #rk-screwfast .sfp-warehouse-review .sfp-wh-hero h1 {
    font-size: 26px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}


/* правило типографики 14/18 для текстов */
html body #rk-screwfast main.sfp-warehouse-review p,
html body #rk-screwfast main.sfp-warehouse-review li,
html body #rk-screwfast main.sfp-warehouse-review dd,
html body #rk-screwfast main.sfp-warehouse-review dt {
  font-size: 14px !important;
  line-height: 18px !important;
}
