:root {
  --ff-yellow: #edf114;
  --ff-blue: #083c5c;
  --ff-blue-soft: #0d4a72;
  --ff-panel: #f6f7f8;
  --ff-card: #f1f2f4;
  --ff-text: #17405e;
  --ff-copy: #6d7681;
  --ff-line: #dde2e7;
  --ff-shell: 1200px;
}

.ff-page {
  background: var(--ff-yellow);
  font-family: "Montserrat", system-ui, sans-serif;
}

.ff-shell {
  width: min(100%, var(--ff-shell));
  margin: 0 auto;
}

.ff-stripe {
  height: 18px;
  background:
    repeating-linear-gradient(
      -66deg,
      var(--ff-yellow) 0 14px,
      var(--ff-yellow) 14px 22px,
      var(--ff-blue) 22px 34px,
      var(--ff-yellow) 34px 48px
    );
}

.ff-catalog {
  min-height: 1009px;
}

.ff-title {
  margin: 20px 0 28px 10px;
  color: var(--ff-blue);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 60px;
  line-height: 73px;
}

.ff-layout {
  display: grid;
  grid-template-columns: 261px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 0 10px 20px;
}

.ff-sidebar {
  color: #fff;
}

.ff-sidebar__toggle {
  display: none;
}

.ff-sidebar__panel {
  min-height: 845px;
  padding: 14px 18px 18px;
  background: var(--ff-blue);
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ff-filter + .ff-filter {
  margin-top: 20px;
}

.ff-filter__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 24.38px;
  font-weight: 700;
}

.ff-filter__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ff-filter__list button,
.ff-filter__list a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 19.504px;
  text-decoration: none;
}

.ff-filter__list button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.ff-filter__list .is-parent button::before {
  content: "<";
  font-size: 15px;
  line-height: 1;
}

.ff-filter__list .is-active a {
  color: #fff;
  font-weight: 700;
}

.ff-colors {
  display: flex;
  gap: 8px;
}

.ff-colors > input {
	display: none;
}
.ff-color {
  width: 21px;
  height: 21px;
  border: 1px solid #d7dbe1;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  display: inline-block;
}

.ff-colors > input:checked + .ff-color {
  box-shadow: 0 0 0 2px #f4cf26;
}

.ff-check {
  display: flex;
  align-items: center;
 
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 19.504px;
}

.ff-check + .ff-check {
  margin-top: 6px;
}

.ff-check input {
  width: 10px;
  height: 10px;
  margin: 0;
  accent-color: #f4cf26;
}

.ff-range__track {
  position: relative;
  height: 3px;
  margin: 12px 8px 10px;
  background: #d9d9d9;
}

.ff-range__fill {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  bottom: 0;
  background: #f4cf26;
}

.ff-range__thumb {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #f4cf26;
  border-radius: 999px;
  background: var(--ff-blue);
  transform: translate(-50%, -50%);
}

.ff-range__thumb--start {
  left: 22px;
}

.ff-range__thumb--end {
  right: 22px;
  transform: translate(50%, -50%);
}

.ff-range__values {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 15px;
}
.ff-range__values > input {
	padding: 0;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	line-height: 17.066px;
	font-weight: 500;
	width: 50px;
}
.ff-range__values > input:last-child {
	text-align: right;
}
.ff-range .irs-bar {
	background: #f4cf26;
}
.ff-range .irs-slider {
	position: absolute;
	top: calc(50% - 7px);
	width: 14px;
	height: 14px;
	border: 2px solid #f4cf26;
	border-radius: 50%;
	background: var(--ff-blue);
}

.ff-submit {
  width: 100%;
  min-height: 31px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ff-blue);
  font-size: 14px;
  line-height: 17.066px;
  font-weight: 700;
  cursor: pointer;
}

.ff-results {
  min-height: 845px;
  padding: 146px 20px 20px;
  background: var(--ff-panel);
  border-radius: 15px;
}

.ff-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -100px 0 18px;
  color: #b7bdc3;
  font-size: 16px;
  line-height: 19.504px;
}

.ff-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.ff-breadcrumbs strong {
  color: var(--ff-blue);
  font-weight: 700;
}

.ff-cards {
  display: grid;
  grid-template-columns: repeat(3, 270px);
  gap: 20px;
}

.ff-card {
  display: flex;
  flex-direction: column;
  min-height: 527px;
  padding: 9px 6px 6px;
  background: #fff;
  border-radius: 15px;
}

.ff-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 261px;
  background: #edf114;
  border-radius: 12px;
}

.ff-card__media img {
  width: 214px;
  height: auto;
}

.ff-card__title {
  min-height: 87px;
  margin: 16px 12px 8px 5px;
  color: var(--ff-blue);
  font-size: 24px;
  line-height: 29.256px;
  font-weight: 700;
  text-decoration: none;
}

.ff-card__text {
  min-height: 44px;
  margin: 0 12px 14px 5px;
  color: var(--ff-copy);
  font-size: 18px;
  line-height: 21.942px;
  font-weight: 400;
}

.ff-card__link,
.ff-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 12px);
  min-height: 40px;
  margin-left: 5px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.ff-card__link {
  margin-bottom: 8px;
  color: var(--ff-blue);
  background: #fff;
  border: 1px solid var(--ff-blue);
}

.ff-card__cta {
  color: var(--ff-yellow);
  background: var(--ff-blue);
}

.ff-footer {
  margin-top: 14px;
}

.ff-page .lf-footer__inner {
  width: min(100%, 1200px);
  padding: 30px 10px 16px;
  margin: 0 auto;
}

.ff-page .lf-footer__nav {
  display: grid;
  grid-template-columns: 260px 260px 260px 260px;
  justify-content: space-between;
  column-gap: 20px;
}

.ff-page .lf-footer__title {
  font-size: 24px;
  line-height: 29px;
  font-weight: 700;
}

.ff-page .lf-footer__sub a,
.ff-page .lf-footer__legal a {
  font-size: 14px;
  line-height: 17px;
}

.ff-page .lf-footer__logo img {
  width: min(100%, 860px);
  height: auto;
}

@media (max-width: 1180px) {
  .ff-layout {
    grid-template-columns: 1fr;
  }

  .ff-sidebar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    margin-bottom: 12px;
    border: 0;
    border-radius: 12px;
    background: var(--ff-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
  }

  .ff-results {
    padding-top: 34px;
  }

  .ff-breadcrumbs {
    margin-top: 0;
  }

  .ff-cards {
    grid-template-columns: repeat(2, 270px);
    justify-content: center;
  }

  .ff-page .lf-footer__nav {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    row-gap: 24px;
  }
}

@media (max-width: 820px) {
  .ff-shell {
    width: min(calc(100% - 24px), var(--ff-shell));
  }

  .ff-title {
    margin-left: 0;
    font-size: clamp(34px, 10vw, 54px);
    line-height: 1.05;
  }

  .ff-layout {
    padding: 0 0 16px;
  }

  .ff-sidebar__panel[hidden] {
    display: none;
  }

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

  .ff-card {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .ff-card__link,
  .ff-card__cta {
    width: 100%;
    margin-left: 0;
  }

  .ff-card__title,
  .ff-card__text {
    margin-left: 0;
    margin-right: 0;
  }

  .ff-page .lf-footer__inner {
    padding: 28px 12px 16px;
  }

  .ff-page .lf-footer__nav {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .ff-page .lf-footer__legal {
    display: grid;
    gap: 12px;
  }
}

/* Тег на фото товара в каталоге */
.ff-card__media { position: relative; }

.ff-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 5px 14px;
  background: var(--ff-blue, #1e5aa8);
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
