:root {
  --poroda-blue: #006cb4;
  --poroda-ink: #17181a;
  --poroda-surface: #fff;
  --poroda-line: #dfe3e8;
}

#rec2362706811,
#rec2450885131,
#rec2362707881,
#rec2362708111 {
  display: none !important;
}

.poroda-crusher-catalog {
  width: min(1200px, calc(100% - 32px));
  margin: 20px auto 56px;
  color: var(--poroda-ink);
  font-family: Onest, Arial, sans-serif;
}

.poroda-crusher-filter {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--poroda-line);
  border-radius: 14px;
  background: #f7f8fa;
}

.poroda-crusher-filter__title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
}

.poroda-crusher-filter__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 18px;
  align-items: end;
}

.poroda-crusher-filter__group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.poroda-crusher-filter__group legend {
  min-height: 36px;
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.poroda-crusher-filter__group label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  width: 100%;
  font-size: 13px;
  color: #5c626b;
}

.poroda-crusher-filter__group label + label {
  margin: 8px 0 0;
}

.poroda-crusher-filter input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 9px;
  border: 1px solid #c8ced6;
  border-radius: 7px;
  background: #fff;
  color: var(--poroda-ink);
  font: inherit;
}

.poroda-crusher-filter input:focus-visible,
.poroda-crusher-filter button:focus-visible,
.poroda-catalog-mega a:focus-visible,
.poroda-catalog-toggle:focus-visible {
  outline: 3px solid rgba(0, 108, 180, .28);
  outline-offset: 2px;
}

.poroda-crusher-filter__actions {
  display: flex;
  gap: 8px;
}

.poroda-crusher-filter button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--poroda-blue);
  border-radius: 7px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.poroda-crusher-filter__submit {
  background: var(--poroda-blue);
  color: #fff;
}

.poroda-crusher-filter__reset {
  background: #fff;
  color: var(--poroda-blue);
}

.poroda-crusher-filter__count {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.poroda-crusher-filter__error {
  grid-column: 1 / -1;
  margin: 0;
  color: #b42318;
  font-size: 14px;
}

.poroda-crusher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.poroda-crusher-card {
  min-width: 0;
  border: 1px solid var(--poroda-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--poroda-surface);
  box-shadow: 0 2px 8px rgba(20, 29, 38, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.poroda-crusher-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 29, 38, .12);
}

.poroda-crusher-card[hidden] {
  display: none !important;
}

.poroda-crusher-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--poroda-ink) !important;
  text-decoration: none !important;
}

.poroda-crusher-card__media {
  position: relative;
  display: block;
  height: 210px;
  box-sizing: border-box;
  padding: 18px;
  overflow: hidden;
  background: #fff;
}

.poroda-crusher-card__media img {
  position: absolute !important;
  inset: 18px !important;
  display: block;
  width: calc(100% - 36px) !important;
  height: calc(100% - 36px) !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* The subtitle is positioned by poroda-tz.js from the real H1 box. Keep the
   text itself left-aligned and constrained to the same usable width. */
.tn-elem__11556631961742834365256 {
  display: block !important;
}

.tn-elem__11556631961742834365256 .tn-atom {
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
  white-space: normal !important;
}

.tn-elem__11556631961742834365256 > .tn-atom:empty {
  display: none !important;
}

.tn-elem__11556631961742834365256 > p {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.poroda-crusher-card__title {
  display: block;
  padding: 14px 16px 18px;
  border-top: 1px solid #edf0f3;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.poroda-catalog-mega {
  position: fixed;
  z-index: 10050;
  display: none;
  width: min(1120px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid var(--poroda-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .18);
  color: var(--poroda-ink);
  font-family: Onest, Arial, sans-serif;
}

.poroda-catalog-mega.is-open {
  display: block;
}

.poroda-catalog-mega__grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.poroda-catalog-mega__column h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.poroda-catalog-mega__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.poroda-catalog-mega__column li + li {
  margin-top: 7px;
}

.poroda-catalog-mega__column a {
  color: #343a40 !important;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none !important;
}

.poroda-catalog-mega__column a:hover {
  color: var(--poroda-blue) !important;
}

.poroda-catalog-toggle {
  display: none;
  width: 30px;
  height: 30px;
  margin-left: 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  vertical-align: middle;
}

.poroda-catalog-toggle::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 7px auto 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.poroda-catalog-toggle[aria-expanded="true"]::before {
  margin-top: 12px;
  transform: rotate(225deg);
}

@media (max-width: 959px) {
  .t-popup_show .poroda-catalog-trigger-wrap {
    display: flex !important;
  }

  .poroda-crusher-filter__form {
    grid-template-columns: 1fr;
  }

  .poroda-crusher-filter__group legend {
    min-height: 0;
  }

  .poroda-crusher-filter__actions {
    flex-wrap: wrap;
  }

  .poroda-crusher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poroda-catalog-toggle {
    display: inline-block;
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    margin: 0;
  }

  .poroda-catalog-mega {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 18px;
  }

  .poroda-catalog-mega__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .poroda-crusher-catalog {
    width: min(100% - 24px, 1200px);
    margin-top: 12px;
  }

  .poroda-crusher-filter {
    padding: 18px 14px;
  }

  .poroda-crusher-filter__title {
    font-size: 21px;
  }

  .poroda-crusher-filter__group label {
    display: grid;
    width: 100%;
  }

  .poroda-crusher-filter__group label + label {
    margin: 8px 0 0;
  }

  .poroda-crusher-filter__actions button {
    flex: 1 1 130px;
  }

  .poroda-crusher-grid {
    grid-template-columns: 1fr;
  }

  .poroda-crusher-card__media {
    height: 190px;
  }
}

/* TZ 30.07.2026: /catalog/zapchasti v2 */
body .poroda-zp-card__title {
  color: #000000 !important;
}

body .poroda-zp-section--v2 {
  padding-top: 32px;
  padding-bottom: 32px;
}

body .poroda-zp-section--v2 + .poroda-zp-single {
  padding-top: 0;
  padding-bottom: 32px;
}

@media (max-width: 959px) {
  #rec2408647781 .tn-elem__24086477811696935239916 .tn-atom {
    font-size: 40px !important;
    line-height: 1.12 !important;
    height: auto !important;
    overflow: visible !important;
  }

  #rec2408647781 .tn-elem__24086477811697028276497 .tn-atom {
    font-size: 18px !important;
    line-height: 1.45 !important;
    height: auto !important;
    overflow: visible !important;
  }
}

@media (max-width: 639px) {
  #rec2408647781 .tn-elem__24086477811696935239916 .tn-atom {
    font-size: 38px !important;
  }
}

@media (max-width: 479px) {
  #rec2408647781 .tn-elem__24086477811696935239916 .tn-atom {
    font-size: 34px !important;
  }
}

/* Tendery renderer 30.07.2026 */
html[data-poroda-tendery-renderer="loading"] #allrecords > :not(#t-header):not(#t-footer) {
  visibility: hidden !important;
}
