/* Catalog page */

body {
  color: #173913;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: #3B741E;
}

.oc-container {
  max-width: 1430px;
}

.oc-catalog-page {
  padding: 20px 0 50px;
}

.oc-breadcrumbs {
  margin: 0 0 18px;
  text-align: center;
}

.oc-breadcrumbs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.oc-breadcrumbs li {
  display: inline-block;
  color: #b9cbbb;
}

.oc-breadcrumbs li + li:before {
  content: "/";
  margin: 0 9px;
  color: #3B741E;
}

.oc-breadcrumbs a {
  color: #173913;
}

.oc-catalog-head {
  margin-bottom: 44px;
  text-align: center;
}

.oc-catalog-head h1 {
  margin: 0 0 24px;
  color: #173913;
  font-size: 36px;
  font-weight: 400;
}

.oc-catalog-head p {
  margin: 0;
  color: #173913;
  line-height: 1.25;
}

.oc-catalog-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 58px;
}

.oc-catalog-tab {
  display: flex;
  flex: 1 1 0;
  min-height: 120px;
  padding: 20px 15px;
  border: 1px solid #d6e4d6;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #3B741E;
  font-weight: 700;
  text-align: center;
}

.oc-catalog-tab.active {
  border-color: #3B741E;
}

.oc-catalog-tab:hover,
.oc-catalog-tab:focus {
  color: #3B741E;
  text-decoration: none;
}

.oc-catalog-tab__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 2px;
  background: #3B741E;
}

.oc-catalog-tab__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oc-catalog-layout {
  align-items: flex-start;
}

.oc-catalog-filter {
  padding: 22px 15px;
  border: 1px solid #d6e4d6;
  color: #173913;
}

.oc-catalog-filter__title {
  display: flex;
  margin: 0 0 26px;
  align-items: center;
  color: #173913;
  font-size: 24px;
  font-weight: 700;
}

.oc-catalog-filter__icon {
  width: 24px;
  margin-right: 8px;
}

.oc-catalog-filter__icon img {
  display: block;
  width: 100%;
}

.oc-filter-group {
  margin-bottom: 28px;
}

.oc-filter-group__toggle {
  position: relative;
  width: 100%;
  padding: 0 28px 12px 0;
  border: 0;
  background: transparent;
  color: #173913;
  font-weight: 700;
  text-align: left;
}

.oc-filter-group__toggle:after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 13px;
  height: 13px;
  border-top: 1px solid #173913;
  border-left: 1px solid #173913;
  transform: rotate(45deg);
}

.oc-check {
  display: block;
  margin-bottom: 9px;
  font-weight: 400;
}

.oc-check input {
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.oc-price-fields {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.oc-price-fields .form-control {
  height: 30px;
  border-color: #d6e4d6;
  border-radius: 0;
  box-shadow: none;
}

.oc-price-range {
  position: relative;
  height: 20px;
}

.oc-price-range__line {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 1px;
  background: #9dbc8f;
}

.oc-price-range__dot {
  position: absolute;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3B741E;
}

.oc-price-range__dot--left {
  left: 0;
}

.oc-price-range__dot--right {
  right: 8%;
}

.oc-price-caption {
  margin: 0;
  text-align: center;
}

.oc-product-tile {
  margin-bottom: 30px;
}

.oc-product-tile__image {
  margin-bottom: 8px;
}

.oc-product-tile__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.oc-product-tile__caption {
  display: flex;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: baseline;
}

.oc-product-tile__title {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}

.oc-product-tile__title a {
  color: #173913;
}

.oc-product-tile__price {
  margin: 0;
  color: #3B741E;
  font-size: 16px;
  font-weight: 700;
}

.oc-product-tile__cart {
  width: 100%;
  height: 40px;
  border: 1px solid #d6e4d6;
  border-radius: 2px;
  background: #fff;
  color: #3B741E;
  font-weight: 700;
}

/* Product grid +++ */
.oc-product-grid {
  display: flex;
  flex-wrap: wrap;
}

.oc-product-grid:before,
.oc-product-grid:after {
  display: none;
}

.oc-product-grid > [class*="col-"] {
  display: flex;
  margin-bottom: 24px;
}

.oc-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
}

.oc-product-card__image {
  width: 100%;
}

.oc-product-card__image a {
  display: block;
}

.oc-product-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.oc-product-card__caption {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.oc-product-card__title {
  flex: 1 1 auto;
  margin: 0;
}

.oc-product-card__price {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.oc-product-card__actions {
  margin-top: auto;
  padding-top: 10px;
}

.oc-product-card__cart {
  width: 100%;
}
/* Product grid --- */

/* Кнопка добавления в корзину (добавлено)*/
button.added {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

@media (max-width: 991px) {
  .oc-catalog-tabs {
    flex-wrap: wrap;
    margin-bottom: 34px;
  }

  .oc-catalog-tab {
    flex-basis: calc(50% - 8px);
  }
}

@media (max-width: 767px) {
  .oc-catalog-head h1 {
    font-size: 30px;
  }

  .oc-catalog-filter {
    margin-bottom: 28px;
  }

  .oc-product-grid .col-xs-6 {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (max-width: 430px) {
  .oc-catalog-tab {
    flex-basis: 100%;
    min-height: 92px;
  }

  .oc-product-grid .col-xs-6 {
    width: 100%;
  }
}
