:root {
  --color-red: #C42026;
  --color-red-dark: #9E171C;
  --color-red-soft: #FDECEC;
  --color-steel: #1E2A38;
  --color-steel-2: #2C3E50;
  --color-blue-accent: #2563EB;
  --color-ink: #1A1D21;
  --color-gray: #5E5F61;
  --color-gray-2: #8A8F98;
  --color-gray-3: #B6BBC2;
  --color-white: #FFFFFF;
  --color-bg: #F4F6F9;
  --color-bg-2: #EDF1F5;
  --color-line: #E2E7ED;
  --color-success: #1E8E45;
  --color-success-soft: #E8F6EC;
  --color-on-dark: rgba(255, 255, 255, .86);
  --color-on-dark-muted: rgba(255, 255, 255, .62);
  --color-on-dark-line: rgba(255, 255, 255, .12);
  --color-accent: var(--color-red);
  --color-accent-hover: var(--color-red-dark);
  --color-accent-soft: var(--color-red-soft);
  --color-secondary: var(--color-steel);
  --color-secondary-2: var(--color-blue-accent);
  --hero-dark: linear-gradient(135deg, var(--color-steel-2) 0%, var(--color-steel) 100%);
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-gray-2);
  --color-heading: var(--color-steel);
  --color-page: var(--color-bg);
  --color-surface: var(--color-white);
  --color-surface-2: var(--color-bg-2);
  --color-border: var(--color-line);
  --color-stock-bg: var(--color-success-soft);
  --color-stock-text: var(--color-success);
  --font-base: 'Carlito-Regular', system-ui, -apple-system, sans-serif;
  --font-bold: 'Carlito-Bold', system-ui, -apple-system, sans-serif;
  --font-display: 'Oswald', 'Carlito-Bold', system-ui, sans-serif;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --radius-btn: 8px;
  --shadow-xs: 0 1px 2px rgba(30, 42, 56, 0.06);
  --shadow-sm: 0 2px 8px rgba(30, 42, 56, 0.07);
  --shadow-md: 0 8px 24px rgba(30, 42, 56, 0.09);
  --shadow-lg: 0 16px 48px rgba(30, 42, 56, 0.12);
  --shadow-accent: 0 10px 28px rgba(196, 32, 38, 0.22);
  --shadow-accent-soft: 0 5px 14px rgba(196, 32, 38, 0.14);
  --container-max: 1400px;
  --container-pad: 24px;
  --section-gap: 48px;
  --section-gap-sm: 34px;
  --card-gap: 20px;
  --t-fast: .18s ease;
  --t-base: .28s ease;
  --t-slow: .45s cubic-bezier(.22,.61,.36,1);
}

