.button.button--red.table-view__add-btn,
.button.button--red.js-add-to-cart,
.button.button--red.cart__update-btn,
.button.button--red#add_to_cart {
  background-color: #963032;
  border: 1px solid #963032;
  color: #ffffff;
}
.button.button--red.table-view__add-btn:hover,
.button.button--red.js-add-to-cart:hover,
.button.button--red.cart__update-btn:hover,
.button.button--red#add_to_cart:hover {
  background-color: #7a2628;
  border-color: #7a2628;
  color: #ffffff;
}

.catalog .table-view {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
}
.catalog .table-view table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.catalog .table-view th,
.catalog .table-view td {
  min-width: 0;
  padding: 6px 6px;
  vertical-align: middle;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.catalog .table-view th {
  white-space: normal;
  line-height: 1.2;
  font-size: 13px;
}
.catalog .table-view th:first-child,
.catalog .table-view td:first-child {
  text-align: left;
  width: 22%;
}
.catalog .table-view th:last-child,
.catalog .table-view td:last-child {
  width: 14%;
}

.table-view th:nth-child(2),
.table-view td.table-view__cart-cell {
  width: 170px;
  white-space: nowrap;
  vertical-align: middle;
  padding: 8px 6px;
}
.table-view__cart-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 156px;
}
.table-view .table-view__count-input {
  width: 64px;
  height: 32px;
  box-sizing: border-box;
  text-align: center;
  margin: 0;
}
.button.button--small.table-view__add-btn {
  display: inline-block;
  width: auto;
  min-width: 156px;
  max-width: none;
  height: auto;
  min-height: 32px;
  white-space: nowrap;
  line-height: 1.2;
  padding: 7px 10px;
  font-size: 13px;
  overflow: hidden;
  box-sizing: border-box;
}

.catalog-card-cart {
  margin: -36px 0 28px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.catalog-card-cart .button.js-add-to-cart {
  width: 100%;
  max-width: 220px;
  min-height: 40px;
  white-space: normal;
  line-height: 1.2;
}

.button#add_to_cart {
  min-width: 220px;
  min-height: 44px;
  font-size: 16px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.footer .inner > .social-links {
  justify-content: flex-start;
}
.footer__mobile > .social-links {
  padding: 8px 0 4px;
}
.social-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #963032;
  color: #ffffff;
  text-decoration: none;
}
.social-links__item:hover {
  background: #7a2628;
  color: #ffffff;
}

.hits-page__heading {
  padding: 16px 0 8px;
}
.hits-page__heading h1 {
  margin: 0 0 8px;
  font-size: 22px;
}
.hits-page__empty {
  padding: 40px 20px;
  font-size: 18px;
  line-height: 1.4;
}
.hits-page__empty .button {
  margin-top: 16px;
}
.hits-page .list-view {
  display: flex;
  flex-wrap: wrap;
}

.cart__count-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cart__count-controls .cart__count-input {
  width: 64px;
  height: 32px;
  box-sizing: border-box;
  text-align: center;
  margin: 0;
}
.button.button--small.button--red.cart__update-btn {
  display: inline-block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 32px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 1169px) {
  .catalog:not(.hits-page) .table-view {
    display: none !important;
  }
  .catalog:not(.hits-page) .list-view {
    display: block !important;
  }
}