body.redesign .setting {
  padding-top: 28px;
}
body.redesign .setting__title.title {
  margin-bottom: 28px;
}
body.redesign .setting__items {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-sm);
          box-shadow: var(--shadow-sm);
  padding: 36px;
}
body.redesign .setting__name {
  font-family: var(--font-bold);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-heading);
  margin-bottom: 16px;
}
body.redesign .setting__name p {
  margin: 0 0 12px;
}
body.redesign .setting__name p:last-child {
  margin-bottom: 0;
}
body.redesign .setting__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}
body.redesign .setting__text p {
  margin: 0 0 14px;
}
body.redesign .setting__text p:last-child {
  margin-bottom: 0;
}
body.redesign .setting__line {
  margin-top: var(--section-gap);
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-heading);
  padding-left: 18px;
  position: relative;
  background: none;
}
body.redesign .setting__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}
body.redesign .setting__line p {
  margin: 0;
}
body.redesign .filter.filter-installations {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
  padding: 36px;
  margin-top: 8px;
}
body.redesign .filter__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-heading);
  padding-left: 18px;
  position: relative;
  margin-bottom: 28px;
}
body.redesign .filter__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}
body.redesign .filter-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
body.redesign .filter__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
body.redesign .filter__name {
  font-family: var(--font-bold);
  font-size: 15px;
  color: var(--color-heading);
  letter-spacing: 0.01em;
}
body.redesign .filter__select,
body.redesign .filter__select .search {
  width: 100%;
}
body.redesign .filter__select select {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 12px 44px 12px 20px;
  background-color: var(--color-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8F98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  color: var(--color-text);
  font-size: 15px;
  font-family: var(--font-base);
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  -webkit-transition: border-color var(--t-base), -webkit-box-shadow var(--t-base);
  transition: border-color var(--t-base), -webkit-box-shadow var(--t-base);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  transition: border-color var(--t-base), box-shadow var(--t-base), -webkit-box-shadow var(--t-base);
}
body.redesign .filter__select select:focus {
  outline: none;
  border-color: var(--color-accent);
}
body.redesign .custom-select {
  position: relative;
  width: 100%;
  border: none;
  background: none;
}
body.redesign .custom-select__option--value {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: auto;
  padding: 12px 44px 12px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-size: 15px;
  font-family: var(--font-base);
  text-align: left;
  cursor: pointer;
  -webkit-transition: border-color var(--t-base), -webkit-box-shadow var(--t-base);
  transition: border-color var(--t-base), -webkit-box-shadow var(--t-base);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  transition: border-color var(--t-base), box-shadow var(--t-base), -webkit-box-shadow var(--t-base);
}
body.redesign .custom-select__option--value::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background-color: var(--color-text-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-transition: -webkit-transform var(--t-fast);
  transition: -webkit-transform var(--t-fast);
  transition: transform var(--t-fast);
  transition: transform var(--t-fast), -webkit-transform var(--t-fast);
}
body.redesign .custom-select--active .custom-select__option--value {
  border-color: var(--color-accent);
}
body.redesign .custom-select--active .custom-select__option--value::after {
  -webkit-transform: translateY(-50%) rotate(180deg);
          transform: translateY(-50%) rotate(180deg);
}
body.redesign .custom-select__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  -webkit-box-shadow: var(--shadow-md);
          box-shadow: var(--shadow-md);
  padding: 6px;
}
body.redesign .custom-select__dropdown .custom-select__option {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  font-size: 15px;
  font-family: var(--font-base);
  text-align: left;
  cursor: pointer;
  -webkit-transition: background var(--t-fast), color var(--t-fast);
  transition: background var(--t-fast), color var(--t-fast);
}
body.redesign .custom-select__dropdown .custom-select__option:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
body.redesign .custom-select__dropdown .custom-select__option.active {
  color: var(--color-accent);
  font-family: var(--font-bold);
}
body.redesign .filter__row.no-active {
  display: none;
}
body.redesign .filter__row-model:not(.no-active) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
body.redesign .calc-total {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
}
body.redesign .setting-container {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
}
body.redesign .setting__price {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-bold);
  font-size: 18px;
  color: var(--color-heading);
}
body.redesign .setting__price p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--color-accent);
}
body.redesign .setting__btn.btn-default {
  display: table;
  margin: 24px auto 0;
}

@media (max-width: 1140px) {
  body.redesign .setting__items,
  body.redesign .filter.filter-installations {
    padding: 28px;
  }
  body.redesign .calc-total {
    padding: 24px 28px;
  }
}
@media (max-width: 768px) {
  body.redesign .setting {
    padding-top: 18px;
  }
  body.redesign .setting__items {
    padding: 22px 18px;
  }
  body.redesign .setting__name {
    font-size: 16px;
  }
  body.redesign .setting__line {
    font-size: 22px;
    margin-top: var(--section-gap-sm);
  }
  body.redesign .filter.filter-installations {
    padding: 22px 18px;
  }
  body.redesign .filter__title {
    font-size: 21px;
    margin-bottom: 20px;
  }
  body.redesign .filter-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  body.redesign .calc-total {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 18px;
    padding: 22px 18px;
  }
  body.redesign .setting__price {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
  body.redesign .setting__price p {
    font-size: 28px;
  }
  body.redesign .setting__btn.btn-default {
    width: 100%;
  }
}