:root {
  --accent-hover: #2e5564;
  --accent-two: #d15323;
  --accent: #23a1d1;
  --background-checkout: #f9fbff;
  --background-table: #f2fbff;
  --background-tab: #e9f1ff;
  --background: #f4f7fc;
  --black-grey: #4d4c4c;
  --black: #212121;
  --border-line: #d2e3ff;
  --cart-button-hover: #1f4e24;
  --cart-button: #48a952;
  --catalog-border: #d6d6d6;
  --dark-grey: #818181;
  --delivery-banner-backgroud: #183159;
  --grey: #c1c1c1;
  --header-footer-background: #293638;
  --in-stock: #04ab0a;
  --light-green: #65c569;
  --light-red: #fbbfbb;
  --menu-item-hover: #f4f7fc;
  --more-one-day: #d3ca03;
  --red: #f96464;
  --to-order: #d71414;
  --white: #ffffff;
  --yellow: #f1ea57;
}

* {
  font-family: 'Rubik', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  background-color: var(--background);
}

body.menu-active .header__navigation {
  display: block;
  transition: all 300ms ease-out;
}

body.menu-active .header .btn-catalog {
  background-color: var(--accent-hover);
}

body.menu-active .header .btn-catalog::after {
  display: block;
  position: absolute;
  bottom: -1px;
  z-index: -1;
  width: 100%;
  max-width: 234px;
  height: 55px;
  padding: 10px 10px 14px 10px;
  border-radius: 10px 10px 0px 0px;
  background-color: var(--white);
  content: '';
}

body.menu-active .header__overlay,
body.m-menu-open .header__overlay {
  display: block;
}

body.m-filters-open .header {
  position: fixed;
  width: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper.wrapper--login {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url('../img/banner.png') lightgray 50% / cover no-repeat;
}

/* ----- Header Styles ----- */

.header {
  z-index: 5;
}

.header .header__content {
  background-color: var(--header-footer-background);
}

.header.header--checkout .header__content {
  background-color: var(--white);
}

.header .header__location {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  color: var(--white);
}

.header .header__location-icon {
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
}

.header .header__location-code {
  margin: auto 8px 0 0;
  line-height: 21px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.64px;
}

.header .header__location-city {
  margin: auto 0 0 0;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0.56px;
}

.header .header__top-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.header .header__contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.header .header__s-network-icon {
  width: 32px;
  height: 32px;
}

.header .header__bottom-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  padding: 14px 0;
}

.header .m-menu,
.header .m-burger-menu,
.header .m-header__profile {
  display: none;
}

.header .header__menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.header .header__menu-item {
  list-style-type: none;
}

.header .header__menu-link {
  padding: 8px 12px;
  font-size: 20px;
  font-weight: 500;
}

.header .header__phone {
  margin: 0 32px 0 0;
}

.header .header__phone-link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
}

.header.header--checkout .header__phone-link {
  font-size: 18px;
  line-height: 21px;
  font-weight: 600;
  letter-spacing: 0.72px;
}

.header .header__phone-link::before {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 0 0 4px;
  background-image: url(../img/icons/phone-i.svg);
  background-size: contain;
  background-repeat: no-repeat;
  content: '';
}

.header.header--checkout .header__phone-link::before {
  margin: 0 8px 0 0;
  background-image: url(../img/icons/phone-black-i.svg);
}

.header .header__s-network {
  height: 32px;
  margin: 0 16px 0 0;
}

.header .header__s-network:last-child {
  margin: 0;
}

.header .header__profile-icon {
  width: 20px;
  height: 20px;
  margin: 0 12px 0 0;
}

.header .header__btn-profile {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-weight: 500;
  letter-spacing: 0.64px;
  color: var(--white);
}

.header .header__logo,
.header .header__logo-img {
  width: 230px;
  height: 43px;
}

.header .m-header__logo {
  display: none;
}

.header.header--checkout .header__logo-img {
  max-width: 175px;
  height: 32px;
}

.header .header__catalog {
  z-index: 5;
  width: 100%;
  max-width: 233px;
  margin: 0 0 0 20px;
}

.header .btn-catalog {
  justify-content: center;
  z-index: 2;
  width: 100%;
  padding: 16px 0;
}

.header .header__catalog-icon {
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
}

.header .header__navigation {
  display: none;
}

.header .catalog-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
}

.header .catalog-menu__list {
  width: 100%;
  max-width: 494px;
  padding: 8px 0 16px 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background-color: var(--white);
}

.header .catalog-menu__item {
  padding: 0 8px;
  list-style-type: none;
}

.header .catalog-menu__item:hover>.catalog-sub-menu {
  display: block;
}

.header .catalog-menu__item.all-category {
  margin: 55px 0 0 0;
}

.header .catalog-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 4px 0;
  padding: 6.5px 10px;
  border-radius: 6px;
  letter-spacing: 0.64px;
  color: var(--black);
}

.header .catalog-menu__item.has-child .catalog-menu__link::after {
  display: block;
  width: 9px;
  height: 16px;
  background: url(../img/icons/arrow-small-right-i.svg) center / cover no-repeat;
  content: '';
}

.header .catalog-menu__link:hover {
  background-color: var(--menu-item-hover);
  cursor: pointer;
}

.header .catalog-menu__item.all-category .catalog-menu__link {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.header .catalog-menu__link:hover {
  color: var(--black);
}

.header .catalog-sub-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: calc(100% - 494px);
  min-height: 100%;
  padding: 24px 20px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: var(--background);
}

.header .catalog-sub-menu.open {
  display: block;
}

.header .catalog-sub-menu__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.header .catalog-sub-menu__columns {
  width: 33.33%;
}

.header .catalog-sub-menu__column {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 10px;
}

.header .catalog-sub-menu__link {
  margin: 0 0 5px 0;
  font-size: 14px;
  line-height: 18px;
  color: var(--accent-hover);
}

.header .catalog-sub-menu__link.top-link {
  margin: 0 0 12px 0;
  font-weight: 500;
}

.header .header__search {
  width: 100%;
  max-width: 702px;
  margin: 0 auto;
}

.header .header__search-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
}

.header .header__form-label {
  width: 100%;
  position: relative;
}

.header .header__form-input {
  width: 100%;
  height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: 8px;
}

.header .header__form-input::-webkit-input-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input::-moz-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input:-ms-input-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input::-ms-input-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input::placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input:hover {
  cursor: pointer;
}

.header .btn-search {
  position: absolute;
  top: 0;
  right: 32px;
  bottom: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.header .header__search-icon {
  width: 19px;
  height: 19px;
}

.header .header__cart {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding: 4.5px 40px;
  border: 2px solid var(--accent);
  border-radius: 20px;
}

.header .header__cart:hover {
  border: 2px solid var(--accent-hover);
  cursor: pointer;
}

.header .header__cart-btn {
  position: relative;
  height: 30px;
}

.header .header__cart-icon {
  width: 30px;
  height: 30px;
}

.header .cart-counter {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  padding: 3px;
  background-color: var(--accent);
  border-radius: 50%;
}

.header .cart-counter__text {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--white);
}

.header .header__cart-amount {
  margin: 0 0 0 24px;
  color: var(--white);
}

.header .h-cart-amount__text {
  font-size: 12px;
}

.header .h-cart-amount__sum {
  font-weight: 500;
}

.header .cart-checkout-popup {
  display: none;
  position: fixed;
  top: 10%;
  right: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  max-width: 995px;
  margin: 0 auto;
}

.header .cart-checkout-popup.open {
  display: block;
}

.header .header__overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  background-color: rgba(8, 18, 54, 0.50);
}

/* ----- Home Page Banner ----- */

.main .banner-home__slider-item {
  width: 100%;
  height: 730px;
}

.main .banner-home__content {
  position: absolute;
  bottom: 72px
}

.main .banner-home__title {
  margin: 0 0 8px 0;
}

.main .banner-home__text {
  font-size: 20px;
  color: var(--white);
}

.main .banner-home .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -28px;
  list-style: none;
}

.main .banner-home .slick-dots li {
  width: 8px;
  height: 8px;
  margin: 0 8px 0 0;
  border-radius: 50%;
  background-color: var(--white);
  cursor: pointer;
}

.main .banner-home .slick-dots li:last-of-type {
  margin: 0;
}

.main .banner-home .slick-dots li.slick-active {
  background-color: var(--accent);
}

.main .banner-home .slick-dots button {
  display: none;
}

.main .banner-home .slick-arrow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1500px;
  width: 100%;
  margin: auto;
}

.main .banner-home .slick-arrow::after {
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.50);
  content: '';
}

.main .banner-home .slick-arrow--next::after {
  right: 0;
  left: auto;
}

.main .slick-arrow__img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 18px;
  z-index: 3;
  width: 14px;
  height: 24px;
  margin: auto 0;
  cursor: pointer;
}

.main .slick-arrow--next .slick-arrow__img {
  right: 18px;
  left: auto;
}

.main .section.section--main {
  margin: 70px 0;
}

/* ----- Products Card Styles ----- */

.main .products--new {
  margin: 30px 0 0 0;
}

.main .products {
  margin: 40px 0 0 0;
}

.main .products__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  margin: 24px 0 40px 0;
}

.card {
  position: relative;
  width: 100%;
  max-width: 350px;
}

.card .card__inner {
  padding: 16px 16px 24px 16px;
  border: 1px solid var(--white);
  border-radius: 8px;
  background-color: var(--white);
}

.card.card--list-item .card__inner {
  display: flex;
  flex-direction: row;
  gap: 20px 0;
  padding: 24px;
}

.card .card__inner:hover {
  border: 1px solid var(--accent);
  background-color: var(--white);
  box-shadow: 0px 0px 20px 0px rgba(180, 176, 224, 0.75);
}

.card .card__photo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  max-width: 252px;
  height: 190px;
  margin: 0 auto 18px auto;
}

.card .card__photo img {
  width: 100%;
  max-width: 252px;
  height: 190px;
  -o-object-fit: cover;
  object-fit: cover;
}

.card.card--list-item .card__photo {
  max-width: 120px;
  height: 120px;
  margin: auto 0;
}

.card.card--list-item .card__photo img {
  max-width: 120px;
  height: 120px;
}

.card.card--list-item .card__content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 530px;
  margin: 0 20px 0 32px;
}

.card.card--list-item .card__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.card.card--list-item .card__brand-img {
  width: 65px;
  height: 100%;
  margin: 0 12px 0 0;
}

.card.card--list-item .card__brand-img img {
  width: 65px;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.card .card__part-code {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}

.card .card__sku {
  margin: 4px 0 0 0;
  font-size: 12px;
  line-height: 14px;
  font-style: italic;
  color: var(--accent);
}

.card .card__availability {
  display: inline-block;
  margin: 4px 0 0 0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.48px;
  color: var(--white);
}

.card .card__availability.in-stock {
  background-color: var(--light-green);
}

.card .card__availability.more-one-day {
  color: var(--black);
  background-color: var(--yellow);
}

.card .card__availability.to-order {
  background-color: var(--red);
}

.card .card__name {
  margin: 12px 0 0 0;
}

.card.card.card--list-item .card__name {
  margin: 16px 0 0 0;
}

.card .card__link {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
  color: var(--black);
}

.card.card--list-item .card__link {
  font-size: 14px;
  line-height: 17px;
}

.card .card__table-availability {
  width: 100%;
  max-width: 350px;
  margin: 0;
}

.card .card__table-availability table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin: -8px 0 0 0;
}

.card .card__table-availability tbody tr {
  position: relative;
  background-color: var(--background);
}

.card .card__table-availability tbody tr:hover {
  border-radius: 4px;
  outline: 1px solid var(--accent);
  box-shadow: 0px 0px 10px 0px rgba(35, 161, 209, 0.25);
  cursor: pointer;
}

.card .card__table-availability th,
.card .card__table-availability td {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

.card .card__table-availability th {
  padding: 0;
}

.card th.open-all-locations {
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.card .card__table-availability td {
  border-right: 1px solid var(--grey);
}

.card .card__table-availability td:first-child {
  padding: 4px 8px 4px 28px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  text-align: left;
}

.card .card__table-availability .status {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-radius: 50%;
}

.card .status:hover::before {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 16px;
  bottom: 0;
  height: 18px;
  margin: auto;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: pre;
  color: var(--white);
}

.card .in-stock .status:hover::before {
  background-color: var(--in-stock);
  content: 'в наявності';
}

.card .more-one-day .status:hover::before {
  background-color: var(--more-one-day);
  content: '2+ робочих днів';
}

.card .to-order .status:hover::before {
  background-color: var(--to-order);
  content: 'під замовлення';
}

.card .status:hover::after {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 13px;
  width: 3px;
  height: 6px;
  margin: auto;
  background-repeat: no-repeat;
  content: '';
}

.card .in-stock .status:hover::after {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 6'><path d='M3 3L-2.447e-07 5.59808L-1.75687e-08 0.401924L3 3Z.7z' fill='%2304ab0a'/></svg>");
}

.card .more-one-day .status:hover::after {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 6'><path d='M3 3L-2.447e-07 5.59808L-1.75687e-08 0.401924L3 3Z.7z' fill='%23d3ca03'/></svg>");
}

.card .to-order .status:hover::after {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 6'><path d='M3 3L-2.447e-07 5.59808L-1.75687e-08 0.401924L3 3Z.7z' fill='%23d71414'/></svg>");
}

.card .in-stock .status {
  background-color: var(--in-stock);
}

.card .more-one-day .status {
  background-color: var(--more-one-day);
}

.card .to-order .status {
  background-color: var(--to-order);
}

.card .card__table-availability td:last-child {
  border-right: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.card .table-product-info.to-order td {
  color: var(--dark-grey);
}

.card .btn-show-all {
  justify-content: center;
  width: 100%;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 0.52px;
  text-align: center;
}

.card .card__buy-box {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 24px 0 0 0;
}

.card.card--list-item .card__buy-box {
  flex-direction: column;
  margin: 0 0 0 auto;
}

.card .card__price {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  margin: auto 0 0 0;
}

.card .card__price-discount {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.card .card__price-value {
  font-size: 12px;
  line-height: 100%;
  text-decoration: line-through;
  color: var(--grey);
}

.card .discount {
  margin: 0 0 0 4px;
  padding: 2px 4px;
  border-radius: 12px;
  font-size: 10px;
  line-height: 12px;
  font-weight: 500;
  color: var(--white);
  background-color: var(--light-red);
}

.card .card__price-actual {
  margin: 4px 0 0 0;
  font-size: 24px;
  line-height: 28px;
  color: var(--black);
}

.card.card--list-item .card__price-actual {
  font-weight: 500;
}

.card.card--list-item .card__price-tax,
.card.card--list-item .card__price-no-tax {
  font-size: 14px;
  line-height: 17px;
}

.card.card--list-item .card__price-no-tax {
  color: var(--to-order);
}

.card.card--list-item .card__quantity-counters,
.p-quantity-counters {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: auto 0 8px 0;
}

.card.card--list-item .card__quantity-counter,
.p-quantity-counter {
  padding: 10px;
  cursor: pointer;
}

.card.card--list-item .card__quantity-counter--minus::before,
.p-quantity-counter--minus::before,
.card.card--list-item .card__quantity-counter--plus::before,
.p-quantity-counter--plus::before {
  display: block;
  width: 5px;
  height: 10px;
  content: '';
}

.card.card--list-item .card__quantity-counter--minus::before,
.p-quantity-counter--minus::before {
  background: url(../img/icons/arrow-left-small-grey-i.svg) center / cover no-repeat;
}

.card.card--list-item .card__quantity-counters.active .card__quantity-counter--minus::before,
.p-quantity-counters.active .p-quantity-counter--minus::before {
  background: url(../img/icons/arrow-left-small-i.svg) center / cover no-repeat;
}

.card.card--list-item .card__quantity-counter--plus::before,
.p-quantity-counter--plus::before {
  background: url(../img/icons/arrow-right-small-i.svg) center / cover no-repeat;
}

.card.card--list-item .card__quantity-value,
.p-quantity-counters__value {
  width: 26px;
  height: 26px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  font-size: 14px;
  line-height: 17px;
  background: none;
  text-align: center;
}

.card .card__btn {
  margin: 0 0 0 auto;
  padding: 12px 12px 12px 9px;
}

.card.card--list-item .card__btn {
  margin: 0;
  padding: 12px 24px;
}

.card .card__icon {
  width: 29px;
  height: 26px;
}

.products .link-show-more {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.products .link-show-more::after {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 0 0 16px;
  background: url(../img/icons/arrow-rigth-i.svg) center / contain no-repeat;
  content: '';
}

/* ----- Popup Checkout Cart Styles ----- */

.cart-checkout .cart-checkout__body {
  height: 100%;
  max-height: 530px;
  overflow-x: auto;
  padding: 20px 24px;
  border-radius: 8px;
  background-color: var(--white);
}

.cart-checkout .cart-checkout__body::-webkit-scrollbar {
  width: 6px;
}

.cart-checkout .cart-checkout__body::-webkit-scrollbar-track,
.cart-checkout .cart-checkout__body::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.cart-checkout .cart-checkout__inner {
  padding: 24px;
  border-radius: 4px;
  background-color: var(--background);
}

.cart-checkout .cart-checkout__head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 32px 0;
}

.cart-checkout .cart-checkout__info-text {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.cart-checkout .cart-checkout__info-amount {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.cart-checkout .cart-checkout__bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 24px 0 0 0;
}

.cart-checkout .cart-checkout__totals {
  margin: 0 24px 0 auto;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.cart-checkout .btn-card-close {
  margin: 0 10px 0 0;
  padding: 0;
  background: none;
}

.cart-checkout .card-close-icon {
  width: 14px;
  height: 14px;
}

.cart-checkout .btn-checkout {
  padding: 8px 20px;
  letter-spacing: 0.64px;
}

/* ----- Checkout Page Styles ----- */

.checkout ._collapsed {
  display: none;
}

.checkout .checkout__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 24px 0 80px 0;
}

.checkout .checkout-head {
  width: 100%;
  margin: 0 0 24px 0;
}

.checkout .checkout-head__title {
  position: relative;
}

.checkout .link-back {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 14px;
  line-height: 17px;
  text-decoration: underline;
}

.checkout .checkout-head__location {
  margin: 24px 0 0 0;
}

.checkout .checkout-head__location-code {
  margin: 0 10px 0 24px;
}

.checkout .checkout-steps {
  width: calc(100% - 380px);
  max-width: 1120px;
}

.checkout .checkout-step__inner {
  padding: 20px 24px 32px 24px;
  border-radius: 8px;
  background-color: var(--background-checkout);
}

.checkout .checkout-step__head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.checkout .checkout-step__media {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 24px 0 0;
}

.checkout .checkout-step__img {
  width: 60px;
  height: 60px;
  -o-object-fit: contain;
  object-fit: contain;
}

.checkout .checkout-step__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 24px 0 0 0;
}

.checkout .checkout-step__info {
  margin: 10px 0 0 16px;
  font-size: 14px;
  line-height: 18px;
  color: var(--dark-grey);
}

.checkout .checkout-step,
.checkout .checkout-block {
  margin: 0 0 20px 0;
}

.checkout .checkout-block__inner {
  padding: 20px 24px 32px 24px;
  border-radius: 8px;
  background-color: var(--white);
}

.checkout .checkout-step__title,
.checkout .checkout-block__title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  color: var(--accent-two);
}

.checkout .checkout-step__title {
  color: var(--dark-grey);
}

.checkout .checkout-step__title::before,
.checkout .checkout-block__title::before {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 10px 0 0;
  background: url(../img/icons/orders-red-i.svg) center / cover no-repeat;
  content: '';
}

.checkout .checkout-step__title::before {
  background: url(../img/icons/orders-grey-i.svg) center / cover no-repeat;
}

.checkout-step--contacts .checkout-step__title::before {
  background: url(../img/icons/profile-grey-i.svg) center / cover no-repeat;
}

.checkout-step--shipping .checkout-step__title::before {
  background: url(../img/icons/delivery-grey-i.svg) center / cover no-repeat;
}

.checkout-step--payments .checkout-step__title::before {
  background: url(../img/icons/credit-card-grey-i.svg) center / cover no-repeat;
}

.checkout-block--contacts .checkout-block__title::before {
  background: url(../img/icons/profile-red-i.svg) center / cover no-repeat;
}

.checkout-block--shipping .checkout-block__title::before {
  background: url(../img/icons/delivery-red-i.svg) center / cover no-repeat;
}

.checkout-block--payments .checkout-block__title::before {
  background: url(../img/icons/credit-card-red-i.svg) center / cover no-repeat;
}

.checkout .checkout-block__main {
  margin: 40px 0;
}

.checkout .contact-step-info,
.checkout .checkout-contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
}

.checkout .sign-up {
  font-size: 14px;
  line-height: 17px;
}

.checkout .contact-step-info__avatar,
.checkout .checkout-contact__avatar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  border-radius: 50%;
  color: var(--white);
  background-color: var(--dark-grey);
}

.checkout .checkout-contact__avatar {
  background-color: var(--black-grey);
}

.checkout .contact-details,
.checkout .shipping-details,
.checkout .payment-details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  margin: 0 0 0 10px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: var(--dark-grey);
}

.checkout .shipping-details,
.checkout .payment-details {
  margin: 0 0 0 40px;
}

.checkout .checkout-contact__details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 15px;
  margin: 0 0 0 10px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: var(--black);
}

.checkout .checkout-contact__email,
.checkout .checkout-contact__phone {
  text-decoration: underline;
}

.checkout .contact-details__company {
  margin: 14px 0 0 0;
}

.checkout .checkbox {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 40px 0 0 0;
  font-size: 14px;
  line-height: 17px;
}

.checkout .account-customer-fields--second {
  display: none;
}

.checkout .account-customer-fields--second.show {
  display: block;
}

.checkout .account-customer-fields__wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 820px;
  margin: 20px 0 0 0;
}

.checkout .customer-field {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  position: relative;
}

.checkout .customer-field__label {
  margin: 0 0 8px 0;
  font-size: 12px;
  line-height: 15px;
}

.checkout .customer-field__input {
  width: 100%;
  max-width: 400px;
  height: 52px;
  padding: 12px 36px 12px 12px;
  border: 1px solid var(--dark-grey);
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.checkout .delivery-companies {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

.checkout .company-logo {
  width: 100%;
  max-width: 123px;
  height: 40px;
  cursor: pointer;
}

.checkout .company-logo--nova-post {
  max-width: 102px;
  background: url(../img/nova-post-logo.png) center / contain no-repeat;
}

.checkout .company-logo--nova-post:hover {
  background: url(../img/nova-post-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--ukrpost {
  background: url(../img/ukrpost-logo.png) center / contain no-repeat;
}

.checkout .company-logo--ukrpost:hover {
  background: url(../img/ukrpost-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--meest {
  max-width: 88px;
  background: url(../img/meest-logo.png) center / contain no-repeat;
}

.checkout .company-logo--meest:hover {
  max-width: 88px;
  background: url(../img/meest-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--sat {
  max-width: 88px;
  background: url(../img/sat-logo.png) center / contain no-repeat;
}

.checkout .company-logo--sat:hover {
  max-width: 88px;
  background: url(../img/sat-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--del-auto {
  background: url(../img/del-auto-logo.png) center / contain no-repeat;
}

.checkout .company-logo--del-auto:hover {
  background: url(../img/del-auto-logo-color.png) center / contain no-repeat;
}

.checkout .checkout-payment-info,
.user-profile .user-payment-info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  font-size: 14px;
  line-height: 17px;
}

.checkout .delivery-methods {
  margin: 40px 0 0 0;
}

.checkout .delivery-methods__info,
.user-profile .delivery-methods__info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  font-size: 14px;
  line-height: 17px;
}

.checkout .delivery-methods__col,
.user-profile .delivery-methods__col {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 12px 0 0 0;
}

.checkout .delivery-methods__col:nth-of-type(2),
.user-profile .delivery-methods__col:nth-of-type(2) {
  margin: 40px 0 0 0;
}

.checkout .custom-select,
.user-profile .custom-select {
  width: 100%;
  max-width: 360px;
}

.checkout .custom-select__dropdown,
.user-profile .custom-select__dropdown,
.modal-contact-form .custom-select__dropdown {
  top: 0;
  border: 1px solid var(--grey);
  border-radius: 8px;
}

.checkout .custom-select__input,
.user-profile .custom-select__input {
  height: 40px;
  padding: 0 12px;
  border: none;
}

.checkout .custom-select__option--value,
.user-profile .custom-select__option--value,
.modal-contact-form .custom-select__option--value {
  border: 1px solid var(--grey);
  border-radius: 8px;
}

.checkout .custom-select__option,
.checkout .custom-select__option--value,
.user-profile .custom-select__option,
.user-profile .custom-select__option--value {
  height: 40px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
  background-color: var(--white);
}

.checkout .custom-select__option:hover,
.user-profile .custom-select__option:hover,
.modal-contact-form .custom-select__option:hover {
  background-color: rgba(35, 161, 209, 0.20);
}

.checkout .shipping-price__info,
.user-profile .shipping-price__info,
.user-profile .link-show-map,
.checkout .link-show-map {
  margin: 0 0 0 40px;
  text-align: right;
}

.checkout .checkout-final-step {
  width: 100%;
  max-width: 360px;
}

.checkout .checkout__mini-cart {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 24px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
  background-color: var(--white);
}

.checkout .minicart-totals__title,
.checkout .minicart__total--amount {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.checkout .minicart-totals__wrap {
  margin: 40px 0 0 0;
}

.checkout .minicart__total {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 0 0;
}

.checkout .comment-field {
  display: none;
  margin: 24px 0 0 0;
}

.checkout .comment-field.show {
  display: block;
}

.checkout .comment-field__input {
  position: relative;
  width: 100%;
  height: 100px;
  padding: 12px;
  border: 1px solid var(--dark-grey);
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.checkout .comment-field__input::-webkit-input-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input::-moz-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input:-ms-input-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input::-ms-input-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input::placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .delivery-msg {
  margin: 40px 0 0 0;
}

.checkout .btn-next-step,
.checkout .btn-login,
.checkout .btn-confirm {
  justify-content: center;
  width: 100%;
  max-width: 400px;
  height: 44px;
  margin: 0 0 0 auto;
  padding: 8px 20px;
}

.checkout .btn-login {
  margin: 0 0 8px 0;
}

.checkout .btn-edit,
.user-profile .btn-edit {
  margin: 0 0 0 auto;
  padding: 8px 20px;
}

.checkout .btn-clear {
  position: absolute;
  right: 12px;
  bottom: 18px;
  padding: 0;
}

.checkout .btn-clear-icon {
  width: 16px;
  height: 16px;
}

.checkout .btn-edit__icon,
.user-profile .btn-edit__icon {
  width: 24px;
  height: 24px;
  margin: 0 10px 0 0;
}

.checkout .btn-confirm {
  margin: 40px 0 0 0;
}

/* ----- Order Success Styles ----- */

.order-finished {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.order-finished .order-finished__content {
  width: 100%;
  margin: 32px 0;
  padding: 32px 24px;
  border-radius: 8px;
  background-color: var(--white);
}

.order-finished .order-success-icon {
  width: 80px;
  height: 80px;
}

.order-finished .order-finished__title {
  margin: 24px 0 0 0;
}

.order-finished .order-finished__main {
  margin: 40px 0;
  font-size: 24px;
  line-height: 28px;
}

.order-finished .order-finished__bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 24px;
}

.order-finished .btn {
  justify-content: center;
  width: 100%;
  max-width: 308px;
  padding: 8px 20px;
}

.order-finished .btn.btn-all-order {
  color: var(--accent);
}

/* ----- User Account Styles ----- */

.user-profile {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 24px 0 80px 0;
}

.user-profile .user-profile-navigation {
  width: 100%;
  max-width: 230px;
}

.user-profile .user-profile-navigation__wrap {
  padding: 20px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
  background-color: var(--white);
}

.user-profile .user-profile-header__inner {
  margin: 0 0 20px 0;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  background-color: var(--white);
}

.user-profile .user-profile-tabs {
  width: 100%;
}

.user-profile .user-profile-tab {
  margin: 0 0 20px 0;
}

.user-profile .user-profile-tab__inner {
  padding: 16px 20px 32px 20px;
  border-radius: 6px;
  background-color: var(--white);
}

.user-profile .user-profile-tab.close .user-profile-tab__inner {
  padding: 16px 20px;
}

.user-profile .personal-info__details {
  position: relative;
  margin: 0 0 48px 0;
}

.user-profile .personal-info__details::before {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33px;
  height: 33px;
  margin: auto 0;
  background: url(../img/icons/profile-black-i.svg) center / cover no-repeat;
  content: '';
}

.user-profile .personal-info__name {
  margin: 0 0 0 45px;
  font-weight: 500;
}

.user-profile .personal-info__email {
  margin: 0 0 0 45px;
}

.user-profile .user-profile-nav__item {
  display: flex;
  padding: 0 0 24px 0;
}

.user-profile .user-profile-nav__item.active {
  font-weight: 500;
}

.user-profile .user-profile-nav__item--documents {
  border-bottom: 1px solid var(--grey);
}

.user-profile .user-profile-nav__item--exit {
  padding: 24px 0 0 0;
  color: var(--to-order);
}

.user-profile .user-profile-nav__item::before {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 12px 0 0;
  content: '';
}

.user-profile .user-profile-nav__item--order::before {
  background: url(../img/icons/cart-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--branches::before {
  background: url(../img/icons/building-line-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--viewed::before {
  background: url(../img/icons/eye-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--documents::before {
  background: url(../img/icons/checklist-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--exit::before {
  background: url(../img/icons/exit-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-tab__main {
  margin: 32px 0 0 0;
}

.user-profile .tab-month {
  margin: 0 0 20px 0;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}

.user-profile .user-field-items {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.user-profile .user-profile-tab._enabled .user-field-items {
  gap: 20px;
}

.user-profile .user-field-item,
.user-profile .user-field-company {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-tab._enabled .user-field-item {
  flex-direction: column;
  max-width: 400px;
}

.user-profile .user-field-company,
.user-profile .user-field__label {
  padding: 12px 16px;
}

.user-profile .user-profile-tab._enabled .user-field__label {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 12px;
  line-height: 15px;
  color: var(--black);
}

.user-profile .user-field__label {
  width: 100%;
  max-width: 220px;
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field-company {
  display: none;
}

.user-profile .user-field__input {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  background: none;
  border: none;
}

.user-profile .user-profile-tab._enabled .user-field__input {
  padding: 12px;
  border: 1px solid var(--grey);
  border-radius: 6px;
}

.user-profile .user-profile-tab._disabled .delivery-methods__info,
.user-profile .user-profile-tab._disabled .user-payment-info {
  display: none;
}

.user-profile .user-delivery__info,
.user-profile .user-payment__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 14px;
  line-height: 16px;
}

.user-profile .user-profile-tab._enabled .user-delivery__info,
.user-profile .user-profile-tab._enabled .user-payment__info {
  display: none;
}

.user-profile .user-delivery__info-label,
.user-profile .user-payment__info-label {
  padding: 12px 0;
  color: var(--dark-grey);
}

.user-profile .user-delivery__info-details,
.user-profile .user-payment__info-details {
  padding: 12px 16px;
}

.user-profile ._disabled .user-field-items--password {
  display: none;
}

.user-profile .password-visible {
  display: flex;
  position: absolute;
  bottom: 16px;
  right: 12px;
  cursor: pointer;
}

.user-profile .password-visible.show .eye-icon,
.auth-modal .auth-password-visible.show .eye-icon {
  display: none;
}

.user-profile .password-visible.show .eye-icon--slash,
.auth-modal .auth-password-visible.show .eye-icon--slash {
  display: block;
}

.user-profile .eye-icon,
.auth-modal .eye-icon {
  width: 20px;
  height: 20px;
}

.user-profile .eye-icon--slash,
.auth-modal .eye-icon--slash {
  display: none;
}

.user-profile .user-field__input::-webkit-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::-moz-placeholder {
  color: var(--black);
}

.user-profile .user-field__input:-ms-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::-ms-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::-webkit-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::placeholder {
  color: var(--black);
}

.user-profile .user-profile-tab._enabled .user-field__input::-webkit-input-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input::-moz-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input:-ms-input-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input::-ms-input-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input::placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile__payment-value,
.user-profile .user-profile__shipping-value,
.user-profile .user-profile__amount-value {
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-content {
  width: 100%;
}

.user-profile .user-profile-toolbar__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px 0;
}

.user-profile .profile-toolbar-search {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.user-profile .profile-toolbar-search__input {
  width: 100%;
  max-width: 400px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  line-height: 14px;
}

.user-profile .profile-toolbar-search__input::-webkit-input-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input::-moz-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input:-ms-input-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input::-ms-input-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input::placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input:hover {
  cursor: pointer;
}

.user-profile .btn-search {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  padding: 0;
}

.user-profile .search-icon {
  width: 19px;
  height: 19px;
}

.user-profile .user-profile-toolbar .custom-select {
  width: 100%;
  max-width: 400px;
}

.user-profile .user-profile-toolbar .custom-select__option--value {
  border: 1px solid transparent;
}

.user-profile .user-profile-tab__header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.user-profile .user-profile-tab__header::before {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background: url('../img/icons/arrow-top-i.svg');
  content: '';
}

.user-profile .user-profile-tab.close .user-profile-tab__header::before {
  background: url('../img/icons/arrow-bottom-i.svg');
}

.user-profile .user-profile-order__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 0 0 32px;
}

.user-profile .user-profile-order__number {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.user-profile .user-profile-order__details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 0 24px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.user-profile .user-profile-order__status {
  font-weight: 500;
}

.user-profile .user-profile-order__status.finished {
  color: var(--in-stock);
}

.user-profile .user-profile-order__status.in-the-way {
  color: var(--more-one-day);
}

.user-profile .user-profile-order__status.cancelled {
  color: var(--to-order);
}

.user-profile .user-profile-order__sum {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 8px;
}

.user-profile .user-profile-order__sum-label {
  font-size: 12px;
  line-height: 14px;
  color: var(--dark-grey);
}

.user-profile .user-profile-order__sum-value {
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-order__sum-value span {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab__content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 60px;
  margin: 60px 0 0 0;
}

.user-profile .close .user-profile-tab__content,
.user-profile .close .user-profile-tab__footer {
  display: none;
}

.user-profile .user-profile-tab__content .h4-title {
  color: var(--dark-grey);
}

.user-profile .user-profile-delivery__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 80px;
  margin: 16px 0 0 0;
}

.user-profile .user-profile__delivery-code {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 210px;
  margin: 0 0 auto 0;
  letter-spacing: 0.64px;
}

.user-profile .user-profile__delivery-code .copy-icon {
  width: 16px;
  height: 16px;
}

.user-profile .user-profile__delivery-details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  max-width: 855px;
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-order-details__title {
  margin: 0 0 24px 0;
}

.user-profile .user-profile-documents {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-document {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-profile .user-profile-document::before {
  display: block;
  width: 16px;
  height: 16px;
  background: url(../img/icons/download-i.svg) center / cover no-repeat;
  content: '';
}

.user-profile .user-profile-tab__footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 16px;
  margin: 60px 0 0 0;
}

.user-profile .user-profile-catalog {
  width: 100%;
}

.user-profile .catalog-products {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  margin: 20px 0 0 0;
}

.user-profile .card.card--list-item {
  max-width: 100%;
  margin: 0 0 20px 0;
}

.user-profile .card.card--list-item:last-child {
  margin: 0;
}

.user-profile .user-profile-branches {
  width: 100%;
  max-width: 690px;
}

.user-profile .user-profile-branches__content {
  padding: 32px 60px 60px 60px;
  border-radius: 8px;
  background-color: var(--white);
}

.user-profile .user-profile-branches__head,
.branches-modal .branches-modal__head {
  text-align: center;
}

.user-profile .user-profile-branches__body,
.branches-modal .branches-modal__body {
  margin: 40px 0 0 0;
}

.user-profile .user-profile-branches__sub-title {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.user-profile .user-profile-branches__logo,
.branches-modal .branches-modal__logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 0 0 24px 0;
}

.user-profile .user-profile-branch__logo,
.branches-modal .branch-modal__logo {
  width: 100%;
  max-width: 130px;
  height: 32px;
}

.user-profile .user-profile-branches__info,
.branches-modal .branches-modal__info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 20px;
  margin: 0 0 40px 0;
}

.user-profile .user-profile-branch__location,
.branches-modal .branch-modal__location {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.user-profile .user-profile-branch__code,
.branches-modal .branch-modal__code {
  margin: 0 12px 0 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.user-profile .checkbox--show-branch,
.branches-modal .checkbox--show-branch {
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
}

.user-profile .user-profile-documents-logs__inner {
  padding: 0 0 32px 0;
  border-radius: 6px;
  background-color: var(--white);
}

.user-profile .user-profile-branches-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  background-color: var(--background);
}

.user-profile .user-profile-branches-tab {
  width: 100%;
  max-width: 180px;
  padding: 12px 24px;
  background-color: var(--background-tab);
}

.user-profile .user-profile-branches-tab.current {
  background-color: var(--white);
}

.user-profile .user-profile-branches-tab:first-of-type {
  border-top-left-radius: 6px;
}

.user-profile .user-profile-branches-tab:nth-of-type(2) {
  border-right: 1px solid var(--border-line);
}

.user-profile .user-profile-branches-tab:last-of-type {
  border-top-right-radius: 6px;
}

.user-profile .branches-tab__logo {
  width: 100%;
  max-width: 130px;
  height: 32px;
}

.user-profile .branches-tab__logo--small {
  display: none;
}

.user-profile .user-profile-documents-logs {
  width: 100%;
}

.user-profile .table-debts {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.user-profile .table-debt {
  padding: 16px 20px 16px 32px;
  font-weight: 600;
  opacity: 0.94;
}

.user-profile .table-debt__val {
  margin: 0 0 0 20px;
}

.user-profile .table-debt--overdue .table-debt__val {
  color: var(--to-order);
}

.user-profile .table-document-logs table {
  width: 100%;
  border-collapse: collapse;
}

.user-profile .table-head {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: var(--dark-grey);
}

.user-profile .table-document-logs tr {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 100px 20px 22% 20px 1fr 20px 1fr 20px 1fr 20px 20px;
  grid-template-columns: 100px 22% 1fr 1fr 1fr 20px;
  align-items: center;
  gap: 20px;
  padding: 8px 20px 8px 32px;
  border-bottom: 1px solid var(--grey);
  text-align: left;
}

.user-profile .table-document-logs tbody tr {
  letter-spacing: 0.64px;
}

.user-profile .table-head--sum,
.user-profile .document-sum {
  text-align: right;
}

.user-profile .table-head--print,
.user-profile .document-print {
  width: 20px;
  height: 20px;
}

.user-profile .print-icon::after {
  display: block;
  width: 20px;
  height: 20px;
  background: url(../img/icons/print-i.svg) center / cover no-repeat;
  content: '';
}

.user-profile .btn-save {
  padding: 8px 20px;
  font-size: 16px;
  letter-spacing: 0.64px;
}

.user-profile .user-profile__button {
  margin: 24px 0 0 auto;
  padding: 12px 20px;
}

.user-profile .user-field-buttons {
  margin: 32px 0 0 0;
}

.user-profile .btn-edit {
  margin: 0;
}

.user-profile .user-profile-tab._enabled .btn-edit {
  display: none;
}

.user-profile .user-profile-tab._enabled .btn-save {
  display: flex;
}

.user-profile .user-field-buttons .btn-save {
  display: none;
}

/* ----- Product List Styles ----- */

.products-list .product-list-item {
  list-style: none;
}

.products-list .product-list-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--grey);
}

.products-list .product-list-item:first-child {
  padding: 0 0 16px 0;
}

.products-list .p-item-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.products-list .p-item__media {
  width: 60px;
  height: 60px;
}

.products-list .p-item__photo {
  width: 60px;
  height: 60px;
  -o-object-fit: contain;
  object-fit: contain;
}

.products-list .p-item__details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 490px;
  margin: 0 auto 0 12px;
}

.products-list .p-item__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.products-list .p-item__brand {
  width: 65px;
  height: 32px;
}

.products-list .p-item__brand-img {
  width: 65px;
  height: 32px;
  -o-object-fit: cover;
  object-fit: cover;
}

.products-list .p-item__part-code {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.products-list .p-item__name {
  margin: 12px 0 0 0;
  font-size: 14px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
  color: var(--dark-grey);
}

.products-list .p-item__stock,
.products-list .p-item__cost,
.products-list .p-item__amount {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 76px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: var(--dark-grey);
}

.products-list .p-item__stock-num {
  margin: 8px 0 0 0;
}

.products-list .p-item__cost {
  margin: 0 0 0 24px;
}

.products-list .p-item__amount {
  max-width: 52px;
  margin: 0 24px;
}

.products-list .p-item__cost-num,
.products-list .p-item__amount-num {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.products-list .p-item__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.products-list .p-quantity-counters {
  margin: 0 24px;
}

.products-list .p-item__price {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.products-list .btn-remove {
  margin: 0 12px 0 36px;
  padding: 0;
}

.products-list .remove-icon {
  width: 10px;
  height: 10px;
}

/* ----- Shop Branches Styles ----- */

.shops-branches .shop-branch--empty .shop-branch__info {
  color: var(--dark-grey);
}

.shops-branches .shop-branch--empty .shop-branch__amount,
.shops-branches .shop-branch--empty .p-quantity-counters {
  display: none;
}

.shops-branches .shop-branch--empty .shop-branch__price {
  margin: 0 24px 0 auto;
}

.shops-branches .shop-branch__location {
  max-width: 146px;
}

.shops-branches .shop-branch__price {
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
}

.product__navbar .shops-branches .p-quantity-counters {
  margin: 0 4px;
}

/* ----- Shop Modal Branches Styles ----- */

.modal-shops {
  display: none;
  position: fixed;
  top: 10%;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 5000;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 16px;
  transition: opacity .4s ease;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  background-color: rgba(8, 18, 54, 0.50);
}

.modal-shops .modal-shops__content {
  position: relative;
  width: 100%;
  max-width: 630px;
  height: 100%;
  margin: 0 auto;
  padding: 32px;
  border-radius: 8px;
  background-color: var(--white);
}

.modal-shops .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-shops .modal-close__icon {
  width: 22px;
  height: 22px;
}

.modal-shops .modal-shops-product {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.modal-shops .modal-shops-product__photo {
  width: 160px;
  height: 120px;
  margin: 0 32px 0 0;
}

.modal-shops .modal-shops-product__info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.modal-shops .modal-shops-product__photo img {
  width: 160px;
  height: 120px;
  -o-object-fit: cover;
  object-fit: cover;
}

.modal-shops .modal-shops-product__brand {
  width: 90px;
  height: 45px;
}

.modal-shops .modal-shops-product__brand img {
  width: 90px;
  height: 45px;
  -o-object-fit: cover;
  object-fit: cover;
}

.modal-shops .modal-shops-product__code {
  margin: auto 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.modal-shops .modal-shops-product__name {
  width: 100%;
  letter-spacing: 0.64px;
}

.modal-shops .modal-shop-branch {
  margin: 52px 0 0 0;
}

.modal-shops .modal-shop-branch__logo,
.shops-branches .shop-branch__logo {
  margin: 0 0 24px 0;
}

.modal-shops .modal-shop-branch__logo img,
.shops-branches .shop-branch__logo img {
  width: 100%;
  max-width: 130px;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.modal-shops .modal-shop-branch__info,
.shops-branches .shop-branch__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
}

.modal-shops .modal-shop-branch__info:last-child,
.shops-branches .shop-branch__info:last-child {
  margin: 0;
}

.modal-shops .modal-shop-branch__location-code {
  margin: 0 12px 0 0;
}

.modal-shops .modal-shop-branch__location,
.shops-branches .shop-branch__location {
  width: 100%;
  max-width: 183px;
  margin: 0 12px 0 0;
  font-weight: 400;
}

.modal-shops .modal-shop-branch__amount,
.shops-branches .shop-branch__amount {
  margin: 0 auto 0 0;
}

.modal-shops .modal-shop-branch__price {
  font-size: 20px;
}

.modal-shops .p-quantity-counters,
.shops-branches .p-quantity-counters {
  margin: 0 8px;
}

.modal-shops .shop-branch-btn,
.shops-branches .shop-branch-btn {
  padding: 12px 12px 12px 8px;
  border-radius: 6px;
}

.modal-shops .shop-branch-btn__icon,
.shops-branches .shop-branch-btn__icon {
  width: 24px;
  height: 22px;
}

/* ----- Breadcrumbs Styles ----- */

.breadcrumbs {
  margin: 25px 0 16px 0;
}

.breadcrumbs .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs .breadcrumbs__list-item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 0 12px;
}

.breadcrumbs .breadcrumbs__list-icon {
  width: 16px;
  height: 16px;
}

.breadcrumbs .breadcrumbs__list-item:first-child {
  margin: 0;
}

.breadcrumbs .breadcrumbs__list-item:not(:first-child)::before {
  display: inline-block;
  width: 8px;
  height: 14px;
  margin: 0 12px 0 0;
  background: url('../img/icons/arrow-right-small-grey-i.svg') center / cover no-repeat;
  content: '';
}

.breadcrumbs .breadcrumbs__list-link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 14px;
  line-height: 18px;
  color: var(--dark-grey);
}

.breadcrumbs .breadcrumbs__list-text {
  font-size: 14px;
  line-height: 18px;
  color: var(--dark-grey);
}

/* ----- Shop Categories Styles ----- */

.catalog {
  margin: 24px 0 80px 0;
}

.catalog .catalog-categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 24px 0 0 0;
}

.catalog .catalog-category {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 20%;
  padding: 12px 24px 42px 24px;
  border-bottom: 1px solid var(--catalog-border);
  border-left: 1px solid var(--catalog-border);
  background-color: var(--white);
}

.catalog .catalog-category:first-child,
.catalog .catalog-category:nth-child(6) {
  border-left: none;
}

.catalog .catalog-category:nth-child(5n+12) {
  border-left: none;
}

.catalog .catalog-category__img {
  width: 122px;
  height: 108px;
  margin: 0 auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.catalog .catalog-category__link {
  height: auto;
  min-height: 64px;
  margin: 44px 0 32px;
  letter-spacing: 0.64px;
  color: var(--black);
}

.catalog .catalog__sub-category {
  margin: 0 0 10px 0;
  list-style: none;
}

.catalog .catalog__sub-category:last-child {
  margin: 0;
}

.catalog .catalog-sub-category__link {
  font-size: 14px;
  line-height: 17px;
  color: var(--accent-hover);
}

.catalog .free-delivery {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  margin: 24px 0;
  padding: 16px;
  border-radius: 6px;
  color: var(--white);
  background-color: var(--delivery-banner-backgroud);
}

.catalog .free-delivery__title {
  margin: 0 0 8px 0;
  font-size: 40px;
  line-height: 47px;
}

.catalog .free-delivery__text {
  font-size: 20px;
  line-height: 24px;
}

/* ----- Shop Catalog Products Styles ----- */

.shop-catalog .shop-catalog__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 32px 0 80px 0;
}

.shop-catalog .result-search,
.shop-catalog .shop-catalog__title {
  margin: 0 0 32px 0;
}

.shop-catalog .shop-catalog__toolbar {
  width: 100%;
}

.shop-catalog .m-toolbar-block {
  display: none;
}

.shop-catalog .toolbar-block__inner,
.user-profile-catalog .user-profile-catalog__toolbar {
  width: 100%;
  padding: 10px 20px;
  border-radius: 12px;
  background-color: var(--white);
}

.shop-catalog .shop-catalog__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  margin: 32px 0 0 0;
}

.shop-catalog .shop-catalog__navigation {
  width: 233px;
  margin: 0 20px 0 0;
}

.shop-catalog .catalog-products {
  width: calc(100% - 253px);
}

.sale-products .catalog-products {
  width: 100%;
}

.shop-catalog .products-catalog--grid,
.user-profile .products-catalog--grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  min-height: 120vh;
  margin: 0;
}

.shop-catalog .card.card--list-item {
  max-width: 100%;
  margin: 0 0 20px 0;
}

.sale-products .products-catalog--grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shop-catalog .card.card--list-item:last-child {
  margin: 0;
}

.sale-products .card__table-availability {
  max-width: 100%;
  margin: 0 20px 0 0;
}

/* ----- Toolbar and Filters Products Styles ----- */

.toolbar-block .filter-active {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 15px;
}

.toolbar-block .filter-active__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 19%;
}

.toolbar-block .filter-active__info-text {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
}

.toolbar-block .btn-filters-clear {
  font-size: 12px;
  line-height: 17px;
  font-weight: 500;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.toolbar-block .selected-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 57%;
}

.toolbar-block .select-filter {
  display: flex;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--grey);
  border-radius: 6px;
  font-size: 12px;
  line-height: 14px;
  color: var(--black);
}

.toolbar-block .select-filter::after {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 0 0 2px;
  background: url(../img/icons/close-i.svg) center / cover no-repeat;
  content: '';
}

.toolbar-block .select-filter__value {
  padding: 0 0 0 3px;
}

.toolbar-block .toolbar-controls {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  width: 23%;
  margin: 0 0 0 auto;
}

.toolbar-block .sort-by,
.m-toolbar-block .m-sort-by {
  position: relative;
  z-index: 2;
  width: 100%;
}

.toolbar-block .sort-by__btn,
.m-toolbar-block .m-sort-by__btn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.toolbar-block .sort-by__btn::before,
.m-toolbar-block .m-sort-by__btn::before {
  display: block;
  width: 24px;
  height: 24px;
  background: url(../img/icons/arrows-sort-i.svg) center / cover no-repeat;
  content: '';
}

.toolbar-block .sort-by__btn span,
.m-toolbar-block .m-sort-by__btn span {
  display: inline-block;
  position: relative;
  margin: 0 0 0 20px;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

.toolbar-block .sort-by__content,
.m-toolbar-block .m-sort-by__content {
  display: none;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0px 0px 20px 0px rgba(180, 176, 224, 0.75);
  background-color: var(--white);
}

.toolbar-block .sort-by__content.active,
.m-toolbar-block .m-sort-by__content.active {
  display: block;
}

.toolbar-block .sort-by__item,
.m-toolbar-block .m-sort-by__item {
  padding: 12px 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.toolbar-block .view-mode__items,
.m-toolbar-block .m-view-mode__items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 4px 8px;
}

.toolbar-block .view-mode__item::before,
.m-toolbar-block .m-view-mode__item::before {
  display: block;
  width: 24px;
  height: 24px;
  content: '';
}

.toolbar-block .view-mode__item--list::before,
.m-toolbar-block .m-view-mode__item--list::before {
  margin: 0 12px 0 0;
  background: url(../img/icons/view-mode-grey-list-i.svg) center / cover no-repeat;
}

.toolbar-block .view-mode__item--list.selected::before,
.m-toolbar-block .m-view-mode__item--list.selected::before {
  background: url(../img/icons/view-mode-list-i.svg) center / cover no-repeat;
}

.toolbar-block .view-mode__item--grid::before,
.m-toolbar-block .m-view-mode__item--grid::before {
  background: url(../img/icons/view-mode-grey-grid-i.svg) center / cover no-repeat;
}

.toolbar-block .view-mode__item--grid.selected::before,
.m-toolbar-block .m-view-mode__item--grid.selected::before {
  background: url(../img/icons/view-mode-grid-i.svg) center / cover no-repeat;
}

.filters .filters__content {
  position: relative;
  padding: 0 16px 16px 16px;
  border-radius: 8px;
  background-color: var(--white);
}

.filters .accordion {
  margin: 0 0 52px 0;
  cursor: pointer;
}

.filters .accordion.active {
  margin: 0;
}

.filters .accordion:last-child {
  margin: 0;
}

.filters .accordion.active .filter__title::after {
  transform: rotate(180deg);
}

.filters .filter__title,
.m-filters .m-filter__title {
  position: relative;
  padding: 16px 0;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
}

.filters .filter__title .count,
.m-filters .m-filter__title .count {
  font-weight: 400;
  color: var(--dark-grey);
}

.filters .filter__title::after {
  display: inline-block;
  width: 14px;
  height: 11px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: url(../img/icons/arrow-small-top-blue.svg) center / cover no-repeat;
  content: '';
}

.filters .filter__body {
  overflow: hidden;
  height: auto;
}

.filters .filter__body.close {
  height: 0;
}

.filters .filter__container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 0 0 8px 0;
}

.filters .filter__checkbox-item,
.m-filters .m-filter__checkbox-item {
  display: flex;
  margin: 4px 0 12px 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.filters .filter__checkbox-item::before,
.m-filters .m-filter__checkbox-item::before,
.checkbox .checkbox-item::before {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
  border-radius: 4px;
  background: url(../img/icons/checkbox-border-i.svg) center / cover no-repeat;
  content: ''
}

.filters .filter__checkbox-item:hover:before,
.checkbox .checkbox-item:hover::before {
  background: url(../img/icons/checkbox-hover-i.svg) center / cover no-repeat;
}

.filters .filter__checkbox-item.selected::before,
.m-filters .m-filter__checkbox-item.selected::before,
.checkbox .checkbox-item.selected::before {
  background: url(../img/icons/checkbox-checked-i.svg) center / cover no-repeat;
}

.filters .show-more-btn {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: var(--accent);
}

.filters .range-filter-form,
.m-filters .m-range-filter-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
}

.filters .range-filter__value input,
.m-filters .m-range-filter__value input {
  width: 100%;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  text-align: center;
  background-color: var(--white);
}

.irs--round .irs-bar {
  height: 2px;
  background-color: var(--dark-grey);
}

.irs--round .irs-line {
  height: 2px;
  background-color: var(--grey);
}

.irs--round .irs-handle {
  background-color: var(--accent);
  border-color: var(--accent);
}

.irs--round .irs-handle.state_hover,
.irs--round .irs-handle:hover {
  background-color: var(--accent);
}

.irs--round .irs-handle {
  width: 12px;
  height: 12px;
  top: 31px;
  border: none;
  border-radius: 50%;
  box-shadow: none;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before,
.irs--round .irs-min,
.irs--round .irs-max,
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
  display: none;
}

.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pagination .pagination__load-more {
  margin: 76px 0 44px 0;
}

.pagination .pagination__item {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.pagination .pagination__icon {
  width: 44px;
  height: 44px;
  margin: 0 24px 0 0;
}

.pagination .pagination__link {
  margin: 0 8px 0 0;
  padding: 8px 16px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  color: var(--black);
}

.pagination .pagination__link.current {
  border: 2px solid var(--accent);
  border-radius: 8px;
}

.pagination .pagination__link:last-child {
  margin: 0;
}

.pagination .pagination__link--more {
  display: flex;
  align-items: center;
  padding: 0;
}

/* ----- Single Product Page Styles ----- */

.product-page .product-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 40px 0 100px 0;
}

.product-page .product__boxes {
  width: calc(100% - 485px);
  max-width: 995px;
}

.product-page .product__box {
  margin: 0 0 20px 0;
  padding: 24px 24px 52px 24px;
  border-radius: 4px;
  background-color: var(--white);
}

.product-page .product__box:last-child {
  margin: 0;
}

.product-page .product__navbar {
  width: calc(100% - 965px);
  max-width: 485px;
  margin: 0 0 0 20px;
}

.product-page .shops-branches {
  position: -webkit-sticky;
  position: sticky;
  top: -10%;
  padding: 32px;
  border-radius: 4px;
  background-color: var(--white);
}

.product-page .shops-branches__text {
  letter-spacing: 0.64px;
}

.product-page .shop-branch {
  margin: 32px 0 0 0;
}

.product-page .p-card__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
}

.product-page .p-card__gallery {
  width: 100%;
  max-width: 370px;
}

.product-page .p-card__info {
  width: 100%;
  max-width: 605px;
  padding: 0 0 0 24px;
}

.product-page .p-card__carousel {
  position: relative;
}

.product-page .p-card__carousel img {
  width: 100%;
  height: 250px;
  margin: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.product-page .p-card__slider--single>div:nth-child(1n + 2) {
  display: none;
}

.product-page .p-card__slider--single.slick-initialized>div:nth-child(1n + 2) {
  display: block;
}

.product-page .p-card__slider--single.slick-initialized.slick-slider {
  display: flex;
  position: initial;
}

.product-page .p-card__slider--single .slick-arrow {
  position: absolute;
  bottom: 15px;
  width: 18px;
  height: 30px;
  border: none;
  background: transparent;
  background-repeat: no-repeat;
  cursor: pointer;
}

.product-page .p-card__slider--single .slick-prev.slick-arrow {
  left: 0;
  background: url('../img/icons/arrow-thin-big-prev.svg') center / cover no-repeat;
}

.product-page .p-card__slider--single .slick-next.slick-arrow {
  right: 0;
  background: url('../img/icons/arrow-thin-big-next.svg') center / cover no-repeat;
}

.product-page .p-card__slider--nav.slick-slider {
  width: 100%;
  max-width: 250px;
  height: 60px;
  margin: 24px auto;
}

.product-page .p-card__slider--nav .slick-slide {
  display: flex;
  align-items: center;
  margin: 0 4px;
  padding: 10px 14px;
  border: 1px solid transparent;
  cursor: pointer;
}

.product-page .p-card__slider--nav img {
  width: 100%;
  height: 38px;
}

.product-page .p-card__slider--nav .is-active {
  border: 1px solid var(--black);
  border-radius: 8px;
}

.product-page .p-card__brand-logo {
  width: 75px;
  height: 36px;
  -o-object-fit: cover;
  object-fit: cover;
}

.product-page .p-card__head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.product-page .p-card__maker {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .p-card__maker-title {
  font-size: 14px;
  line-height: 18px;
  margin: 0 12px 0 0;
}

.product-page .p-card__maker-name {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.product-page .p-card__main {
  margin: 32px 0 52px 0;
}

.product-page .p-card__part-code {
  font-size: 36px;
  line-height: 43px;
  font-weight: 500;
}

.product-page .p-card__sku {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 14px;
  font-style: italic;
  color: var(--accent);
}

.product-page .p-card__name {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin: 12px 0 0 0;
  font-size: 24px;
  line-height: 28px;
  white-space: normal;
}

.product-page .p-card__location {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  font-size: 12px;
  line-height: 14px;
  color: var(--dark-grey);
}

.product-page .p-card__location-icon {
  width: 18px;
  height: 18px;
  margin: 0 4px 0 0;
}

.product-page .p-card__location-code {
  margin: 0 5px 0 0;
}

.product-page .p-card__buy-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 0;
  margin: 32px 0 0 0
}

.product-page .p-card__price {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .p-card__price-actual {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.product-page .p-card__price-currency {
  margin: 0 0 0 5px;
}

.product-page .p-card__price-tax,
.product-page .p-card__price-no-tax {
  margin: 0 0 0 16px;
  font-size: 14px;
}

.product-page .p-card__price-no-tax {
  color: var(--to-order);
}

.product-page .p-quantity-counters {
  margin: 0 16px 0 auto;
}

.product-page .p-card__btn {
  padding: 12px 24px;
  border-radius: 6px;
}

.product-page .p-card__icon {
  width: 24px;
  height: 22px;
  margin: 0 16px 0 0;
}

.product-page .p-delivery-options {
  margin: 20px 0 0 0;
  font-size: 14px;
  line-height: 18px;
}

.product-page .delivery-option {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 20px 0;
  list-style: none;
}

.product-page .delivery-option__info-label {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .delivery-option__info-label::before {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 12px 0 0;
  background: url(../img/icons/home-b-i.svg) center / cover no-repeat;
  content: '';
}

.product-page .delivery-option:nth-child(2) .delivery-option__info-label::before {
  background: url(../img/icons/np-i.svg) center / cover no-repeat;
}

.product-page .delivery-option__info-text {
  margin: 12px 0 0 26px;
  color: var(--dark-grey);
}

.product-page .p-delivery__msg,
.checkout .delivery-msg {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  padding: 0 0 0 32px;
  font-size: 12px;
  line-height: 14px;
}

.product-page .p-delivery__msg::before,
.checkout .delivery-msg::before {
  display: block;
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  margin: 0 12px 0 0;
  background: url(../img/icons/note-i.svg) center / cover no-repeat;
  content: '';
}

.product-page .p-payments {
  margin: 40px 0 0 0;
}

.product-page .p-payments__info-text {
  margin: 20px 0 0 0;
  font-size: 14px;
  line-height: 18px;
}

.product-page .p-payments__methods {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin: 12px 0 0 0;
}

.product-page .p-description__content p {
  margin: 0 0 5px 0;
}

.product-page .p-cars-list__title.h3-title {
  margin: 0 0 8px 0;
}

.product-page .p-cars-list__text {
  color: var(--dark-grey);
}

.product-page .p-cars-list__content {
  margin: 24px 0 0 0;
}

.product-page .h3-title {
  margin: 0 0 40px 0;
}

.product-page .p-chcs__table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
}

.product-page .p-chcs__item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .p-chcs__item:nth-child(odd) {
  border-radius: 4px;
  background-color: var(--background-table);
}

.product-page .p-chcs-item__name,
.product-page .p-chcs-item__value {
  width: 50%;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 18px;
}

.product-page .product-popular {
  margin: 72px 0 0 0;
}

.product-page .products__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0 0;
}

.product-page .popular-product__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-page .card:last-child {
  display: none;
}

/* ----- About Us Page Styles ----- */

.about-us {
  margin: 80px 0;
}

.about-us .about-us__contacts {
  padding: 40px 60px 60px 60px;
  border-radius: 6px;
  background-color: var(--white);
}

.about-us .about-us__company-info {
  width: 100%;
  max-width: 975px;
  margin: 0 0 0 auto;
}

.about-us .about-us__contacts-wrap {
  display: flex;
  margin: 40px 0 0 0;
}

.about-us .about-us__contact-info-col {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  position: relative;
  padding: 0 0 40px 64px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.about-us .about-us__contact-info-col::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: url(../img/icons/phone-circle-i.svg) center / cover no-repeat;
  content: '';
}

.about-us .about-us__contact-info-col--schedules::before {
  background: url(../img/icons/clock-circle-i.svg) center / cover no-repeat;
}

.about-us .about-us__contact-info-col--addresses {
  padding: 0 0 0 64px;
}

.about-us .about-us__contact-info-col--addresses::before {
  background: url(../img/icons/marker-circle-i.svg) center / cover no-repeat;
}

.about-us .contact-info-col__phone-text,
.about-us .contact-info-col__title {
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: 0.64px;
}

.about-us .about-us__company-info-text {
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.72px;
}

.about-us .about-us__company-info-text::first-letter {
  padding: 0 0 0 10px;
}

.about-us .about-us-map,
.about-us .about-us-contact-form {
  position: relative;
  width: 100%;
  max-width: 955px;
  margin: 0 auto;
}

.about-us .about-us-map__title {
  margin: 80px 0 0 0;
  text-align: center;
}

.about-us .about-us-map-locations {
  display: none;
  position: absolute;
  top: 130px;
  right: 0;
}

.about-us .about-us-map-location__wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  min-width: 420px;
  max-width: 420px;
  padding: 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
  color: var(--white);
  background-color: var(--header-footer-background);
}

.about-us .about-us-map__location {
  position: relative;
  padding: 0 0 0 28px;
}

.about-us .about-us-map__location::before {
  display: block;
  position: absolute;
  top: 0px;
  left: 0;
  width: 14px;
  height: 16px;
  background: url('../img/icons/marker-blue-i.svg') center / contain no-repeat;
  content: '';
}

.about-us .about-us-map__location-contacts {
  margin: 4px 0 0 0;
}

.about-us .about-us-map svg {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  margin: 80px auto;
  cursor: pointer;
}

.about-us .about-us-map svg path.visible {
  fill: var(--accent-hover);
}

.about-us .about-us-contact-form__inner {
  position: relative;
  padding: 32px 52px;
  border-radius: 6px;
  background-color: var(--header-footer-background);
  color: var(--white);
}

.about-us .contact-field {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 24px 0 0 0;
  gap: 8px 24px;
}

.about-us .contact-field-item::after {
  display: inline-block;
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 100%;
  max-width: 330px;
  height: 240px;
  background: url(../img/image32.png) center / contain no-repeat;
  content: '';
}

.about-us .contact-field__label {
  width: 100%;
  font-size: 12px;
  line-height: 15px;
}

.about-us .contact-field__input {
  width: 100%;
  max-width: 360px;
  height: 52px;
  padding: 12px;
  border: 1px solid var(--dark-grey);
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
}

/* ----- Our Services Page Styles ----- */

.our-services {
  margin: 32px 0 80px 0;
}

.our-services .our-services__info {
  padding: 32px 0 0 0;
}

.our-services .our-services__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 80px 0;
}

.our-services .our-service__item {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  height: 360px;
  padding: 32px 16px;
  border-radius: 6px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(266deg, #2B516E 7.49%, #1D91E8 76.44%);
}

.our-services .our-service__item img {
  width: 100%;
  max-width: 240px;
  height: 240px;
  -o-object-fit: contain;
  object-fit: contain;
}

.our-services .our-services__contacts {
  position: relative;
  margin: 20px 0 40px 0;
  padding: 0 0 0 25px;
}

.our-services .our-services__contacts::before {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 16px;
  background: url(../img/icons/marker-i.svg) center / contain no-repeat;
  content: '';
}

.our-services .our-services__contact-location {
  margin: 0 0 4px 0;
  font-size: 14px;
  line-height: 17px;
}

.our-services .btn-sign-up {
  padding: 8px 20px;
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  letter-spacing: 0.64px;
}

.modal-contact-form {
  display: none;
  position: fixed;
  top: 40%;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 10;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  overflow-x: hidden;
  overflow-y: auto;
  transition: opacity .4s ease;
}

.modal-contact-form .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-contact-form .modal-close__icon {
  width: 16px;
  height: 16px;
}

.modal-contact-form .modal-contact-form__title {
  font-weight: 400;
  text-align: center;
}

.modal-contact-form .modal-contact-form__content {
  position: relative;
  padding: 32px 52px;
  border-radius: 6px;
  background-color: var(--white);
}

.modal-contact-form .modal-contacts-fields {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 24px 1fr 24px 135px;
  grid-template-columns: 1fr 1fr 135px;
  align-items: flex-end;
  gap: 24px;
}

.modal-contact-form .modal-contact-field__label {
  font-size: 12px;
  line-height: 15px;
}

.modal-contact-form .modal-contact-field__input {
  width: 100%;
  max-width: 335px;
  height: 52px;
  margin: 8px 0 0 0;
  padding: 12px;
  border: 1px solid var(--grey);
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
}

.modal-contact-form .custom-select {
  width: 100%;
  max-width: 335px;
}

.modal-contact-form .custom-select__input {
  height: 41px;
  padding: 0 12px;
  border: none;
}

.modal-contact-form .custom-select__option--value {
  height: 52px;
}

.modal-contact-form .custom-select__option,
.modal-contact-form .custom-select__option--value {
  padding: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
  background-color: var(--white);
}

.modal-contact-form .btn-send {
  height: 52px;
}

/* ----- Not Found Page Styles ----- */

.not-found {
  margin: 80px 0 160px 0;
}

.not-found .not-found-result {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.not-found .not-found-result__title {
  font-size: 128px;
  line-height: 100%;
}

.not-found .not-found-span {
  color: var(--accent);
}

.not-found .not-found-result__img {
  width: 100%;
  max-width: 755px;
  height: 100%;
}

.not-found .not-found-result__msg {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 38px 0 0 0;
}

.not-found .not-found-result__msg-sub-title {
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.64px;
  color: var(--dark-grey);
}

.not-found .not-found-btn {
  margin: 40px 0 0 0;
}

/* ----- Login and Sign Styles ----- */

.auth-modal,
.branches-modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: fixed;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  overflow-y: auto;
}

.auth-modal .auth-logo {
  width: 100%;
  max-width: 240px;
  height: 45px;
}

.auth-modal .auth-modal__body {
  width: 100%;
  max-width: 520px;
  padding: 60px;
  border-radius: 6px;
  background-color: var(--white);
}

.auth-modal .auth-modal__title {
  text-align: center;
}

.auth-modal .social-icon {
  width: 24px;
  height: 24px;
}

.auth-modal .auth-modal__separators {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 12px auto 12px 1fr;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  line-height: 100%;
  color: var(--grey);
}

.auth-modal .auth-modal__separator {
  width: 100%;
  max-width: 100%;
  margin: 40px 0;
  border: 1px solid var(--grey);
}

.auth-modal .auth-modal__input {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  position: relative;
  margin: 0 0 10px 0;
}

.auth-modal .auth-modal__label {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 12px;
  line-height: 15px;
  color: var(--black);
}

.auth-modal .auth-modal__input-field {
  width: 100%;
  height: 52px;
  padding: 12px;
  border: 1px solid var(--grey);
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
}

.auth-modal .auth-modal__input-field::-webkit-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field::-moz-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field:-ms-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field::-ms-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field::placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-password-visible {
  display: flex;
  position: absolute;
  bottom: 16px;
  right: 12px;
  cursor: pointer;
}

.auth-modal .auth-modal__buttons {
  margin: 40px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}

.auth-modal .btn-social {
  justify-content: center;
  width: 100%;
  gap: 12px;
  margin: 40px 0 0 0;
}

.auth-modal .btn-sign-in,
.auth-modal .btn-sign-up {
  justify-content: center;
  width: 100%;
  height: 44px;
  margin: 0 0 16px 0;
  text-decoration: none;
}

.auth-modal .link-forgot {
  display: flex;
  justify-content: right;
}

.auth-modal .link {
  font-size: 12px;
  line-height: 15px;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

/* ----- Login and Sign Styles ----- */

.branches-modal .link-email {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  text-decoration: underline;
}

.branches-modal hr {
  height: 1px;
  margin: 16px 0;
  border: none;
  background-color: var(--grey);
}

.branches-modal .branches-modal__content {
  width: 100%;
  max-width: 645px;
  padding: 32px 40px 60px 40px;
  border-radius: 8px;
  background-color: var(--white);
}

.branches-modal .branch-modal__sub-title {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.branches-modal .btn-continue {
  margin: 0 auto;
}

/* ----- Footer Styles ----- */

.footer {
  background-color: var(--header-footer-background);
  color: var(--white);
}

.footer .footer__content {
  margin: 80px 0 100px 0;
  font-size: 14px;
  line-height: 17px;
}

.footer .footer__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 10px;
}

.footer .footer__logo {
  margin: 0 0 80px 0;
}

.footer .footer__logo-img {
  width: 100%;
  max-width: 230px;
  height: 43px;
  -o-object-fit: cover;
  object-fit: cover;
}

.footer .footer__col-title {
  margin: 0 0 16px 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--grey);
}

.footer .footer__location {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.footer .footer__location-icon {
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
}

.footer .footer__location-code {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.64px;
}

.footer .footer__location-address {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.56px;
}

.footer .footer__contacts {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 17px;
}

.footer .footer__contact {
  margin: 0 0 4px 0;
}

.footer .footer__contact:last-child {
  margin: 0;
}

.footer .footer__contacts,
.footer .footer__shedule {
  margin: 8px 0 0 0;
}

.footer .footer__our-shop {
  margin: 0 0 12px 0;
}

.footer .footer__menu-item {
  margin: 0 0 12px 0;
  list-style: none;
}

/* ----- All Other Site Styles ----- */

.mt-container {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-template .mt-container {
  padding: 0;
}

.h1-title {
  font-size: 40px;
  line-height: 44px;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
}

.h2-title {
  font-size: 36px;
  line-height: 43px;
  font-weight: 500;
  color: var(--black);
}

.h3-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.h4-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.btn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.64px;
  background: none;
  color: var(--white);
}

.btn:hover {
  cursor: pointer;
}

.btn--blue {
  background-color: var(--accent);
}

.btn--blue:hover {
  background-color: var(--accent-hover);
}

.btn--green {
  background-color: var(--cart-button);
}

.btn--green:hover {
  background-color: var(--cart-button-hover);
}

.btn--transparent {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn--transparent:hover {
  border: 1px solid var(--accent-hover);
  color: var(--accent-hover);
}

.btn--disabled {
  pointer-events: none;
  background-color: var(--dark-grey);
  cursor: not-allowed;
}

.link {
  text-decoration: none;
  color: var(--white);
}

.link:hover {
  color: var(--accent);
}

.link--black {
  color: var(--black);
}

.link--blue {
  color: var(--accent);
}

.list {
  list-style: none;
}

input:focus {
  outline: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: var(--dark-grey);
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent);
}

@media only screen and (max-width: 1500px) {

  /* ----- Header Styles ----- */

  .header .header__search {
    max-width: 408px;
  }

  /* ----- Home Page Banner ----- */

  .main .banner-home__slider-item {
    height: 490px;
  }

  .main .banner-home .slick-arrow {
    max-width: 1200px;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .main .products__list .card:last-child {
    display: none;
  }

  /* ----- Products Card Styles ----- */

  .card.card--list-item .card__content {
    max-width: 230px;
  }

  /* ----- Toolbar and Filters Products Styles ----- */

  .toolbar-block .filter-active__info {
    width: 24%;
  }

  .toolbar-block .selected-filters {
    width: 52%;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .products-catalog--grid,
  .user-profile .products-catalog--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sale-products .products-catalog--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* ----- Single Product Page Styles ----- */

  .product-page .product__boxes {
    width: 100%;
    max-width: 1200px;
  }

  .product-page .product__navbar {
    display: none;
  }

  .product-page .p-card__gallery,
  .product-page .p-card__info {
    max-width: 50%;
  }

  .product-page .p-card__slider--nav.slick-slider {
    max-width: 250px;
  }

  .product-page .products__list .card:last-child {
    display: block;
  }

  /* ----- Shop Categories Styles ----- */

  .catalog .catalog-category {
    width: 25%;
  }

  .catalog .catalog-category:nth-child(6),
  .catalog .catalog-category:nth-child(5n+12) {
    border-left: 1px solid var(--catalog-border);
  }

  .catalog .catalog-category:nth-child(5) {
    border-left: none;
  }

  .catalog .catalog-category:nth-child(4n+10) {
    border-left: none;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__company-info {
    max-width: 595px;
  }

  /* ----- All Other Site Styles ----- */

  .mt-container {
    max-width: 1280px;
  }

}

@media only screen and (max-width: 1024px) {

  /* ----- Header Styles ----- */

  .header .header__top,
  .header .header__catalog {
    display: none;
  }

  .header.header--checkout .header__top,
  .header.header--checkout .header__logo {
    display: block;
    margin: 0;
  }

  .header.header--checkout .header__phone {
    margin: 0;
  }

  .header .m-burger-menu {
    display: block;
    height: 28px;
  }

  .header .burger-icon {
    width: 32px;
    height: 28px;
  }

  .header .header__logo {
    margin: 0 0 0 18px;
  }

  .header .header__logo,
  .header .header__logo-img {
    width: 172px;
    height: 32px;
  }

  .header .header__search {
    max-width: 538px;
  }

  .header .m-header__profile {
    display: block;
    height: 23px;
    margin: 0 24px 0 0;
  }

  .header .m-header__profile-icon {
    width: 24px;
    height: 24px;
  }

  .header .header__cart {
    padding: 0;
    border: none;
  }

  .header .header__cart-amount {
    display: none;
  }

  .header .cart-checkout-popup {
    max-width: 960px;
    padding: 0 40px;
  }

  .header .m-menu {
    display: block;
  }

  .header .m-menu .catalog-menu__link {
    width: 100%;
  }

  .header .m-menu .has-child::after {
    right: 12px;
  }

  .header .m-push__nav {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 12;
    overflow: auto;
    width: 100%;
    max-width: 480px;
    height: 100%;
    padding: 0 0 32px 0;
    background-color: var(--background);
    transition: ease-in-out 0.5s;
  }

  .header .m-push__nav--level {
    top: 67px;
    height: calc(100% - 67px);
  }

  .header .m-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: var(--header-footer-background);
  }

  .header .menu-header__logo,
  .header .menu-header__logo-img {
    width: 230px;
    height: 43px;
  }

  .header .m-menu__content {
    padding: 24px 12px;
  }

  .header .js-open-level {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.64px;
  }

  .header .m-catalog-icon {
    width: 24px;
    height: 24px;
  }

  .header .js-top-push-nav.is-open,
  .header .m-push__nav--level.is-open {
    left: 0;
  }

  .header .m-push__back,
  .header .m-menu-open {
    cursor: pointer;
  }

  .header .m-menu-open,
  .header .m-push__back,
  .header .m-push__nav a {
    transition: background 0.4s ease-in-out;
  }

  .header .m-navbar-navigation {
    margin: 30px 0 0 0;
    padding: 0 8px;
  }

  .header .m-navbar-info__details {
    position: relative;
    margin: 0 0 16px 0;
    padding: 0 0 0 36px;
  }

  .header .m-navbar-info__details::before {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 33px;
    margin: auto 0;
    background: url(../img/icons/profile-black-i.svg) center / cover no-repeat;
    content: '';
  }

  .header .m-navbar-info__name {
    font-weight: 500;
  }

  .header .m-navbar-info__email {
    margin: 4px 0 0 0;
    color: var(--dark-grey);
  }

  .header .m-navbar__item {
    display: flex;
    align-items: center;
    height: 16px;
    margin: 0 0 16px 0;
    line-height: 0;
  }

  .header .m-navbar__item:last-child {
    margin: 0;
  }

  .header .m-navbar__item::before {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 12px 0 0;
    content: '';
  }

  .header .m-navbar__item--order::before {
    background: url(../img/icons/cart-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--branches::before {
    background: url(../img/icons/building-line-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--viewed::before {
    background: url(../img/icons/eye-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--documents::before {
    background: url(../img/icons/checklist-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--exit {
    color: var(--to-order);
  }

  .header .m-navbar__item--exit::before {
    background: url(../img/icons/exit-i.svg) center / cover no-repeat;
  }

  .header .m-header__nav {
    margin: 28px 0;
  }

  .header .m-header__menu-item {
    margin: 0 0 4px 0;
    padding: 8px 0;
    font-weight: 500;
  }

  .header .js-close-level {
    display: flex;
    align-items: center;
    position: relative;
    margin: 24px 0;
    padding: 8px 0 8px 35px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }

  .header .js-close-level::before,
  .m-filters .m-menu-back__btn::before {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 10px;
    height: 16px;
    margin: auto 0;
    background: url(../img/icons/arrow-big-prev.svg) center / contain no-repeat;
    content: '';
  }

  .header .m-menu .catalog-menu__link {
    margin: 0;
    padding: 10px 18px;
  }

  .header .m-menu .catalog-menu__link.has-child::after {
    display: block;
    width: 10px;
    height: 16px;
    background: url(../img/icons/arrow-small-right-i.svg) center / cover no-repeat;
    content: '';
  }

  .header .m-menu .catalog-sub-menu__link {
    margin: 0 0 5px 18px;
  }

  .header .m-menu .all-category .catalog-menu__link {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }

  .header .m-menu li {
    list-style: none;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .main .products__list .card:nth-last-child(2) {
    display: none;
  }

  /* ----- Products Card Styles ----- */

  .card {
    max-width: 100%;
  }

  .card.card--list-item .card__inner {
    flex-wrap: wrap;
  }

  .card.card--list-item .card__content {
    max-width: 100%;
    width: calc(100% - 152px);
    margin: 0 0 0 32px;
  }

  .card .card__table-availability {
    max-width: 80%;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .toolbar-block,
  .shop-catalog .shop-catalog__navigation {
    display: none;
  }

  .shop-catalog .m-toolbar-block {
    display: block;
  }

  .shop-catalog .catalog-products {
    width: 100%;
  }

  .sale-products .products-catalog--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* ----- Toolbar and Filters Products Styles ----- */

  .m-toolbar-block .m-toolbar-block__inner {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.64px;
  }

  .m-toolbar-block .m-sort-by__btn {
    justify-content: center;
    padding: 10px 0;
    font-size: 16px;
    line-height: 19px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: var(--white);
  }

  .m-toolbar-block .m-sort-by__content {
    border-top-right-radius: 0px;
  }

  .m-toolbar-block .m-filters__btn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: var(--white);
    background-color: var(--accent);
  }

  .m-toolbar-block .m-filters__btn span {
    margin: 0 0 0 20px;
  }

  .m-toolbar-block .m-filters__btn::before {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../img/icons/filter-i.svg) center / cover no-repeat;
    content: '';
  }

  .m-toolbar-block .m-view-mode {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / span 2;
    margin: 30px 0 0 auto;
  }

  .m-toolbar-block .m-view-mode__items {
    border-radius: 6px;
    background-color: var(--white);
  }

  .m-filter .push-content {
    position: fixed;
    top: 80px;
    z-index: 100;
    width: 100%;
    max-width: 520px;
    left: -100%;
    height: calc(100% - 80px);
    overflow: hidden;
    transition: ease-in-out 0.5s;
    background-color: var(--background);
  }

  .m-filter .push-content.is-visible {
    left: 0
  }

  .m-filter .m-menu-back__btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 12px 12px 12px 32px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
  }

  .m-filter .m-clear-all-btn {
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    text-decoration: underline;
    color: var(--accent);
  }

  .m-filter .m-clear-all-btn span {
    margin: 0 0 0 5px;
  }

  .m-filter .m-filter-container {
    padding: 24px 16px;
  }

  .m-filter .m-filter-menu {
    padding: 8px 0;
    position: relative;
  }

  .m-filter .m-filter-menu::after {
    display: inline-block;
    position: absolute;
    top: 0;
    right: -2px;
    bottom: 0;
    width: 14px;
    height: 10px;
    margin: auto;
    transform: rotate(90deg);
    background: url('../img/icons/arrow-small-top-blue.svg') center / cover no-repeat;
    content: '';
  }

  .m-filters .m-range-filter-form {
    font-size: 16px;
    line-height: 19px;
  }

  .m-filter .m-filter__title {
    font-size: 16px;
    line-height: 19px;
    text-align: left;
  }

  .m-filter .m-filter-menu__title {
    display: flex;
    justify-content: space-between;
    align-content: center;
    font-size: 16px;
  }

  .m-filter .m-filter-selected {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px;
    font-size: 14px;
    text-align: left;
  }

  .m-filter .m-filter-count {
    margin: 0 auto 0 0;
    padding: 0 0 0 5px;
    color: var(--dark-grey);
  }

  .irs--round .irs-handle {
    top: 25px;
    width: 24px;
    height: 24px;
  }

  .irs--round {
    height: 60px;
  }

  /* ----- Single Product Page Styles ----- */

  .product-page .p-card__gallery {
    max-width: 330px;
  }

  .product-page .p-card__info {
    max-width: 100%;
  }

  .product-page .p-card__buy-box {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .product-page .p-quantity-counters {
    margin: 0 16px 0 0;
  }

  /* ----- Checkout Page Styles ----- */

  .checkout .checkout-steps,
  .checkout .checkout-final-step {
    width: 100%;
    max-width: 100%;
  }

  .checkout .btn-login,
  .checkout .btn-next-step {
    max-width: 145px;
  }

  .checkout .btn-next-step {
    margin: 0 auto;
  }

  .checkout .btn-confirm {
    max-width: 250px;
    margin: 40px auto 0 auto;
  }

  /* ----- User Account Styles ----- */

  .user-profile .user-profile-navigation {
    display: none;
  }

  .user-profile .user-profile-branches {
    max-width: 100%;
  }

  .user-profile .user-profile-branches .btn-save {
    margin: 0 auto;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__contacts {
    padding: 40px 40px 60px 40px;
  }

  .about-us .about-us__company-info {
    max-width: 390px;
  }

  /* ----- Our Services Page Styles ----- */

  .our-services .our-services__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modal-contact-form .modal-contact-form {
    max-width: 960px;
  }

  /* ----- All Other Site Styles ----- */

  .header .mt-container {
    max-width: 1014px;
    padding: 0 24px;
  }

  .mt-container {
    max-width: 960px;
  }

  ::-webkit-scrollbar {
    width: 5px;
  }

}

@media only screen and (max-width: 960px) {

  /* ----- Header Styles ----- */

  .header .header__logo {
    display: none;
  }

  .header .m-header__logo {
    margin: 0 0 0 18px;
  }

  .header .m-header__logo,
  .header .m-header__logo-img {
    display: block;
    width: 68px;
    height: 32px;
  }

  .header .cart-checkout-popup {
    padding: 0 20px;
  }

  /* ----- Product List Styles ----- */

  .products-list .p-item__details {
    max-width: 260px;
  }

  .products-list .p-quantity-counters,
  .products-list .btn-remove {
    margin: 0 12px;
  }

}

@media only screen and (max-width: 820px) {

  /* ----- Header Styles ----- */

  .header .header__search {
    max-width: 450px;
  }

  .header .cart-checkout-popup {
    padding: 0 5px;
  }

  /* ----- Home Page Banner ----- */

  .main .banner-home__slider-item {
    height: 290px;
  }

  .main .banner-home__content {
    bottom: 42px;
  }

  .main .banner-home__text {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main .products__list .card:nth-last-child(3) {
    display: none;
  }

  /* ----- Shop Categories Styles ----- */

  .catalog .catalog-category {
    width: 33.33%;
  }

  .catalog .catalog-category:nth-child(5),
  .catalog .catalog-category:nth-child(4n+10) {
    border-left: 1px solid var(--catalog-border);
  }

  .catalog .catalog-category:nth-child(4),
  .catalog .catalog-category:nth-child(3n+8) {
    border-left: none;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .products-catalog--grid,
  .user-profile .products-catalog--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ----- User Account Styles ----- */

  .user-profile .table-debt {
    padding: 16px 8px;
  }

  .user-profile .table-document-logs tr {
    gap: 8px;
    padding: 8px;
    -ms-grid-columns: 100px 8px 26% 8px 1fr 8px 1fr 8px 1fr;
    grid-template-columns: 100px 26% 1fr 1fr 1fr;
  }

  .user-profile .table-head--print,
  .user-profile .document-print {
    display: none;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__contacts-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .about-us .about-us__company-info {
    max-width: 100%;
  }

  .about-us .contact-field__input {
    justify-content: space-between;
    max-width: 420px;
  }

  .about-us .contact-field-item::after {
    display: none;
  }

  /* ----- Our Services Page Styles ----- */

  .our-services .our-services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-contact-form .modal-contacts-fields {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }

  .modal-contact-form .modal-contact-field {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 24px 0 0 0;
  }

  .modal-contact-form .modal-contact-field__input,
  .modal-contact-form .custom-select {
    max-width: 100%;
  }

  .modal-contact-form .btn-send {
    justify-content: center;
  }

  /* ----- Footer Styles ----- */

  .footer .footer__row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 0;
  }

  .footer .footer__col {
    width: 100%;
  }

  /* ----- All Other Site Styles ----- */

  .h1-title {
    font-size: 24px;
    line-height: 28px;
  }

}


@media only screen and (max-width: 460px) {

  /* ----- Header Styles ----- */

  .header .m-header__logo,
  .header .m-header__profile {
    margin: 0 10px;
  }

  .header .header__form-input {
    padding: 0 8px;
  }

  .header .btn-search {
    right: 8px;
  }

  .header .m-menu .catalog-menu__link {
    padding: 10px;
    font-size: 14px;
    line-height: 17px;
  }

  .header .js-close-level {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .card.card--list-item .card__inner {
    justify-content: center;
    gap: 12px 0;
    padding: 20px 12px;
  }

  .card.card--list-item .card__content {
    align-items: center;
    width: 100%;
    margin: 0;
  }

  .card .card__table-availability {
    max-width: 100%;
    margin: 0;
  }

  .card.card--list-item .card__buy-box {
    flex-direction: row;
    gap: 10px;
    margin: 0 auto;
  }

  .card.card--list-item .card__price,
  .card.card--list-item .card__quantity-counters {
    margin: 0;
  }

  /* ----- Shop Categories Styles ----- */

  .catalog .catalog-category {
    width: 50%;
    padding: 12px 12px 42px 12px;
  }

  .catalog .catalog-category:nth-child(4),
  .catalog .catalog-category:nth-child(3n+8) {
    border-left: 1px solid var(--catalog-border);
  }

  .catalog .catalog-category:nth-child(3),
  .catalog .catalog-category:nth-child(2n+6) {
    border-left: none;
  }

  .catalog .free-delivery__title {
    font-size: 24px;
    line-height: 28px;
  }

  .catalog .free-delivery__text {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Toolbar and Filters Products Styles ----- */

  .m-toolbar-block .m-toolbar-block__inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    font-size: 14px;
    line-height: 17px;
  }

  .m-toolbar-block .m-filters {
    width: 100%;
  }

  .m-toolbar-block .m-sort-by__btn,
  .m-toolbar-block .m-filters__btn {
    border-radius: 8px;
  }

  .m-toolbar-block .m-sort-by__btn span,
  .m-toolbar-block .m-filters__btn span {
    margin: 0 0 0 10px;
  }

  .m-toolbar-block .m-view-mode {
    margin: 0;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .products-catalog--grid,
  .user-profile .products-catalog--grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .pagination .pagination__link {
    margin: 0 2px 0 0;
    padding: 8px 12px;
  }

  /* ----- Shop Modal Branches Styles ----- */

  .modal-shops .modal-shops-product__photo {
    margin: 0 20px 0 0;
  }

  .modal-shops .modal-shops-product__photo img {
    width: 130px;
    height: 100px;
  }

  .modal-shops .modal-shops-product__name {
    font-size: 14px;
    line-height: 17px;
    letter-spacing: normal;
  }

  .modal-shops .modal-shop-branch__info,
  .shops-branches .shop-branch__info {
    flex-wrap: wrap;
    gap: 5px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px solid var(--grey);
  }

  .modal-shops .modal-shop-branch__location-code {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .modal-shops .modal-shop-branch__location,
  .shops-branches .shop-branch__location {
    max-width: 100%;
    margin: 0;
    text-align: center;
  }

  .modal-shops .modal-shop-branch__price {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Products Card Styles ----- */

  .cart-checkout .cart-checkout__inner {
    padding: 24px 12px;
  }

  .cart-checkout .cart-checkout__body {
    padding: 20px 10px;
  }

  .products-list .p-item-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 0;
    position: relative;
  }

  .products-list .p-item__details {
    max-width: 230px;
  }

  .cart-checkout .cart-checkout__bottom {
    flex-direction: column;
    gap: 24px;
  }

  .cart-checkout .btn-order.btn-checkout {
    justify-content: center;
    width: 100%;
  }

  .cart-checkout .btn-continue.btn-checkout {
    display: none;
  }

  /* ----- Checkout Page Styles ----- */

  .checkout .checkout-head__title {
    margin: 32px 0 0 0;
  }

  .checkout .link-back {
    top: -32px;
  }

  .checkout .checkout-head__location span {
    display: block;
  }

  .checkout .checkout-head__location-code {
    margin: 0 5px 0 0;
  }

  .checkout span.checkout-head__location-code,
  .checkout span.checkout-head__location-city {
    display: inline;
  }

  .checkout .checkout-step__content {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px 0;
  }

  .checkout .account-customer-fields__wrap {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .checkout .delivery-methods__col,
  .user-profile .delivery-methods__col {
    flex-wrap: wrap;
    gap: 16px;
  }

  .checkout .shipping-price__info,
  .user-profile .shipping-price__info,
  .user-profile .link-show-map,
  .checkout .link-show-map {
    margin: 0;
  }

  .checkout .btn-edit {
    margin: 0 auto;
  }

  /* ----- Single Product Page Styles ----- */

  .product-page .product__box {
    padding: 24px 12px 52px 12px;
  }

  .product-page .p-card__content {
    flex-wrap: wrap;
  }

  .product-page .p-card__gallery {
    max-width: 100%;
  }

  .product-page .p-card__info {
    padding: 0;
  }

  .product-page .delivery-option {
    flex-wrap: wrap;
  }

  .product-page .delivery-option__payment {
    margin: 12px 0 0 26px;
  }

  /* ----- Order Success Styles ----- */

  .order-finished .order-finished__bottom {
    flex-wrap: wrap;
  }

  /* ----- User Account Styles ----- */

  .user-profile .user-delivery__info,
  .user-profile .user-payment__info {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .user-profile .user-field-company,
  .user-profile .user-field__label,
  .user-profile .user-delivery__info-details,
  .user-profile .user-payment__info-details {
    padding: 12px 0;
  }

  .user-profile .user-profile-toolbar__inner {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .user-profile .user-profile-tab__header {
    align-items: flex-end;
  }

  .user-profile .user-profile-tab__inner {
    padding: 16px 16px 32px 16px;
  }

  .user-profile .user-profile-tab.close .user-profile-tab__inner {
    padding: 16px;
  }

  .user-profile .user-profile-order__info,
  .user-profile .user-profile-delivery__info {
    flex-direction: column;
    gap: 24px;
  }

  .user-profile .user-profile-order__details {
    margin: 0;
  }

  .user-profile .user-profile-delivery-address {
    margin: 12px 0 0 0;
  }

  .user-profile .user-profile-tab__footer {
    flex-direction: column;
  }

  .user-profile .user-profile-tab__footer .btn {
    justify-content: center;
  }

  .user-profile .user-profile-branches__content {
    padding: 32px 16px 60px 16px;
  }

  .user-profile .user-profile-branches__logo,
  .branches-modal .branches-modal__logo {
    flex-wrap: wrap;
  }

  .user-profile .user-profile-branch__location,
  .branches-modal .branch-modal__location {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .user-profile .user-profile-branch__code,
  .branches-modal .branch-modal__code {
    margin: 0;
  }

  .user-profile .checkbox--show-branch,
  .branches-modal .checkbox--show-branch {
    justify-content: center;
    width: 100%;
    font-size: 14px;
    line-height: 17px;
  }

  .user-profile .branches-tab__logo {
    display: none;
  }

  .user-profile .branches-tab__logo--small {
    display: block;
  }

  .user-profile .table-debts {
    font-size: 14px;
    line-height: 17px;
  }

  .user-profile .table-document-logs thead {
    display: none;
  }

  .user-profile .table-document-logs tr {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__contacts {
    padding: 40px 16px 60px 16px;
  }

  .about-us .about-us-map-locations {
    top: 50px;
  }

  .about-us .about-us-map-location__wrap {
    min-width: 0;
    padding: 20px 10px;
  }

  .about-us .about-us-contact-form__inner {
    padding: 32px 16px;
  }

  .about-us .about-us-contact-form .btn-send {
    justify-content: center;
    width: 100%;
    height: 52px;
  }

  /* ----- Our Services Page Styles ----- */

  .our-services .our-services__list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .modal-contact-form {
    padding: 0 24px;
  }

  .modal-contact-form .modal-contact-form__content {
    padding: 32px 16px;
  }

  /* ----- Not Found Page Styles ----- */

  .not-found .not-found-result__msg-sub-title {
    text-align: center;
  }

  /* ----- Login and Sign Styles ----- */

  .auth-modal,
  .branches-modal {
    display: block;
    padding: 0 16px;
  }

  .auth-modal .auth-logo {
    display: flex;
    margin: 40px auto;
  }

  .auth-modal .auth-modal__body {
    padding: 60px 16px;
  }

  .branches-modal .branches-modal__content {
    padding: 32px 16px 60px 16px;
  }

  .user-profile .user-profile-branch__code,
  .branches-modal .branch-modal__code {
    font-size: 16px;
    line-height: 19px;
  }

  .user-profile .branch-modal__name,
  .branches-modal .branch-modal__name {
    font-size: 14px;
    line-height: 17px;
  }

  /* ----- All Other Site Styles ----- */

  .header .mt-container,
  .mt-container {
    padding: 0 16px;
  }

  .h2-title {
    font-size: 30px;
    line-height: 34px;
  }

}:root {
  --accent-hover: #2e5564;
  --accent-two: #d15323;
  --accent: #23a1d1;
  --background-checkout: #f9fbff;
  --background-table: #f2fbff;
  --background-tab: #e9f1ff;
  --background: #f4f7fc;
  --black-grey: #4d4c4c;
  --black: #212121;
  --border-line: #d2e3ff;
  --cart-button-hover: #1f4e24;
  --cart-button: #48a952;
  --catalog-border: #d6d6d6;
  --dark-grey: #818181;
  --delivery-banner-backgroud: #183159;
  --grey: #c1c1c1;
  --header-footer-background: #293638;
  --in-stock: #04ab0a;
  --light-green: #65c569;
  --light-red: #fbbfbb;
  --menu-item-hover: #f4f7fc;
  --more-one-day: #d3ca03;
  --red: #f96464;
  --to-order: #d71414;
  --white: #ffffff;
  --yellow: #f1ea57;
}

* {
  font-family: 'Rubik', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  background-color: var(--background);
}

body.menu-active .header__navigation {
  display: block;
  transition: all 300ms ease-out;
}

body.menu-active .header .btn-catalog {
  background-color: var(--accent-hover);
}

body.menu-active .header .btn-catalog::after {
  display: block;
  position: absolute;
  bottom: -1px;
  z-index: -1;
  width: 100%;
  max-width: 234px;
  height: 55px;
  padding: 10px 10px 14px 10px;
  border-radius: 10px 10px 0px 0px;
  background-color: var(--white);
  content: '';
}

body.menu-active .header__overlay,
body.m-menu-open .header__overlay {
  display: block;
}

body.m-filters-open .header {
  position: fixed;
  width: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper.wrapper--login {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url('../img/banner.png') lightgray 50% / cover no-repeat;
}

/* ----- Header Styles ----- */

.header {
  z-index: 5;
}

.header .header__content {
  background-color: var(--header-footer-background);
}

.header.header--checkout .header__content {
  background-color: var(--white);
}

.header .header__location {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  color: var(--white);
}

.header .header__location-icon {
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
}

.header .header__location-code {
  margin: auto 8px 0 0;
  line-height: 21px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.64px;
}

.header .header__location-city {
  margin: auto 0 0 0;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0.56px;
}

.header .header__top-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.header .header__contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.header .header__s-network-icon {
  width: 32px;
  height: 32px;
}

.header .header__bottom-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  padding: 14px 0;
}

.header .m-menu,
.header .m-burger-menu,
.header .m-header__profile {
  display: none;
}

.header .header__menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.header .header__menu-item {
  list-style-type: none;
}

.header .header__menu-link {
  padding: 8px 12px;
  font-size: 20px;
  font-weight: 500;
}

.header .header__phone {
  margin: 0 32px 0 0;
}

.header .header__phone-link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
}

.header.header--checkout .header__phone-link {
  font-size: 18px;
  line-height: 21px;
  font-weight: 600;
  letter-spacing: 0.72px;
}

.header .header__phone-link::before {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 0 0 4px;
  background-image: url(../img/icons/phone-i.svg);
  background-size: contain;
  background-repeat: no-repeat;
  content: '';
}

.header.header--checkout .header__phone-link::before {
  margin: 0 8px 0 0;
  background-image: url(../img/icons/phone-black-i.svg);
}

.header .header__s-network {
  height: 32px;
  margin: 0 16px 0 0;
}

.header .header__s-network:last-child {
  margin: 0;
}

.header .header__profile-icon {
  width: 20px;
  height: 20px;
  margin: 0 12px 0 0;
}

.header .header__btn-profile {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-weight: 500;
  letter-spacing: 0.64px;
  color: var(--white);
}

.header .header__logo,
.header .header__logo-img {
  width: 230px;
  height: 43px;
}

.header .m-header__logo {
  display: none;
}

.header.header--checkout .header__logo-img {
  max-width: 175px;
  height: 32px;
}

.header .header__catalog {
  z-index: 5;
  width: 100%;
  max-width: 233px;
  margin: 0 0 0 20px;
}

.header .btn-catalog {
  justify-content: center;
  z-index: 2;
  width: 100%;
  padding: 16px 0;
}

.header .header__catalog-icon {
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
}

.header .header__navigation {
  display: none;
}

.header .catalog-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
}

.header .catalog-menu__list {
  width: 100%;
  max-width: 494px;
  padding: 8px 0 16px 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background-color: var(--white);
}

.header .catalog-menu__item {
  padding: 0 8px;
  list-style-type: none;
}

.header .catalog-menu__item:hover>.catalog-sub-menu {
  display: block;
}

.header .catalog-menu__item.all-category {
  margin: 55px 0 0 0;
}

.header .catalog-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 4px 0;
  padding: 6.5px 10px;
  border-radius: 6px;
  letter-spacing: 0.64px;
  color: var(--black);
}

.header .catalog-menu__item.has-child .catalog-menu__link::after {
  display: block;
  width: 9px;
  height: 16px;
  background: url(../img/icons/arrow-small-right-i.svg) center / cover no-repeat;
  content: '';
}

.header .catalog-menu__link:hover {
  background-color: var(--menu-item-hover);
  cursor: pointer;
}

.header .catalog-menu__item.all-category .catalog-menu__link {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.header .catalog-menu__link:hover {
  color: var(--black);
}

.header .catalog-sub-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: calc(100% - 494px);
  min-height: 100%;
  padding: 24px 20px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: var(--background);
}

.header .catalog-sub-menu.open {
  display: block;
}

.header .catalog-sub-menu__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.header .catalog-sub-menu__columns {
  width: 33.33%;
}

.header .catalog-sub-menu__column {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 10px;
}

.header .catalog-sub-menu__link {
  margin: 0 0 5px 0;
  font-size: 14px;
  line-height: 18px;
  color: var(--accent-hover);
}

.header .catalog-sub-menu__link.top-link {
  margin: 0 0 12px 0;
  font-weight: 500;
}

.header .header__search {
  width: 100%;
  max-width: 702px;
  margin: 0 auto;
}

.header .header__search-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
}

.header .header__form-label {
  width: 100%;
  position: relative;
}

.header .header__form-input {
  width: 100%;
  height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: 8px;
}

.header .header__form-input::-webkit-input-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input::-moz-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input:-ms-input-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input::-ms-input-placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input::placeholder {
  font-size: 16px;
  line-height: 17px;
  font-weight: 400;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.header .header__form-input:hover {
  cursor: pointer;
}

.header .btn-search {
  position: absolute;
  top: 0;
  right: 32px;
  bottom: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.header .header__search-icon {
  width: 19px;
  height: 19px;
}

.header .header__cart {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding: 4.5px 40px;
  border: 2px solid var(--accent);
  border-radius: 20px;
}

.header .header__cart:hover {
  border: 2px solid var(--accent-hover);
  cursor: pointer;
}

.header .header__cart-btn {
  position: relative;
  height: 30px;
}

.header .header__cart-icon {
  width: 30px;
  height: 30px;
}

.header .cart-counter {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  padding: 3px;
  background-color: var(--accent);
  border-radius: 50%;
}

.header .cart-counter__text {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--white);
}

.header .header__cart-amount {
  margin: 0 0 0 24px;
  color: var(--white);
}

.header .h-cart-amount__text {
  font-size: 12px;
}

.header .h-cart-amount__sum {
  font-weight: 500;
}

.header .cart-checkout-popup {
  display: none;
  position: fixed;
  top: 10%;
  right: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  max-width: 995px;
  margin: 0 auto;
}

.header .cart-checkout-popup.open {
  display: block;
}

.header .header__overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  background-color: rgba(8, 18, 54, 0.50);
}

/* ----- Home Page Banner ----- */

.main .banner-home__slider-item {
  width: 100%;
  height: 730px;
}

.main .banner-home__content {
  position: absolute;
  bottom: 72px
}

.main .banner-home__title {
  margin: 0 0 8px 0;
}

.main .banner-home__text {
  font-size: 20px;
  color: var(--white);
}

.main .banner-home .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -28px;
  list-style: none;
}

.main .banner-home .slick-dots li {
  width: 8px;
  height: 8px;
  margin: 0 8px 0 0;
  border-radius: 50%;
  background-color: var(--white);
  cursor: pointer;
}

.main .banner-home .slick-dots li:last-of-type {
  margin: 0;
}

.main .banner-home .slick-dots li.slick-active {
  background-color: var(--accent);
}

.main .banner-home .slick-dots button {
  display: none;
}

.main .banner-home .slick-arrow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1500px;
  width: 100%;
  margin: auto;
}

.main .banner-home .slick-arrow::after {
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.50);
  content: '';
}

.main .banner-home .slick-arrow--next::after {
  right: 0;
  left: auto;
}

.main .slick-arrow__img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 18px;
  z-index: 3;
  width: 14px;
  height: 24px;
  margin: auto 0;
  cursor: pointer;
}

.main .slick-arrow--next .slick-arrow__img {
  right: 18px;
  left: auto;
}

.main .section.section--main {
  margin: 70px 0;
}

/* ----- Products Card Styles ----- */

.main .products--new {
  margin: 30px 0 0 0;
}

.main .products {
  margin: 40px 0 0 0;
}

.main .products__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  margin: 24px 0 40px 0;
}

.card {
  position: relative;
  width: 100%;
  max-width: 350px;
}

.card .card__inner {
  padding: 16px 16px 24px 16px;
  border: 1px solid var(--white);
  border-radius: 8px;
  background-color: var(--white);
}

.card.card--list-item .card__inner {
  display: flex;
  flex-direction: row;
  gap: 20px 0;
  padding: 24px;
}

.card .card__inner:hover {
  border: 1px solid var(--accent);
  background-color: var(--white);
  box-shadow: 0px 0px 20px 0px rgba(180, 176, 224, 0.75);
}

.card .card__photo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  max-width: 252px;
  height: 190px;
  margin: 0 auto 18px auto;
}

.card .card__photo img {
  width: 100%;
  max-width: 252px;
  height: 190px;
  -o-object-fit: cover;
  object-fit: cover;
}

.card.card--list-item .card__photo {
  max-width: 120px;
  height: 120px;
  margin: auto 0;
}

.card.card--list-item .card__photo img {
  max-width: 120px;
  height: 120px;
}

.card.card--list-item .card__content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 530px;
  margin: 0 20px 0 32px;
}

.card.card--list-item .card__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.card.card--list-item .card__brand-img {
  width: 65px;
  height: 100%;
  margin: 0 12px 0 0;
}

.card.card--list-item .card__brand-img img {
  width: 65px;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.card .card__part-code {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}

.card .card__sku {
  margin: 4px 0 0 0;
  font-size: 12px;
  line-height: 14px;
  font-style: italic;
  color: var(--accent);
}

.card .card__availability {
  display: inline-block;
  margin: 4px 0 0 0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.48px;
  color: var(--white);
}

.card .card__availability.in-stock {
  background-color: var(--light-green);
}

.card .card__availability.more-one-day {
  color: var(--black);
  background-color: var(--yellow);
}

.card .card__availability.to-order {
  background-color: var(--red);
}

.card .card__name {
  margin: 12px 0 0 0;
}

.card.card.card--list-item .card__name {
  margin: 16px 0 0 0;
}

.card .card__link {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
  color: var(--black);
}

.card.card--list-item .card__link {
  font-size: 14px;
  line-height: 17px;
}

.card .card__table-availability {
  width: 100%;
  max-width: 350px;
  margin: 0;
}

.card .card__table-availability table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin: -8px 0 0 0;
}

.card .card__table-availability tbody tr {
  position: relative;
  background-color: var(--background);
}

.card .card__table-availability tbody tr:hover {
  border-radius: 4px;
  outline: 1px solid var(--accent);
  box-shadow: 0px 0px 10px 0px rgba(35, 161, 209, 0.25);
  cursor: pointer;
}

.card .card__table-availability th,
.card .card__table-availability td {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

.card .card__table-availability th {
  padding: 0;
}

.card th.open-all-locations {
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.card .card__table-availability td {
  border-right: 1px solid var(--grey);
}

.card .card__table-availability td:first-child {
  padding: 4px 8px 4px 28px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  text-align: left;
}

.card .card__table-availability .status {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-radius: 50%;
}

.card .status:hover::before {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 16px;
  bottom: 0;
  height: 18px;
  margin: auto;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: pre;
  color: var(--white);
}

.card .in-stock .status:hover::before {
  background-color: var(--in-stock);
  content: 'в наявності';
}

.card .more-one-day .status:hover::before {
  background-color: var(--more-one-day);
  content: '2+ робочих днів';
}

.card .to-order .status:hover::before {
  background-color: var(--to-order);
  content: 'під замовлення';
}

.card .status:hover::after {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 13px;
  width: 3px;
  height: 6px;
  margin: auto;
  background-repeat: no-repeat;
  content: '';
}

.card .in-stock .status:hover::after {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 6'><path d='M3 3L-2.447e-07 5.59808L-1.75687e-08 0.401924L3 3Z.7z' fill='%2304ab0a'/></svg>");
}

.card .more-one-day .status:hover::after {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 6'><path d='M3 3L-2.447e-07 5.59808L-1.75687e-08 0.401924L3 3Z.7z' fill='%23d3ca03'/></svg>");
}

.card .to-order .status:hover::after {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 6'><path d='M3 3L-2.447e-07 5.59808L-1.75687e-08 0.401924L3 3Z.7z' fill='%23d71414'/></svg>");
}

.card .in-stock .status {
  background-color: var(--in-stock);
}

.card .more-one-day .status {
  background-color: var(--more-one-day);
}

.card .to-order .status {
  background-color: var(--to-order);
}

.card .card__table-availability td:last-child {
  border-right: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.card .table-product-info.to-order td {
  color: var(--dark-grey);
}

.card .btn-show-all {
  justify-content: center;
  width: 100%;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 0.52px;
  text-align: center;
}

.card .card__buy-box {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 24px 0 0 0;
}

.card.card--list-item .card__buy-box {
  flex-direction: column;
  margin: 0 0 0 auto;
}

.card .card__price {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  margin: auto 0 0 0;
}

.card .card__price-discount {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.card .card__price-value {
  font-size: 12px;
  line-height: 100%;
  text-decoration: line-through;
  color: var(--grey);
}

.card .discount {
  margin: 0 0 0 4px;
  padding: 2px 4px;
  border-radius: 12px;
  font-size: 10px;
  line-height: 12px;
  font-weight: 500;
  color: var(--white);
  background-color: var(--light-red);
}

.card .card__price-actual {
  margin: 4px 0 0 0;
  font-size: 24px;
  line-height: 28px;
  color: var(--black);
}

.card.card--list-item .card__price-actual {
  font-weight: 500;
}

.card.card--list-item .card__price-tax,
.card.card--list-item .card__price-no-tax {
  font-size: 14px;
  line-height: 17px;
}

.card.card--list-item .card__price-no-tax {
  color: var(--to-order);
}

.card.card--list-item .card__quantity-counters,
.p-quantity-counters {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: auto 0 8px 0;
}

.card.card--list-item .card__quantity-counter,
.p-quantity-counter {
  padding: 10px;
  cursor: pointer;
}

.card.card--list-item .card__quantity-counter--minus::before,
.p-quantity-counter--minus::before,
.card.card--list-item .card__quantity-counter--plus::before,
.p-quantity-counter--plus::before {
  display: block;
  width: 5px;
  height: 10px;
  content: '';
}

.card.card--list-item .card__quantity-counter--minus::before,
.p-quantity-counter--minus::before {
  background: url(../img/icons/arrow-left-small-grey-i.svg) center / cover no-repeat;
}

.card.card--list-item .card__quantity-counters.active .card__quantity-counter--minus::before,
.p-quantity-counters.active .p-quantity-counter--minus::before {
  background: url(../img/icons/arrow-left-small-i.svg) center / cover no-repeat;
}

.card.card--list-item .card__quantity-counter--plus::before,
.p-quantity-counter--plus::before {
  background: url(../img/icons/arrow-right-small-i.svg) center / cover no-repeat;
}

.card.card--list-item .card__quantity-value,
.p-quantity-counters__value {
  width: 26px;
  height: 26px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  font-size: 14px;
  line-height: 17px;
  background: none;
  text-align: center;
}

.card .card__btn {
  margin: 0 0 0 auto;
  padding: 12px 12px 12px 9px;
}

.card.card--list-item .card__btn {
  margin: 0;
  padding: 12px 24px;
}

.card .card__icon {
  width: 29px;
  height: 26px;
}

.products .link-show-more {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.products .link-show-more::after {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 0 0 16px;
  background: url(../img/icons/arrow-rigth-i.svg) center / contain no-repeat;
  content: '';
}

/* ----- Popup Checkout Cart Styles ----- */

.cart-checkout .cart-checkout__body {
  height: 100%;
  max-height: 530px;
  overflow-x: auto;
  padding: 20px 24px;
  border-radius: 8px;
  background-color: var(--white);
}

.cart-checkout .cart-checkout__body::-webkit-scrollbar {
  width: 6px;
}

.cart-checkout .cart-checkout__body::-webkit-scrollbar-track,
.cart-checkout .cart-checkout__body::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.cart-checkout .cart-checkout__inner {
  padding: 24px;
  border-radius: 4px;
  background-color: var(--background);
}

.cart-checkout .cart-checkout__head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 32px 0;
}

.cart-checkout .cart-checkout__info-text {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.cart-checkout .cart-checkout__info-amount {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.cart-checkout .cart-checkout__bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 24px 0 0 0;
}

.cart-checkout .cart-checkout__totals {
  margin: 0 24px 0 auto;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.cart-checkout .btn-card-close {
  margin: 0 10px 0 0;
  padding: 0;
  background: none;
}

.cart-checkout .card-close-icon {
  width: 14px;
  height: 14px;
}

.cart-checkout .btn-checkout {
  padding: 8px 20px;
  letter-spacing: 0.64px;
  text-decoration: none;
}

/* ----- Checkout Page Styles ----- */

.checkout ._collapsed {
  display: none;
}

.checkout .checkout__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 24px 0 80px 0;
}

.checkout .checkout-head {
  width: 100%;
  margin: 0 0 24px 0;
}

.checkout .checkout-head__title {
  position: relative;
}

.checkout .link-back {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 14px;
  line-height: 17px;
  text-decoration: underline;
}

.checkout .checkout-head__location {
  margin: 24px 0 0 0;
}

.checkout .checkout-head__location-code {
  margin: 0 10px 0 24px;
}

.checkout .checkout-steps {
  width: calc(100% - 380px);
  max-width: 1120px;
}

.checkout .checkout-step__inner {
  padding: 20px 24px 32px 24px;
  border-radius: 8px;
  background-color: var(--background-checkout);
}

.checkout .checkout-step__head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.checkout .checkout-step__media {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 24px 0 0;
}

.checkout .checkout-step__img {
  width: 60px;
  height: 60px;
  -o-object-fit: contain;
  object-fit: contain;
}

.checkout .checkout-step__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 24px 0 0 0;
}

.checkout .checkout-step__info {
  margin: 10px 0 0 16px;
  font-size: 14px;
  line-height: 18px;
  color: var(--dark-grey);
}

.checkout .checkout-step,
.checkout .checkout-block {
  margin: 0 0 20px 0;
}

.checkout .checkout-block__inner {
  padding: 20px 24px 32px 24px;
  border-radius: 8px;
  background-color: var(--white);
}

.checkout .checkout-step__title,
.checkout .checkout-block__title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  color: var(--accent-two);
}

.checkout .checkout-step__title {
  color: var(--dark-grey);
}

.checkout .checkout-step__title::before,
.checkout .checkout-block__title::before {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 10px 0 0;
  background: url(../img/icons/orders-red-i.svg) center / cover no-repeat;
  content: '';
}

.checkout .checkout-step__title::before {
  background: url(../img/icons/orders-grey-i.svg) center / cover no-repeat;
}

.checkout-step--contacts .checkout-step__title::before {
  background: url(../img/icons/profile-grey-i.svg) center / cover no-repeat;
}

.checkout-step--shipping .checkout-step__title::before {
  background: url(../img/icons/delivery-grey-i.svg) center / cover no-repeat;
}

.checkout-step--payments .checkout-step__title::before {
  background: url(../img/icons/credit-card-grey-i.svg) center / cover no-repeat;
}

.checkout-block--contacts .checkout-block__title::before {
  background: url(../img/icons/profile-red-i.svg) center / cover no-repeat;
}

.checkout-block--shipping .checkout-block__title::before {
  background: url(../img/icons/delivery-red-i.svg) center / cover no-repeat;
}

.checkout-block--payments .checkout-block__title::before {
  background: url(../img/icons/credit-card-red-i.svg) center / cover no-repeat;
}

.checkout .checkout-block__main {
  margin: 40px 0;
}

.checkout .contact-step-info,
.checkout .checkout-contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
}

.checkout .sign-up {
  font-size: 14px;
  line-height: 17px;
}

.checkout .contact-step-info__avatar,
.checkout .checkout-contact__avatar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  border-radius: 50%;
  color: var(--white);
  background-color: var(--dark-grey);
}

.checkout .checkout-contact__avatar {
  background-color: var(--black-grey);
}

.checkout .contact-details,
.checkout .shipping-details,
.checkout .payment-details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  margin: 0 0 0 10px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: var(--dark-grey);
}

.checkout .shipping-details,
.checkout .payment-details {
  margin: 0 0 0 40px;
}

.checkout .checkout-contact__details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 15px;
  margin: 0 0 0 10px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: var(--black);
}

.checkout .checkout-contact__email,
.checkout .checkout-contact__phone {
  text-decoration: underline;
}

.checkout .contact-details__company {
  margin: 14px 0 0 0;
}

.checkout .checkbox {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 40px 0 0 0;
  font-size: 14px;
  line-height: 17px;
}

.checkout .account-customer-fields--second {
  display: none;
}

.checkout .account-customer-fields--second.show {
  display: block;
}

.checkout .account-customer-fields__wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 820px;
  margin: 20px 0 0 0;
}

.checkout .customer-field {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  position: relative;
}

.checkout .customer-field__label {
  margin: 0 0 8px 0;
  font-size: 12px;
  line-height: 15px;
}

.checkout .customer-field__input {
  width: 100%;
  max-width: 400px;
  height: 52px;
  padding: 12px 36px 12px 12px;
  border: 1px solid var(--dark-grey);
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.checkout .delivery-companies {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

.checkout .company-logo {
  width: 100%;
  max-width: 123px;
  height: 40px;
  cursor: pointer;
}

.checkout .company-logo--nova-post {
  max-width: 102px;
  background: url(../img/nova-post-logo.png) center / contain no-repeat;
}

.checkout .company-logo--nova-post:hover {
  background: url(../img/nova-post-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--ukrpost {
  background: url(../img/ukrpost-logo.png) center / contain no-repeat;
}

.checkout .company-logo--ukrpost:hover {
  background: url(../img/ukrpost-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--meest {
  max-width: 88px;
  background: url(../img/meest-logo.png) center / contain no-repeat;
}

.checkout .company-logo--meest:hover {
  max-width: 88px;
  background: url(../img/meest-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--sat {
  max-width: 88px;
  background: url(../img/sat-logo.png) center / contain no-repeat;
}

.checkout .company-logo--sat:hover {
  max-width: 88px;
  background: url(../img/sat-logo-color.png) center / contain no-repeat;
}

.checkout .company-logo--del-auto {
  background: url(../img/del-auto-logo.png) center / contain no-repeat;
}

.checkout .company-logo--del-auto:hover {
  background: url(../img/del-auto-logo-color.png) center / contain no-repeat;
}

.checkout .checkout-payment-info,
.user-profile .user-payment-info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  font-size: 14px;
  line-height: 17px;
}

.checkout .delivery-methods {
  margin: 40px 0 0 0;
}

.checkout .delivery-methods__info,
.user-profile .delivery-methods__info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  font-size: 14px;
  line-height: 17px;
}

.checkout .delivery-methods__col,
.user-profile .delivery-methods__col {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 12px 0 0 0;
}

.checkout .delivery-methods__col:nth-of-type(2),
.user-profile .delivery-methods__col:nth-of-type(2) {
  margin: 40px 0 0 0;
}

.checkout .custom-select,
.user-profile .custom-select {
  width: 100%;
  max-width: 360px;
}

.checkout .custom-select__dropdown,
.user-profile .custom-select__dropdown,
.modal-contact-form .custom-select__dropdown {
  top: 0;
  border: 1px solid var(--grey);
  border-radius: 8px;
}

.checkout .custom-select__input,
.user-profile .custom-select__input {
  height: 40px;
  padding: 0 12px;
  border: none;
}

.checkout .custom-select__option--value,
.user-profile .custom-select__option--value,
.modal-contact-form .custom-select__option--value {
  border: 1px solid var(--grey);
  border-radius: 8px;
}

.checkout .custom-select__option,
.checkout .custom-select__option--value,
.user-profile .custom-select__option,
.user-profile .custom-select__option--value {
  height: 40px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
  background-color: var(--white);
}

.checkout .custom-select__option:hover,
.user-profile .custom-select__option:hover,
.modal-contact-form .custom-select__option:hover {
  background-color: rgba(35, 161, 209, 0.20);
}

.checkout .shipping-price__info,
.user-profile .shipping-price__info,
.user-profile .link-show-map,
.checkout .link-show-map {
  margin: 0 0 0 40px;
  text-align: right;
}

.checkout .checkout-final-step {
  width: 100%;
  max-width: 360px;
}

.checkout .checkout__mini-cart {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 24px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
  background-color: var(--white);
}

.checkout .minicart-totals__title,
.checkout .minicart__total--amount {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.checkout .minicart-totals__wrap {
  margin: 40px 0 0 0;
}

.checkout .minicart__total {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 0 0;
}

.checkout .comment-field {
  display: none;
  margin: 24px 0 0 0;
}

.checkout .comment-field.show {
  display: block;
}

.checkout .comment-field__input {
  position: relative;
  width: 100%;
  height: 100px;
  padding: 12px;
  border: 1px solid var(--dark-grey);
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.checkout .comment-field__input::-webkit-input-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input::-moz-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input:-ms-input-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input::-ms-input-placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .comment-field__input::placeholder {
  position: absolute;
  top: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.checkout .delivery-msg {
  margin: 40px 0 0 0;
}

.checkout .btn-next-step,
.checkout .btn-login,
.checkout .btn-confirm {
  justify-content: center;
  width: 100%;
  max-width: 400px;
  height: 44px;
  margin: 0 0 0 auto;
  padding: 8px 20px;
}

.checkout .btn-login {
  margin: 0 0 8px 0;
}

.checkout .btn-edit,
.user-profile .btn-edit {
  margin: 0 0 0 auto;
  padding: 8px 20px;
}

.checkout .btn-clear {
  position: absolute;
  right: 12px;
  bottom: 18px;
  padding: 0;
}

.checkout .btn-clear-icon {
  width: 16px;
  height: 16px;
}

.checkout .btn-edit__icon,
.user-profile .btn-edit__icon {
  width: 24px;
  height: 24px;
  margin: 0 10px 0 0;
}

.checkout .btn-confirm {
  margin: 40px 0 0 0;
  text-decoration: none;  
}

/* ----- Order Success Styles ----- */

.order-finished {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.order-finished .order-finished__content {
  width: 100%;
  margin: 32px 0;
  padding: 32px 24px;
  border-radius: 8px;
  background-color: var(--white);
}

.order-finished .order-success-icon {
  width: 80px;
  height: 80px;
}

.order-finished .order-finished__title {
  margin: 24px 0 0 0;
}

.order-finished .order-finished__main {
  margin: 40px 0;
  font-size: 24px;
  line-height: 28px;
}

.order-finished .order-finished__bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 24px;
}

.order-finished .btn {
  justify-content: center;
  width: 100%;
  max-width: 308px;
  padding: 8px 20px;
}

.order-finished .btn.btn-all-order {
  color: var(--accent);
}

/* ----- User Account Styles ----- */

.user-profile {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 24px 0 80px 0;
}

.user-profile .user-profile-navigation {
  width: 100%;
  max-width: 230px;
}

.user-profile .user-profile-navigation__wrap {
  padding: 20px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
  background-color: var(--white);
}

.user-profile .user-profile-header__inner {
  margin: 0 0 20px 0;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  background-color: var(--white);
}

.user-profile .user-profile-tabs {
  width: 100%;
}

.user-profile .user-profile-tab {
  margin: 0 0 20px 0;
}

.user-profile .user-profile-tab__inner {
  padding: 16px 20px 32px 20px;
  border-radius: 6px;
  background-color: var(--white);
}

.user-profile .user-profile-tab.close .user-profile-tab__inner {
  padding: 16px 20px;
}

.user-profile .personal-info__details {
  position: relative;
  margin: 0 0 48px 0;
}

.user-profile .personal-info__details::before {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33px;
  height: 33px;
  margin: auto 0;
  background: url(../img/icons/profile-black-i.svg) center / cover no-repeat;
  content: '';
}

.user-profile .personal-info__name {
  margin: 0 0 0 45px;
  font-weight: 500;
}

.user-profile .personal-info__email {
  margin: 0 0 0 45px;
}

.user-profile .user-profile-nav__item {
  display: flex;
  padding: 0 0 24px 0;
}

.user-profile .user-profile-nav__item.active {
  font-weight: 500;
}

.user-profile .user-profile-nav__item--documents {
  border-bottom: 1px solid var(--grey);
}

.user-profile .user-profile-nav__item--exit {
  padding: 24px 0 0 0;
  color: var(--to-order);
}

.user-profile .user-profile-nav__item::before {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 12px 0 0;
  content: '';
}

.user-profile .user-profile-nav__item--order::before {
  background: url(../img/icons/cart-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--branches::before {
  background: url(../img/icons/building-line-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--viewed::before {
  background: url(../img/icons/eye-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--documents::before {
  background: url(../img/icons/checklist-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-nav__item--exit::before {
  background: url(../img/icons/exit-i.svg) center / cover no-repeat;
}

.user-profile .user-profile-tab__main {
  margin: 32px 0 0 0;
}

.user-profile .tab-month {
  margin: 0 0 20px 0;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}

.user-profile .user-field-items {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.user-profile .user-profile-tab._enabled .user-field-items {
  gap: 20px;
}

.user-profile .user-field-item,
.user-profile .user-field-company {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-tab._enabled .user-field-item {
  flex-direction: column;
  max-width: 400px;
}

.user-profile .user-field-company,
.user-profile .user-field__label {
  padding: 12px 16px;
}

.user-profile .user-profile-tab._enabled .user-field__label {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 12px;
  line-height: 15px;
  color: var(--black);
}

.user-profile .user-field__label {
  width: 100%;
  max-width: 220px;
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field-company {
  display: none;
}

.user-profile .user-field__input {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  background: none;
  border: none;
}

.user-profile .user-profile-tab._enabled .user-field__input {
  padding: 12px;
  border: 1px solid var(--grey);
  border-radius: 6px;
}

.user-profile .user-profile-tab._disabled .delivery-methods__info,
.user-profile .user-profile-tab._disabled .user-payment-info {
  display: none;
}

.user-profile .user-delivery__info,
.user-profile .user-payment__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 14px;
  line-height: 16px;
}

.user-profile .user-profile-tab._enabled .user-delivery__info,
.user-profile .user-profile-tab._enabled .user-payment__info {
  display: none;
}

.user-profile .user-delivery__info-label,
.user-profile .user-payment__info-label {
  padding: 12px 0;
  color: var(--dark-grey);
}

.user-profile .user-delivery__info-details,
.user-profile .user-payment__info-details {
  padding: 12px 16px;
}

.user-profile ._disabled .user-field-items--password {
  display: none;
}

.user-profile .password-visible {
  display: flex;
  position: absolute;
  bottom: 16px;
  right: 12px;
  cursor: pointer;
}

.user-profile .password-visible.show .eye-icon,
.auth-modal .auth-password-visible.show .eye-icon {
  display: none;
}

.user-profile .password-visible.show .eye-icon--slash,
.auth-modal .auth-password-visible.show .eye-icon--slash {
  display: block;
}

.user-profile .eye-icon,
.auth-modal .eye-icon {
  width: 20px;
  height: 20px;
}

.user-profile .eye-icon--slash,
.auth-modal .eye-icon--slash {
  display: none;
}

.user-profile .user-field__input::-webkit-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::-moz-placeholder {
  color: var(--black);
}

.user-profile .user-field__input:-ms-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::-ms-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::-webkit-input-placeholder {
  color: var(--black);
}

.user-profile .user-field__input::placeholder {
  color: var(--black);
}

.user-profile .user-profile-tab._enabled .user-field__input::-webkit-input-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input::-moz-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input:-ms-input-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input::-ms-input-placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab._enabled .user-field__input::placeholder {
  color: var(--dark-grey);
}

.user-profile .user-profile__payment-value,
.user-profile .user-profile__shipping-value,
.user-profile .user-profile__amount-value {
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-content {
  width: 100%;
}

.user-profile .user-profile-toolbar__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px 0;
}

.user-profile .profile-toolbar-search {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.user-profile .profile-toolbar-search__input {
  width: 100%;
  max-width: 400px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  line-height: 14px;
}

.user-profile .profile-toolbar-search__input::-webkit-input-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input::-moz-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input:-ms-input-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input::-ms-input-placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input::placeholder {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.64px;
  color: var(--grey);
}

.user-profile .profile-toolbar-search__input:hover {
  cursor: pointer;
}

.user-profile .btn-search {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  padding: 0;
}

.user-profile .search-icon {
  width: 19px;
  height: 19px;
}

.user-profile .user-profile-toolbar .custom-select {
  width: 100%;
  max-width: 400px;
}

.user-profile .user-profile-toolbar .custom-select__option--value {
  border: 1px solid transparent;
}

.user-profile .user-profile-tab__header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.user-profile .user-profile-tab__header::before {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background: url('../img/icons/arrow-top-i.svg');
  content: '';
}

.user-profile .user-profile-tab.close .user-profile-tab__header::before {
  background: url('../img/icons/arrow-bottom-i.svg');
}

.user-profile .user-profile-order__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 0 0 32px;
}

.user-profile .user-profile-order__number {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.user-profile .user-profile-order__details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 0 24px;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.user-profile .user-profile-order__status {
  font-weight: 500;
}

.user-profile .user-profile-order__status.finished {
  color: var(--in-stock);
}

.user-profile .user-profile-order__status.in-the-way {
  color: var(--more-one-day);
}

.user-profile .user-profile-order__status.cancelled {
  color: var(--to-order);
}

.user-profile .user-profile-order__sum {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 8px;
}

.user-profile .user-profile-order__sum-label {
  font-size: 12px;
  line-height: 14px;
  color: var(--dark-grey);
}

.user-profile .user-profile-order__sum-value {
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-order__sum-value span {
  color: var(--dark-grey);
}

.user-profile .user-profile-tab__content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 60px;
  margin: 60px 0 0 0;
}

.user-profile .close .user-profile-tab__content,
.user-profile .close .user-profile-tab__footer {
  display: none;
}

.user-profile .user-profile-tab__content .h4-title {
  color: var(--dark-grey);
}

.user-profile .user-profile-delivery__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 80px;
  margin: 16px 0 0 0;
}

.user-profile .user-profile__delivery-code {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 210px;
  margin: 0 0 auto 0;
  letter-spacing: 0.64px;
}

.user-profile .user-profile__delivery-code .copy-icon {
  width: 16px;
  height: 16px;
}

.user-profile .user-profile__delivery-details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  max-width: 855px;
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-order-details__title {
  margin: 0 0 24px 0;
}

.user-profile .user-profile-documents {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 14px;
  line-height: 17px;
}

.user-profile .user-profile-document {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-profile .user-profile-document::before {
  display: block;
  width: 16px;
  height: 16px;
  background: url(../img/icons/download-i.svg) center / cover no-repeat;
  content: '';
}

.user-profile .user-profile-tab__footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 16px;
  margin: 60px 0 0 0;
}

.user-profile .user-profile-catalog {
  width: 100%;
}

.user-profile .catalog-products {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  margin: 20px 0 0 0;
}

.user-profile .card.card--list-item {
  max-width: 100%;
  margin: 0 0 20px 0;
}

.user-profile .card.card--list-item:last-child {
  margin: 0;
}

.user-profile .user-profile-branches {
  width: 100%;
  max-width: 690px;
}

.user-profile .user-profile-branches__content {
  padding: 32px 60px 60px 60px;
  border-radius: 8px;
  background-color: var(--white);
}

.user-profile .user-profile-branches__head,
.branches-modal .branches-modal__head {
  text-align: center;
}

.user-profile .user-profile-branches__body,
.branches-modal .branches-modal__body {
  margin: 40px 0 0 0;
}

.user-profile .user-profile-branches__sub-title {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--dark-grey);
}

.user-profile .user-profile-branches__logo,
.branches-modal .branches-modal__logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 0 0 24px 0;
}

.user-profile .user-profile-branch__logo,
.branches-modal .branch-modal__logo {
  width: 100%;
  max-width: 130px;
  height: 32px;
}

.user-profile .user-profile-branches__info,
.branches-modal .branches-modal__info {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 20px;
  margin: 0 0 40px 0;
}

.user-profile .user-profile-branch__location,
.branches-modal .branch-modal__location {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.user-profile .user-profile-branch__code,
.branches-modal .branch-modal__code {
  margin: 0 12px 0 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.user-profile .checkbox--show-branch,
.branches-modal .checkbox--show-branch {
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
}

.user-profile .user-profile-documents-logs__inner {
  padding: 0 0 32px 0;
  border-radius: 6px;
  background-color: var(--white);
}

.user-profile .user-profile-branches-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  background-color: var(--background);
}

.user-profile .user-profile-branches-tab {
  width: 100%;
  max-width: 180px;
  padding: 12px 24px;
  background-color: var(--background-tab);
}

.user-profile .user-profile-branches-tab.current {
  background-color: var(--white);
}

.user-profile .user-profile-branches-tab:first-of-type {
  border-top-left-radius: 6px;
}

.user-profile .user-profile-branches-tab:nth-of-type(2) {
  border-right: 1px solid var(--border-line);
}

.user-profile .user-profile-branches-tab:last-of-type {
  border-top-right-radius: 6px;
}

.user-profile .branches-tab__logo {
  width: 100%;
  max-width: 130px;
  height: 32px;
}

.user-profile .branches-tab__logo--small {
  display: none;
}

.user-profile .user-profile-documents-logs {
  width: 100%;
}

.user-profile .table-debts {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.user-profile .table-debt {
  padding: 16px 20px 16px 32px;
  font-weight: 600;
  opacity: 0.94;
}

.user-profile .table-debt__val {
  margin: 0 0 0 20px;
}

.user-profile .table-debt--overdue .table-debt__val {
  color: var(--to-order);
}

.user-profile .table-document-logs table {
  width: 100%;
  border-collapse: collapse;
}

.user-profile .table-head {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: var(--dark-grey);
}

.user-profile .table-document-logs tr {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 100px 20px 22% 20px 1fr 20px 1fr 20px 1fr 20px 20px;
  grid-template-columns: 100px 22% 1fr 1fr 1fr 20px;
  align-items: center;
  gap: 20px;
  padding: 8px 20px 8px 32px;
  border-bottom: 1px solid var(--grey);
  text-align: left;
}

.user-profile .table-document-logs tbody tr {
  letter-spacing: 0.64px;
}

.user-profile .table-head--sum,
.user-profile .document-sum {
  text-align: right;
}

.user-profile .table-head--print,
.user-profile .document-print {
  width: 20px;
  height: 20px;
}

.user-profile .print-icon::after {
  display: block;
  width: 20px;
  height: 20px;
  background: url(../img/icons/print-i.svg) center / cover no-repeat;
  content: '';
}

.user-profile .btn-save {
  padding: 8px 20px;
  font-size: 16px;
  letter-spacing: 0.64px;
}

.user-profile .user-profile__button {
  margin: 24px 0 0 auto;
  padding: 12px 20px;
}

.user-profile .user-field-buttons {
  margin: 32px 0 0 0;
}

.user-profile .btn-edit {
  margin: 0;
}

.user-profile .user-profile-tab._enabled .btn-edit {
  display: none;
}

.user-profile .user-profile-tab._enabled .btn-save {
  display: flex;
}

.user-profile .user-field-buttons .btn-save {
  display: none;
}

/* ----- Product List Styles ----- */

.products-list .product-list-item {
  list-style: none;
}

.products-list .product-list-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--grey);
}

.products-list .product-list-item:first-child {
  padding: 0 0 16px 0;
}

.products-list .p-item-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.products-list .p-item__media {
  width: 60px;
  height: 60px;
}

.products-list .p-item__photo {
  width: 60px;
  height: 60px;
  -o-object-fit: contain;
  object-fit: contain;
}

.products-list .p-item__details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 490px;
  margin: 0 auto 0 12px;
}

.products-list .p-item__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.products-list .p-item__brand {
  width: 65px;
  height: 32px;
}

.products-list .p-item__brand-img {
  width: 65px;
  height: 32px;
  -o-object-fit: cover;
  object-fit: cover;
}

.products-list .p-item__part-code {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.products-list .p-item__name {
  margin: 12px 0 0 0;
  font-size: 14px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
  color: var(--dark-grey);
}

.products-list .p-item__stock,
.products-list .p-item__cost,
.products-list .p-item__amount {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 76px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: var(--dark-grey);
}

.products-list .p-item__stock-num {
  margin: 8px 0 0 0;
}

.products-list .p-item__cost {
  margin: 0 0 0 24px;
}

.products-list .p-item__amount {
  max-width: 52px;
  margin: 0 24px;
}

.products-list .p-item__cost-num,
.products-list .p-item__amount-num {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.products-list .p-item__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.products-list .p-quantity-counters {
  margin: 0 24px;
}

.products-list .p-item__price {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.products-list .btn-remove {
  margin: 0 12px 0 36px;
  padding: 0;
}

.products-list .remove-icon {
  width: 10px;
  height: 10px;
}

/* ----- Shop Branches Styles ----- */

.shops-branches .shop-branch--empty .shop-branch__info {
  color: var(--dark-grey);
}

.shops-branches .shop-branch--empty .shop-branch__amount,
.shops-branches .shop-branch--empty .p-quantity-counters {
  display: none;
}

.shops-branches .shop-branch--empty .shop-branch__price {
  margin: 0 24px 0 auto;
}

.shops-branches .shop-branch__location {
  max-width: 146px;
}

.shops-branches .shop-branch__price {
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
}

.product__navbar .shops-branches .p-quantity-counters {
  margin: 0 4px;
}

/* ----- Shop Modal Branches Styles ----- */

.modal-shops {
  display: none;
  position: fixed;
  top: 10%;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 5000;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 16px;
  transition: opacity .4s ease;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  background-color: rgba(8, 18, 54, 0.50);
}

.modal-shops .modal-shops__content {
  position: relative;
  width: 100%;
  max-width: 630px;
  height: 100%;
  margin: 0 auto;
  padding: 32px;
  border-radius: 8px;
  background-color: var(--white);
}

.modal-shops .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-shops .modal-close__icon {
  width: 22px;
  height: 22px;
}

.modal-shops .modal-shops-product {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.modal-shops .modal-shops-product__photo {
  width: 160px;
  height: 120px;
  margin: 0 32px 0 0;
}

.modal-shops .modal-shops-product__info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.modal-shops .modal-shops-product__photo img {
  width: 160px;
  height: 120px;
  -o-object-fit: cover;
  object-fit: cover;
}

.modal-shops .modal-shops-product__brand {
  width: 90px;
  height: 45px;
}

.modal-shops .modal-shops-product__brand img {
  width: 90px;
  height: 45px;
  -o-object-fit: cover;
  object-fit: cover;
}

.modal-shops .modal-shops-product__code {
  margin: auto 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.modal-shops .modal-shops-product__name {
  width: 100%;
  letter-spacing: 0.64px;
}

.modal-shops .modal-shop-branch {
  margin: 52px 0 0 0;
}

.modal-shops .modal-shop-branch__logo,
.shops-branches .shop-branch__logo {
  margin: 0 0 24px 0;
}

.modal-shops .modal-shop-branch__logo img,
.shops-branches .shop-branch__logo img {
  width: 100%;
  max-width: 130px;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.modal-shops .modal-shop-branch__info,
.shops-branches .shop-branch__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
}

.modal-shops .modal-shop-branch__info:last-child,
.shops-branches .shop-branch__info:last-child {
  margin: 0;
}

.modal-shops .modal-shop-branch__location-code {
  margin: 0 12px 0 0;
}

.modal-shops .modal-shop-branch__location,
.shops-branches .shop-branch__location {
  width: 100%;
  max-width: 183px;
  margin: 0 12px 0 0;
  font-weight: 400;
}

.modal-shops .modal-shop-branch__amount,
.shops-branches .shop-branch__amount {
  margin: 0 auto 0 0;
}

.modal-shops .modal-shop-branch__price {
  font-size: 20px;
}

.modal-shops .p-quantity-counters,
.shops-branches .p-quantity-counters {
  margin: 0 8px;
}

.modal-shops .shop-branch-btn,
.shops-branches .shop-branch-btn {
  padding: 12px 12px 12px 8px;
  border-radius: 6px;
}

.modal-shops .shop-branch-btn__icon,
.shops-branches .shop-branch-btn__icon {
  width: 24px;
  height: 22px;
}

/* ----- Breadcrumbs Styles ----- */

.breadcrumbs {
  margin: 25px 0 16px 0;
}

.breadcrumbs .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs .breadcrumbs__list-item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 0 12px;
}

.breadcrumbs .breadcrumbs__list-icon {
  width: 16px;
  height: 16px;
}

.breadcrumbs .breadcrumbs__list-item:first-child {
  margin: 0;
}

.breadcrumbs .breadcrumbs__list-item:not(:first-child)::before {
  display: inline-block;
  width: 8px;
  height: 14px;
  margin: 0 12px 0 0;
  background: url('../img/icons/arrow-right-small-grey-i.svg') center / cover no-repeat;
  content: '';
}

.breadcrumbs .breadcrumbs__list-link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 14px;
  line-height: 18px;
  color: var(--dark-grey);
}

.breadcrumbs .breadcrumbs__list-text {
  font-size: 14px;
  line-height: 18px;
  color: var(--dark-grey);
}

/* ----- Shop Categories Styles ----- */

.catalog {
  margin: 24px 0 80px 0;
}

.catalog .catalog-categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 24px 0 0 0;
}

.catalog .catalog-category {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 20%;
  padding: 12px 24px 42px 24px;
  border-bottom: 1px solid var(--catalog-border);
  border-left: 1px solid var(--catalog-border);
  background-color: var(--white);
}

.catalog .catalog-category:first-child,
.catalog .catalog-category:nth-child(6) {
  border-left: none;
}

.catalog .catalog-category:nth-child(5n+12) {
  border-left: none;
}

.catalog .catalog-category__img {
  width: 122px;
  height: 108px;
  margin: 0 auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.catalog .catalog-category__link {
  height: auto;
  min-height: 64px;
  margin: 44px 0 32px;
  letter-spacing: 0.64px;
  color: var(--black);
}

.catalog .catalog__sub-category {
  margin: 0 0 10px 0;
  list-style: none;
}

.catalog .catalog__sub-category:last-child {
  margin: 0;
}

.catalog .catalog-sub-category__link {
  font-size: 14px;
  line-height: 17px;
  color: var(--accent-hover);
}

.catalog .free-delivery {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  margin: 24px 0;
  padding: 16px;
  border-radius: 6px;
  color: var(--white);
  background-color: var(--delivery-banner-backgroud);
}

.catalog .free-delivery__title {
  margin: 0 0 8px 0;
  font-size: 40px;
  line-height: 47px;
}

.catalog .free-delivery__text {
  font-size: 20px;
  line-height: 24px;
}

/* ----- Shop Catalog Products Styles ----- */

.shop-catalog .shop-catalog__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 32px 0 80px 0;
}

.shop-catalog .result-search,
.shop-catalog .shop-catalog__title {
  margin: 0 0 32px 0;
}

.shop-catalog .shop-catalog__toolbar {
  width: 100%;
}

.shop-catalog .m-toolbar-block {
  display: none;
}

.shop-catalog .toolbar-block__inner,
.user-profile-catalog .user-profile-catalog__toolbar {
  width: 100%;
  padding: 10px 20px;
  border-radius: 12px;
  background-color: var(--white);
}

.shop-catalog .shop-catalog__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  margin: 32px 0 0 0;
}

.shop-catalog .shop-catalog__navigation {
  width: 233px;
  margin: 0 20px 0 0;
}

.shop-catalog .catalog-products {
  width: calc(100% - 253px);
}

.sale-products .catalog-products {
  width: 100%;
}

.shop-catalog .products-catalog--grid,
.user-profile .products-catalog--grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  min-height: 120vh;
  margin: 0;
}

.shop-catalog .card.card--list-item {
  max-width: 100%;
  margin: 0 0 20px 0;
}

.sale-products .products-catalog--grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shop-catalog .card.card--list-item:last-child {
  margin: 0;
}

.sale-products .card__table-availability {
  max-width: 100%;
  margin: 0 20px 0 0;
}

/* ----- Toolbar and Filters Products Styles ----- */

.toolbar-block .filter-active {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 15px;
}

.toolbar-block .filter-active__info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 19%;
}

.toolbar-block .filter-active__info-text {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
}

.toolbar-block .btn-filters-clear {
  font-size: 12px;
  line-height: 17px;
  font-weight: 500;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.toolbar-block .selected-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 57%;
}

.toolbar-block .select-filter {
  display: flex;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--grey);
  border-radius: 6px;
  font-size: 12px;
  line-height: 14px;
  color: var(--black);
}

.toolbar-block .select-filter::after {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 0 0 2px;
  background: url(../img/icons/close-i.svg) center / cover no-repeat;
  content: '';
}

.toolbar-block .select-filter__value {
  padding: 0 0 0 3px;
}

.toolbar-block .toolbar-controls {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  width: 23%;
  margin: 0 0 0 auto;
}

.toolbar-block .sort-by,
.m-toolbar-block .m-sort-by {
  position: relative;
  z-index: 2;
  width: 100%;
}

.toolbar-block .sort-by__btn,
.m-toolbar-block .m-sort-by__btn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.toolbar-block .sort-by__btn::before,
.m-toolbar-block .m-sort-by__btn::before {
  display: block;
  width: 24px;
  height: 24px;
  background: url(../img/icons/arrows-sort-i.svg) center / cover no-repeat;
  content: '';
}

.toolbar-block .sort-by__btn span,
.m-toolbar-block .m-sort-by__btn span {
  display: inline-block;
  position: relative;
  margin: 0 0 0 20px;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

.toolbar-block .sort-by__content,
.m-toolbar-block .m-sort-by__content {
  display: none;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0px 0px 20px 0px rgba(180, 176, 224, 0.75);
  background-color: var(--white);
}

.toolbar-block .sort-by__content.active,
.m-toolbar-block .m-sort-by__content.active {
  display: block;
}

.toolbar-block .sort-by__item,
.m-toolbar-block .m-sort-by__item {
  padding: 12px 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.toolbar-block .view-mode__items,
.m-toolbar-block .m-view-mode__items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 4px 8px;
}

.toolbar-block .view-mode__item::before,
.m-toolbar-block .m-view-mode__item::before {
  display: block;
  width: 24px;
  height: 24px;
  content: '';
}

.toolbar-block .view-mode__item--list::before,
.m-toolbar-block .m-view-mode__item--list::before {
  margin: 0 12px 0 0;
  background: url(../img/icons/view-mode-grey-list-i.svg) center / cover no-repeat;
}

.toolbar-block .view-mode__item--list.selected::before,
.m-toolbar-block .m-view-mode__item--list.selected::before {
  background: url(../img/icons/view-mode-list-i.svg) center / cover no-repeat;
}

.toolbar-block .view-mode__item--grid::before,
.m-toolbar-block .m-view-mode__item--grid::before {
  background: url(../img/icons/view-mode-grey-grid-i.svg) center / cover no-repeat;
}

.toolbar-block .view-mode__item--grid.selected::before,
.m-toolbar-block .m-view-mode__item--grid.selected::before {
  background: url(../img/icons/view-mode-grid-i.svg) center / cover no-repeat;
}

.filters .filters__content {
  position: relative;
  padding: 0 16px 16px 16px;
  border-radius: 8px;
  background-color: var(--white);
}

.filters .accordion {
  margin: 0 0 52px 0;
  cursor: pointer;
}

.filters .accordion.active {
  margin: 0;
}

.filters .accordion:last-child {
  margin: 0;
}

.filters .accordion.active .filter__title::after {
  transform: rotate(180deg);
}

.filters .filter__title,
.m-filters .m-filter__title {
  position: relative;
  padding: 16px 0;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
}

.filters .filter__title .count,
.m-filters .m-filter__title .count {
  font-weight: 400;
  color: var(--dark-grey);
}

.filters .filter__title::after {
  display: inline-block;
  width: 14px;
  height: 11px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: url(../img/icons/arrow-small-top-blue.svg) center / cover no-repeat;
  content: '';
}

.filters .filter__body {
  overflow: hidden;
  height: auto;
}

.filters .filter__body.close {
  height: 0;
}

.filters .filter__container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 0 0 8px 0;
}

.filters .filter__checkbox-item,
.m-filters .m-filter__checkbox-item {
  display: flex;
  margin: 4px 0 12px 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
}

.filters .filter__checkbox-item::before,
.m-filters .m-filter__checkbox-item::before,
.checkbox .checkbox-item::before {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
  border-radius: 4px;
  background: url(../img/icons/checkbox-border-i.svg) center / cover no-repeat;
  content: ''
}

.filters .filter__checkbox-item:hover:before,
.checkbox .checkbox-item:hover::before {
  background: url(../img/icons/checkbox-hover-i.svg) center / cover no-repeat;
}

.filters .filter__checkbox-item.selected::before,
.m-filters .m-filter__checkbox-item.selected::before,
.checkbox .checkbox-item.selected::before {
  background: url(../img/icons/checkbox-checked-i.svg) center / cover no-repeat;
}

.filters .show-more-btn {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: var(--accent);
}

.filters .range-filter-form,
.m-filters .m-range-filter-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
}

.filters .range-filter__value input,
.m-filters .m-range-filter__value input {
  width: 100%;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  text-align: center;
  background-color: var(--white);
}

.irs--round .irs-bar {
  height: 2px;
  background-color: var(--dark-grey);
}

.irs--round .irs-line {
  height: 2px;
  background-color: var(--grey);
}

.irs--round .irs-handle {
  background-color: var(--accent);
  border-color: var(--accent);
}

.irs--round .irs-handle.state_hover,
.irs--round .irs-handle:hover {
  background-color: var(--accent);
}

.irs--round .irs-handle {
  width: 12px;
  height: 12px;
  top: 31px;
  border: none;
  border-radius: 50%;
  box-shadow: none;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before,
.irs--round .irs-min,
.irs--round .irs-max,
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
  display: none;
}

.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pagination .pagination__load-more {
  margin: 76px 0 44px 0;
}

.pagination .pagination__item {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.pagination .pagination__icon {
  width: 44px;
  height: 44px;
  margin: 0 24px 0 0;
}

.pagination .pagination__link {
  margin: 0 8px 0 0;
  padding: 8px 16px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  color: var(--black);
}

.pagination .pagination__link.current {
  border: 2px solid var(--accent);
  border-radius: 8px;
}

.pagination .pagination__link:last-child {
  margin: 0;
}

.pagination .pagination__link--more {
  display: flex;
  align-items: center;
  padding: 0;
}

/* ----- Single Product Page Styles ----- */

.product-page .product-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 40px 0 100px 0;
}

.product-page .product__boxes {
  width: calc(100% - 485px);
  max-width: 995px;
}

.product-page .product__box {
  margin: 0 0 20px 0;
  padding: 24px 24px 52px 24px;
  border-radius: 4px;
  background-color: var(--white);
}

.product-page .product__box:last-child {
  margin: 0;
}

.product-page .product__navbar {
  width: calc(100% - 965px);
  max-width: 485px;
  margin: 0 0 0 20px;
}

.product-page .shops-branches {
  position: -webkit-sticky;
  position: sticky;
  top: -10%;
  padding: 32px;
  border-radius: 4px;
  background-color: var(--white);
}

.product-page .shops-branches__text {
  letter-spacing: 0.64px;
}

.product-page .shop-branch {
  margin: 32px 0 0 0;
}

.product-page .p-card__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
}

.product-page .p-card__gallery {
  width: 100%;
  max-width: 370px;
}

.product-page .p-card__info {
  width: 100%;
  max-width: 605px;
  padding: 0 0 0 24px;
}

.product-page .p-card__carousel {
  position: relative;
}

.product-page .p-card__carousel img {
  width: 100%;
  height: 250px;
  margin: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.product-page .p-card__slider--single>div:nth-child(1n + 2) {
  display: none;
}

.product-page .p-card__slider--single.slick-initialized>div:nth-child(1n + 2) {
  display: block;
}

.product-page .p-card__slider--single.slick-initialized.slick-slider {
  display: flex;
  position: initial;
}

.product-page .p-card__slider--single .slick-arrow {
  position: absolute;
  bottom: 15px;
  width: 18px;
  height: 30px;
  border: none;
  background: transparent;
  background-repeat: no-repeat;
  cursor: pointer;
}

.product-page .p-card__slider--single .slick-prev.slick-arrow {
  left: 0;
  background: url('../img/icons/arrow-thin-big-prev.svg') center / cover no-repeat;
}

.product-page .p-card__slider--single .slick-next.slick-arrow {
  right: 0;
  background: url('../img/icons/arrow-thin-big-next.svg') center / cover no-repeat;
}

.product-page .p-card__slider--nav.slick-slider {
  width: 100%;
  max-width: 250px;
  height: 60px;
  margin: 24px auto;
}

.product-page .p-card__slider--nav .slick-slide {
  display: flex;
  align-items: center;
  margin: 0 4px;
  padding: 10px 14px;
  border: 1px solid transparent;
  cursor: pointer;
}

.product-page .p-card__slider--nav img {
  width: 100%;
  height: 38px;
}

.product-page .p-card__slider--nav .is-active {
  border: 1px solid var(--black);
  border-radius: 8px;
}

.product-page .p-card__brand-logo {
  width: 75px;
  height: 36px;
  -o-object-fit: cover;
  object-fit: cover;
}

.product-page .p-card__head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.product-page .p-card__maker {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .p-card__maker-title {
  font-size: 14px;
  line-height: 18px;
  margin: 0 12px 0 0;
}

.product-page .p-card__maker-name {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.product-page .p-card__main {
  margin: 32px 0 52px 0;
}

.product-page .p-card__part-code {
  font-size: 36px;
  line-height: 43px;
  font-weight: 500;
}

.product-page .p-card__sku {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 14px;
  font-style: italic;
  color: var(--accent);
}

.product-page .p-card__name {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin: 12px 0 0 0;
  font-size: 24px;
  line-height: 28px;
  white-space: normal;
}

.product-page .p-card__location {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  font-size: 12px;
  line-height: 14px;
  color: var(--dark-grey);
}

.product-page .p-card__location-icon {
  width: 18px;
  height: 18px;
  margin: 0 4px 0 0;
}

.product-page .p-card__location-code {
  margin: 0 5px 0 0;
}

.product-page .p-card__buy-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 0;
  margin: 32px 0 0 0
}

.product-page .p-card__price {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .p-card__price-actual {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.product-page .p-card__price-currency {
  margin: 0 0 0 5px;
}

.product-page .p-card__price-tax,
.product-page .p-card__price-no-tax {
  margin: 0 0 0 16px;
  font-size: 14px;
}

.product-page .p-card__price-no-tax {
  color: var(--to-order);
}

.product-page .p-quantity-counters {
  margin: 0 16px 0 auto;
}

.product-page .p-card__btn {
  padding: 12px 24px;
  border-radius: 6px;
}

.product-page .p-card__icon {
  width: 24px;
  height: 22px;
  margin: 0 16px 0 0;
}

.product-page .p-delivery-options {
  margin: 20px 0 0 0;
  font-size: 14px;
  line-height: 18px;
}

.product-page .delivery-option {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 20px 0;
  list-style: none;
}

.product-page .delivery-option__info-label {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .delivery-option__info-label::before {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 12px 0 0;
  background: url(../img/icons/home-b-i.svg) center / cover no-repeat;
  content: '';
}

.product-page .delivery-option:nth-child(2) .delivery-option__info-label::before {
  background: url(../img/icons/np-i.svg) center / cover no-repeat;
}

.product-page .delivery-option__info-text {
  margin: 12px 0 0 26px;
  color: var(--dark-grey);
}

.product-page .p-delivery__msg,
.checkout .delivery-msg {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  padding: 0 0 0 32px;
  font-size: 12px;
  line-height: 14px;
}

.product-page .p-delivery__msg::before,
.checkout .delivery-msg::before {
  display: block;
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  margin: 0 12px 0 0;
  background: url(../img/icons/note-i.svg) center / cover no-repeat;
  content: '';
}

.product-page .p-payments {
  margin: 40px 0 0 0;
}

.product-page .p-payments__info-text {
  margin: 20px 0 0 0;
  font-size: 14px;
  line-height: 18px;
}

.product-page .p-payments__methods {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin: 12px 0 0 0;
}

.product-page .p-description__content p {
  margin: 0 0 5px 0;
}

.product-page .p-cars-list__title.h3-title {
  margin: 0 0 8px 0;
}

.product-page .p-cars-list__text {
  color: var(--dark-grey);
}

.product-page .p-cars-list__content {
  margin: 24px 0 0 0;
}

.product-page .h3-title {
  margin: 0 0 40px 0;
}

.product-page .p-chcs__table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
}

.product-page .p-chcs__item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.product-page .p-chcs__item:nth-child(odd) {
  border-radius: 4px;
  background-color: var(--background-table);
}

.product-page .p-chcs-item__name,
.product-page .p-chcs-item__value {
  width: 50%;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 18px;
}

.product-page .product-popular {
  margin: 72px 0 0 0;
}

.product-page .products__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0 0;
}

.product-page .popular-product__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-page .card:last-child {
  display: none;
}

/* ----- About Us Page Styles ----- */

.about-us {
  margin: 80px 0;
}

.about-us .about-us__contacts {
  padding: 40px 60px 60px 60px;
  border-radius: 6px;
  background-color: var(--white);
}

.about-us .about-us__company-info {
  width: 100%;
  max-width: 975px;
  margin: 0 0 0 auto;
}

.about-us .about-us__contacts-wrap {
  display: flex;
  margin: 40px 0 0 0;
}

.about-us .about-us__contact-info-col {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  position: relative;
  padding: 0 0 40px 64px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.about-us .about-us__contact-info-col::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: url(../img/icons/phone-circle-i.svg) center / cover no-repeat;
  content: '';
}

.about-us .about-us__contact-info-col--schedules::before {
  background: url(../img/icons/clock-circle-i.svg) center / cover no-repeat;
}

.about-us .about-us__contact-info-col--addresses {
  padding: 0 0 0 64px;
}

.about-us .about-us__contact-info-col--addresses::before {
  background: url(../img/icons/marker-circle-i.svg) center / cover no-repeat;
}

.about-us .contact-info-col__phone-text,
.about-us .contact-info-col__title {
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  letter-spacing: 0.64px;
}

.about-us .about-us__company-info-text {
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.72px;
}

.about-us .about-us__company-info-text::first-letter {
  padding: 0 0 0 10px;
}

.about-us .about-us-map,
.about-us .about-us-contact-form {
  position: relative;
  width: 100%;
  max-width: 955px;
  margin: 0 auto;
}

.about-us .about-us-map__title {
  margin: 80px 0 0 0;
  text-align: center;
}

.about-us .about-us-map-locations {
  display: none;
  position: absolute;
  top: 130px;
  right: 0;
}

.about-us .about-us-map-location__wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  min-width: 420px;
  max-width: 420px;
  padding: 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
  color: var(--white);
  background-color: var(--header-footer-background);
}

.about-us .about-us-map__location {
  position: relative;
  padding: 0 0 0 28px;
}

.about-us .about-us-map__location::before {
  display: block;
  position: absolute;
  top: 0px;
  left: 0;
  width: 14px;
  height: 16px;
  background: url('../img/icons/marker-blue-i.svg') center / contain no-repeat;
  content: '';
}

.about-us .about-us-map__location-contacts {
  margin: 4px 0 0 0;
}

.about-us .about-us-map svg {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  margin: 80px auto;
  cursor: pointer;
}

.about-us .about-us-map svg path.visible {
  fill: var(--accent-hover);
}

.about-us .about-us-contact-form__inner {
  position: relative;
  padding: 32px 52px;
  border-radius: 6px;
  background-color: var(--header-footer-background);
  color: var(--white);
}

.about-us .contact-field {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 24px 0 0 0;
  gap: 8px 24px;
}

.about-us .contact-field-item::after {
  display: inline-block;
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 100%;
  max-width: 330px;
  height: 240px;
  background: url(../img/image32.png) center / contain no-repeat;
  content: '';
}

.about-us .contact-field__label {
  width: 100%;
  font-size: 12px;
  line-height: 15px;
}

.about-us .contact-field__input {
  width: 100%;
  max-width: 360px;
  height: 52px;
  padding: 12px;
  border: 1px solid var(--dark-grey);
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
}

/* ----- Our Services Page Styles ----- */

.our-services {
  margin: 32px 0 80px 0;
}

.our-services .our-services__info {
  padding: 32px 0 0 0;
}

.our-services .our-services__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 80px 0;
}

.our-services .our-service__item {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  height: 360px;
  padding: 32px 16px;
  border-radius: 6px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(266deg, #2B516E 7.49%, #1D91E8 76.44%);
}

.our-services .our-service__item img {
  width: 100%;
  max-width: 240px;
  height: 240px;
  -o-object-fit: contain;
  object-fit: contain;
}

.our-services .our-services__contacts {
  position: relative;
  margin: 20px 0 40px 0;
  padding: 0 0 0 25px;
}

.our-services .our-services__contacts::before {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 16px;
  background: url(../img/icons/marker-i.svg) center / contain no-repeat;
  content: '';
}

.our-services .our-services__contact-location {
  margin: 0 0 4px 0;
  font-size: 14px;
  line-height: 17px;
}

.our-services .btn-sign-up {
  padding: 8px 20px;
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  letter-spacing: 0.64px;
}

.modal-contact-form {
  display: none;
  position: fixed;
  top: 40%;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 10;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  overflow-x: hidden;
  overflow-y: auto;
  transition: opacity .4s ease;
}

.modal-contact-form .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-contact-form .modal-close__icon {
  width: 16px;
  height: 16px;
}

.modal-contact-form .modal-contact-form__title {
  font-weight: 400;
  text-align: center;
}

.modal-contact-form .modal-contact-form__content {
  position: relative;
  padding: 32px 52px;
  border-radius: 6px;
  background-color: var(--white);
}

.modal-contact-form .modal-contacts-fields {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 24px 1fr 24px 135px;
  grid-template-columns: 1fr 1fr 135px;
  align-items: flex-end;
  gap: 24px;
}

.modal-contact-form .modal-contact-field__label {
  font-size: 12px;
  line-height: 15px;
}

.modal-contact-form .modal-contact-field__input {
  width: 100%;
  max-width: 335px;
  height: 52px;
  margin: 8px 0 0 0;
  padding: 12px;
  border: 1px solid var(--grey);
  border-radius: 8px;
  font-size: 14px;
  line-height: 17px;
}

.modal-contact-form .custom-select {
  width: 100%;
  max-width: 335px;
}

.modal-contact-form .custom-select__input {
  height: 41px;
  padding: 0 12px;
  border: none;
}

.modal-contact-form .custom-select__option--value {
  height: 52px;
}

.modal-contact-form .custom-select__option,
.modal-contact-form .custom-select__option--value {
  padding: 12px;
  font-size: 14px;
  line-height: 17px;
  color: var(--black);
  background-color: var(--white);
}

.modal-contact-form .btn-send {
  height: 52px;
}

/* ----- Not Found Page Styles ----- */

.not-found {
  margin: 80px 0 160px 0;
}

.not-found .not-found-result {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.not-found .not-found-result__title {
  font-size: 128px;
  line-height: 100%;
}

.not-found .not-found-span {
  color: var(--accent);
}

.not-found .not-found-result__img {
  width: 100%;
  max-width: 755px;
  height: 100%;
}

.not-found .not-found-result__msg {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 38px 0 0 0;
}

.not-found .not-found-result__msg-sub-title {
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.64px;
  color: var(--dark-grey);
}

.not-found .not-found-btn {
  margin: 40px 0 0 0;
}

/* ----- Login and Sign Styles ----- */

.auth-modal,
.branches-modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: fixed;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  overflow-y: auto;
}

.auth-modal .auth-logo {
  width: 100%;
  max-width: 240px;
  height: 45px;
}

.auth-modal .auth-modal__body {
  width: 100%;
  max-width: 520px;
  padding: 60px;
  border-radius: 6px;
  background-color: var(--white);
}

.auth-modal .auth-modal__title {
  text-align: center;
}

.auth-modal .social-icon {
  width: 24px;
  height: 24px;
}

.auth-modal .auth-modal__separators {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 12px auto 12px 1fr;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  line-height: 100%;
  color: var(--grey);
}

.auth-modal .auth-modal__separator {
  width: 100%;
  max-width: 100%;
  margin: 40px 0;
  border: 1px solid var(--grey);
}

.auth-modal .auth-modal__input {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  position: relative;
  margin: 0 0 10px 0;
}

.auth-modal .auth-modal__label {
  margin: 0 0 8px 0;
  padding: 0;
  font-size: 12px;
  line-height: 15px;
  color: var(--black);
}

.auth-modal .auth-modal__input-field {
  width: 100%;
  height: 52px;
  padding: 12px;
  border: 1px solid var(--grey);
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
}

.auth-modal .auth-modal__input-field::-webkit-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field::-moz-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field:-ms-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field::-ms-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-modal__input-field::placeholder {
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.auth-modal .auth-password-visible {
  display: flex;
  position: absolute;
  bottom: 16px;
  right: 12px;
  cursor: pointer;
}

.auth-modal .auth-modal__buttons {
  margin: 40px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}

.auth-modal .btn-social {
  justify-content: center;
  width: 100%;
  gap: 12px;
  margin: 40px 0 0 0;
}

.auth-modal .btn-sign-in,
.auth-modal .btn-sign-up {
  justify-content: center;
  width: 100%;
  height: 44px;
  margin: 0 0 16px 0;
}

.auth-modal .link-forgot {
  display: flex;
  justify-content: right;
}

.auth-modal .link {
  font-size: 12px;
  line-height: 15px;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

/* ----- Login and Sign Styles ----- */

.branches-modal .link-email {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  text-decoration: underline;
}

.branches-modal hr {
  height: 1px;
  margin: 16px 0;
  border: none;
  background-color: var(--grey);
}

.branches-modal .branches-modal__content {
  width: 100%;
  max-width: 645px;
  padding: 32px 40px 60px 40px;
  border-radius: 8px;
  background-color: var(--white);
}

.branches-modal .branch-modal__sub-title {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  color: var(--grey);
}

.branches-modal .btn-continue {
  margin: 0 auto;
}

/* ----- Footer Styles ----- */

.footer {
  background-color: var(--header-footer-background);
  color: var(--white);
}

.footer .footer__content {
  margin: 80px 0 100px 0;
  font-size: 14px;
  line-height: 17px;
}

.footer .footer__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 10px;
}

.footer .footer__logo {
  margin: 0 0 80px 0;
}

.footer .footer__logo-img {
  width: 100%;
  max-width: 230px;
  height: 43px;
  -o-object-fit: cover;
  object-fit: cover;
}

.footer .footer__col-title {
  margin: 0 0 16px 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--grey);
}

.footer .footer__location {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.footer .footer__location-icon {
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
}

.footer .footer__location-code {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.64px;
}

.footer .footer__location-address {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.56px;
}

.footer .footer__contacts {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 17px;
}

.footer .footer__contact {
  margin: 0 0 4px 0;
}

.footer .footer__contact:last-child {
  margin: 0;
}

.footer .footer__contacts,
.footer .footer__shedule {
  margin: 8px 0 0 0;
}

.footer .footer__our-shop {
  margin: 0 0 12px 0;
}

.footer .footer__menu-item {
  margin: 0 0 12px 0;
  list-style: none;
}

/* ----- All Other Site Styles ----- */

.mt-container {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-template .mt-container {
  padding: 0;
}

.h1-title {
  font-size: 40px;
  line-height: 44px;
  font-weight: 500;
  font-style: italic;
  color: var(--white);
}

.h2-title {
  font-size: 36px;
  line-height: 43px;
  font-weight: 500;
  color: var(--black);
}

.h3-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

.h4-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.btn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.64px;
  background: none;
  color: var(--white);
}

.btn:hover {
  cursor: pointer;
}

.btn--blue {
  background-color: var(--accent);
}

.btn--blue:hover {
  background-color: var(--accent-hover);
}

.btn--green {
  background-color: var(--cart-button);
}

.btn--green:hover {
  background-color: var(--cart-button-hover);
}

.btn--transparent {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn--transparent:hover {
  border: 1px solid var(--accent-hover);
  color: var(--accent-hover);
}

.btn--disabled {
  pointer-events: none;
  background-color: var(--dark-grey);
  cursor: not-allowed;
}

.link {
  text-decoration: none;
  color: var(--white);
}

.link:hover {
  color: var(--accent);
}

.link--black {
  color: var(--black);
}

.link--blue {
  color: var(--accent);
}

.list {
  list-style: none;
}

input:focus {
  outline: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: var(--dark-grey);
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent);
}

@media only screen and (max-width: 1500px) {

  /* ----- Header Styles ----- */

  .header .header__search {
    max-width: 408px;
  }

  /* ----- Home Page Banner ----- */

  .main .banner-home__slider-item {
    height: 490px;
  }

  .main .banner-home .slick-arrow {
    max-width: 1200px;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .main .products__list .card:last-child {
    display: none;
  }

  /* ----- Products Card Styles ----- */

  .card.card--list-item .card__content {
    max-width: 230px;
  }

  /* ----- Toolbar and Filters Products Styles ----- */

  .toolbar-block .filter-active__info {
    width: 24%;
  }

  .toolbar-block .selected-filters {
    width: 52%;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .products-catalog--grid,
  .user-profile .products-catalog--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sale-products .products-catalog--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* ----- Single Product Page Styles ----- */

  .product-page .product__boxes {
    width: 100%;
    max-width: 1200px;
  }

  .product-page .product__navbar {
    display: none;
  }

  .product-page .p-card__gallery,
  .product-page .p-card__info {
    max-width: 50%;
  }

  .product-page .p-card__slider--nav.slick-slider {
    max-width: 250px;
  }

  .product-page .products__list .card:last-child {
    display: block;
  }

  /* ----- Shop Categories Styles ----- */

  .catalog .catalog-category {
    width: 25%;
  }

  .catalog .catalog-category:nth-child(6),
  .catalog .catalog-category:nth-child(5n+12) {
    border-left: 1px solid var(--catalog-border);
  }

  .catalog .catalog-category:nth-child(5) {
    border-left: none;
  }

  .catalog .catalog-category:nth-child(4n+10) {
    border-left: none;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__company-info {
    max-width: 595px;
  }

  /* ----- All Other Site Styles ----- */

  .mt-container {
    max-width: 1280px;
  }

}

@media only screen and (max-width: 1024px) {

  /* ----- Header Styles ----- */

  .header .header__top,
  .header .header__catalog {
    display: none;
  }

  .header.header--checkout .header__top,
  .header.header--checkout .header__logo {
    display: block;
    margin: 0;
  }

  .header.header--checkout .header__phone {
    margin: 0;
  }

  .header .m-burger-menu {
    display: block;
    height: 28px;
  }

  .header .burger-icon {
    width: 32px;
    height: 28px;
  }

  .header .header__logo {
    margin: 0 0 0 18px;
  }

  .header .header__logo,
  .header .header__logo-img {
    width: 172px;
    height: 32px;
  }

  .header .header__search {
    max-width: 538px;
  }

  .header .m-header__profile {
    display: block;
    height: 23px;
    margin: 0 24px 0 0;
  }

  .header .m-header__profile-icon {
    width: 24px;
    height: 24px;
  }

  .header .header__cart {
    padding: 0;
    border: none;
  }

  .header .header__cart-amount {
    display: none;
  }

  .header .cart-checkout-popup {
    max-width: 960px;
    padding: 0 40px;
  }

  .header .m-menu {
    display: block;
  }

  .header .m-menu .catalog-menu__link {
    width: 100%;
  }

  .header .m-menu .has-child::after {
    right: 12px;
  }

  .header .m-push__nav {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 12;
    overflow: auto;
    width: 100%;
    max-width: 480px;
    height: 100%;
    padding: 0 0 32px 0;
    background-color: var(--background);
    transition: ease-in-out 0.5s;
  }

  .header .m-push__nav--level {
    top: 67px;
    height: calc(100% - 67px);
  }

  .header .m-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: var(--header-footer-background);
  }

  .header .menu-header__logo,
  .header .menu-header__logo-img {
    width: 230px;
    height: 43px;
  }

  .header .m-menu__content {
    padding: 24px 12px;
  }

  .header .js-open-level {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.64px;
  }

  .header .m-catalog-icon {
    width: 24px;
    height: 24px;
  }

  .header .js-top-push-nav.is-open,
  .header .m-push__nav--level.is-open {
    left: 0;
  }

  .header .m-push__back,
  .header .m-menu-open {
    cursor: pointer;
  }

  .header .m-menu-open,
  .header .m-push__back,
  .header .m-push__nav a {
    transition: background 0.4s ease-in-out;
  }

  .header .m-navbar-navigation {
    margin: 30px 0 0 0;
    padding: 0 8px;
  }

  .header .m-navbar-info__details {
    position: relative;
    margin: 0 0 16px 0;
    padding: 0 0 0 36px;
  }

  .header .m-navbar-info__details::before {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 33px;
    margin: auto 0;
    background: url(../img/icons/profile-black-i.svg) center / cover no-repeat;
    content: '';
  }

  .header .m-navbar-info__name {
    font-weight: 500;
  }

  .header .m-navbar-info__email {
    margin: 4px 0 0 0;
    color: var(--dark-grey);
  }

  .header .m-navbar__item {
    display: flex;
    align-items: center;
    height: 16px;
    margin: 0 0 16px 0;
    line-height: 0;
  }

  .header .m-navbar__item:last-child {
    margin: 0;
  }

  .header .m-navbar__item::before {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 12px 0 0;
    content: '';
  }

  .header .m-navbar__item--order::before {
    background: url(../img/icons/cart-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--branches::before {
    background: url(../img/icons/building-line-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--viewed::before {
    background: url(../img/icons/eye-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--documents::before {
    background: url(../img/icons/checklist-i.svg) center / cover no-repeat;
  }

  .header .m-navbar__item--exit {
    color: var(--to-order);
  }

  .header .m-navbar__item--exit::before {
    background: url(../img/icons/exit-i.svg) center / cover no-repeat;
  }

  .header .m-header__nav {
    margin: 28px 0;
  }

  .header .m-header__menu-item {
    margin: 0 0 4px 0;
    padding: 8px 0;
    font-weight: 500;
  }

  .header .js-close-level {
    display: flex;
    align-items: center;
    position: relative;
    margin: 24px 0;
    padding: 8px 0 8px 35px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }

  .header .js-close-level::before,
  .m-filters .m-menu-back__btn::before {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 10px;
    height: 16px;
    margin: auto 0;
    background: url(../img/icons/arrow-big-prev.svg) center / contain no-repeat;
    content: '';
  }

  .header .m-menu .catalog-menu__link {
    margin: 0;
    padding: 10px 18px;
  }

  .header .m-menu .catalog-menu__link.has-child::after {
    display: block;
    width: 10px;
    height: 16px;
    background: url(../img/icons/arrow-small-right-i.svg) center / cover no-repeat;
    content: '';
  }

  .header .m-menu .catalog-sub-menu__link {
    margin: 0 0 5px 18px;
  }

  .header .m-menu .all-category .catalog-menu__link {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }

  .header .m-menu li {
    list-style: none;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .main .products__list .card:nth-last-child(2) {
    display: none;
  }

  /* ----- Products Card Styles ----- */

  .card {
    max-width: 100%;
  }

  .card.card--list-item .card__inner {
    flex-wrap: wrap;
  }

  .card.card--list-item .card__content {
    max-width: 100%;
    width: calc(100% - 152px);
    margin: 0 0 0 32px;
  }

  .card .card__table-availability {
    max-width: 80%;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .toolbar-block,
  .shop-catalog .shop-catalog__navigation {
    display: none;
  }

  .shop-catalog .m-toolbar-block {
    display: block;
  }

  .shop-catalog .catalog-products {
    width: 100%;
  }

  .sale-products .products-catalog--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* ----- Toolbar and Filters Products Styles ----- */

  .m-toolbar-block .m-toolbar-block__inner {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.64px;
  }

  .m-toolbar-block .m-sort-by__btn {
    justify-content: center;
    padding: 10px 0;
    font-size: 16px;
    line-height: 19px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: var(--white);
  }

  .m-toolbar-block .m-sort-by__content {
    border-top-right-radius: 0px;
  }

  .m-toolbar-block .m-filters__btn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: var(--white);
    background-color: var(--accent);
  }

  .m-toolbar-block .m-filters__btn span {
    margin: 0 0 0 20px;
  }

  .m-toolbar-block .m-filters__btn::before {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../img/icons/filter-i.svg) center / cover no-repeat;
    content: '';
  }

  .m-toolbar-block .m-view-mode {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / span 2;
    margin: 30px 0 0 auto;
  }

  .m-toolbar-block .m-view-mode__items {
    border-radius: 6px;
    background-color: var(--white);
  }

  .m-filter .push-content {
    position: fixed;
    top: 80px;
    z-index: 100;
    width: 100%;
    max-width: 520px;
    left: -100%;
    height: calc(100% - 80px);
    overflow: hidden;
    transition: ease-in-out 0.5s;
    background-color: var(--background);
  }

  .m-filter .push-content.is-visible {
    left: 0
  }

  .m-filter .m-menu-back__btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 12px 12px 12px 32px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
  }

  .m-filter .m-clear-all-btn {
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    text-decoration: underline;
    color: var(--accent);
  }

  .m-filter .m-clear-all-btn span {
    margin: 0 0 0 5px;
  }

  .m-filter .m-filter-container {
    padding: 24px 16px;
  }

  .m-filter .m-filter-menu {
    padding: 8px 0;
    position: relative;
  }

  .m-filter .m-filter-menu::after {
    display: inline-block;
    position: absolute;
    top: 0;
    right: -2px;
    bottom: 0;
    width: 14px;
    height: 10px;
    margin: auto;
    transform: rotate(90deg);
    background: url('../img/icons/arrow-small-top-blue.svg') center / cover no-repeat;
    content: '';
  }

  .m-filters .m-range-filter-form {
    font-size: 16px;
    line-height: 19px;
  }

  .m-filter .m-filter__title {
    font-size: 16px;
    line-height: 19px;
    text-align: left;
  }

  .m-filter .m-filter-menu__title {
    display: flex;
    justify-content: space-between;
    align-content: center;
    font-size: 16px;
  }

  .m-filter .m-filter-selected {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px;
    font-size: 14px;
    text-align: left;
  }

  .m-filter .m-filter-count {
    margin: 0 auto 0 0;
    padding: 0 0 0 5px;
    color: var(--dark-grey);
  }

  .irs--round .irs-handle {
    top: 25px;
    width: 24px;
    height: 24px;
  }

  .irs--round {
    height: 60px;
  }

  /* ----- Single Product Page Styles ----- */

  .product-page .p-card__gallery {
    max-width: 330px;
  }

  .product-page .p-card__info {
    max-width: 100%;
  }

  .product-page .p-card__buy-box {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .product-page .p-quantity-counters {
    margin: 0 16px 0 0;
  }

  /* ----- Checkout Page Styles ----- */

  .checkout .checkout-steps,
  .checkout .checkout-final-step {
    width: 100%;
    max-width: 100%;
  }

  .checkout .btn-login,
  .checkout .btn-next-step {
    max-width: 145px;
  }

  .checkout .btn-next-step {
    margin: 0 auto;
  }

  .checkout .btn-confirm {
    max-width: 250px;
    margin: 40px auto 0 auto;
  }

  /* ----- User Account Styles ----- */

  .user-profile .user-profile-navigation {
    display: none;
  }

  .user-profile .user-profile-branches {
    max-width: 100%;
  }

  .user-profile .user-profile-branches .btn-save {
    margin: 0 auto;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__contacts {
    padding: 40px 40px 60px 40px;
  }

  .about-us .about-us__company-info {
    max-width: 390px;
  }

  /* ----- Our Services Page Styles ----- */

  .our-services .our-services__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modal-contact-form .modal-contact-form {
    max-width: 960px;
  }

  /* ----- All Other Site Styles ----- */

  .header .mt-container {
    max-width: 1014px;
    padding: 0 24px;
  }

  .mt-container {
    max-width: 960px;
  }

  ::-webkit-scrollbar {
    width: 5px;
  }

}

@media only screen and (max-width: 960px) {

  /* ----- Header Styles ----- */

  .header .header__logo {
    display: none;
  }

  .header .m-header__logo {
    margin: 0 0 0 18px;
  }

  .header .m-header__logo,
  .header .m-header__logo-img {
    display: block;
    width: 68px;
    height: 32px;
  }

  .header .cart-checkout-popup {
    padding: 0 20px;
  }

  /* ----- Product List Styles ----- */

  .products-list .p-item__details {
    max-width: 260px;
  }

  .products-list .p-quantity-counters,
  .products-list .btn-remove {
    margin: 0 12px;
  }

}

@media only screen and (max-width: 820px) {

  /* ----- Header Styles ----- */

  .header .header__search {
    max-width: 450px;
  }

  .header .cart-checkout-popup {
    padding: 0 5px;
  }

  /* ----- Home Page Banner ----- */

  .main .banner-home__slider-item {
    height: 290px;
  }

  .main .banner-home__content {
    bottom: 42px;
  }

  .main .banner-home__text {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main .products__list .card:nth-last-child(3) {
    display: none;
  }

  /* ----- Shop Categories Styles ----- */

  .catalog .catalog-category {
    width: 33.33%;
  }

  .catalog .catalog-category:nth-child(5),
  .catalog .catalog-category:nth-child(4n+10) {
    border-left: 1px solid var(--catalog-border);
  }

  .catalog .catalog-category:nth-child(4),
  .catalog .catalog-category:nth-child(3n+8) {
    border-left: none;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .products-catalog--grid,
  .user-profile .products-catalog--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ----- User Account Styles ----- */

  .user-profile .table-debt {
    padding: 16px 8px;
  }

  .user-profile .table-document-logs tr {
    gap: 8px;
    padding: 8px;
    -ms-grid-columns: 100px 8px 26% 8px 1fr 8px 1fr 8px 1fr;
    grid-template-columns: 100px 26% 1fr 1fr 1fr;
  }

  .user-profile .table-head--print,
  .user-profile .document-print {
    display: none;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__contacts-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .about-us .about-us__company-info {
    max-width: 100%;
  }

  .about-us .contact-field__input {
    justify-content: space-between;
    max-width: 420px;
  }

  .about-us .contact-field-item::after {
    display: none;
  }

  /* ----- Our Services Page Styles ----- */

  .our-services .our-services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-contact-form .modal-contacts-fields {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }

  .modal-contact-form .modal-contact-field {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 24px 0 0 0;
  }

  .modal-contact-form .modal-contact-field__input,
  .modal-contact-form .custom-select {
    max-width: 100%;
  }

  .modal-contact-form .btn-send {
    justify-content: center;
  }

  /* ----- Footer Styles ----- */

  .footer .footer__row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 0;
  }

  .footer .footer__col {
    width: 100%;
  }

  /* ----- All Other Site Styles ----- */

  .h1-title {
    font-size: 24px;
    line-height: 28px;
  }

}


@media only screen and (max-width: 460px) {

  /* ----- Header Styles ----- */

  .header .m-header__logo,
  .header .m-header__profile {
    margin: 0 10px;
  }

  .header .header__form-input {
    padding: 0 8px;
  }

  .header .btn-search {
    right: 8px;
  }

  .header .m-menu .catalog-menu__link {
    padding: 10px;
    font-size: 14px;
    line-height: 17px;
  }

  .header .js-close-level {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Products Card Styles ----- */

  .main .products__list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .card.card--list-item .card__inner {
    justify-content: center;
    gap: 12px 0;
    padding: 20px 12px;
  }

  .card.card--list-item .card__content {
    align-items: center;
    width: 100%;
    margin: 0;
  }

  .card .card__table-availability {
    max-width: 100%;
    margin: 0;
  }

  .card.card--list-item .card__buy-box {
    flex-direction: row;
    gap: 10px;
    margin: 0 auto;
  }

  .card.card--list-item .card__price,
  .card.card--list-item .card__quantity-counters {
    margin: 0;
  }

  /* ----- Shop Categories Styles ----- */

  .catalog .catalog-category {
    width: 50%;
    padding: 12px 12px 42px 12px;
  }

  .catalog .catalog-category:nth-child(4),
  .catalog .catalog-category:nth-child(3n+8) {
    border-left: 1px solid var(--catalog-border);
  }

  .catalog .catalog-category:nth-child(3),
  .catalog .catalog-category:nth-child(2n+6) {
    border-left: none;
  }

  .catalog .free-delivery__title {
    font-size: 24px;
    line-height: 28px;
  }

  .catalog .free-delivery__text {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Toolbar and Filters Products Styles ----- */

  .m-toolbar-block .m-toolbar-block__inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    font-size: 14px;
    line-height: 17px;
  }

  .m-toolbar-block .m-filters {
    width: 100%;
  }

  .m-toolbar-block .m-sort-by__btn,
  .m-toolbar-block .m-filters__btn {
    border-radius: 8px;
  }

  .m-toolbar-block .m-sort-by__btn span,
  .m-toolbar-block .m-filters__btn span {
    margin: 0 0 0 10px;
  }

  .m-toolbar-block .m-view-mode {
    margin: 0;
  }

  /* ----- Shop Catalog Products Styles ----- */

  .shop-catalog .products-catalog--grid,
  .user-profile .products-catalog--grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .pagination .pagination__link {
    margin: 0 2px 0 0;
    padding: 8px 12px;
  }

  /* ----- Shop Modal Branches Styles ----- */

  .modal-shops .modal-shops-product__photo {
    margin: 0 20px 0 0;
  }

  .modal-shops .modal-shops-product__photo img {
    width: 130px;
    height: 100px;
  }

  .modal-shops .modal-shops-product__name {
    font-size: 14px;
    line-height: 17px;
    letter-spacing: normal;
  }

  .modal-shops .modal-shop-branch__info,
  .shops-branches .shop-branch__info {
    flex-wrap: wrap;
    gap: 5px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px solid var(--grey);
  }

  .modal-shops .modal-shop-branch__location-code {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .modal-shops .modal-shop-branch__location,
  .shops-branches .shop-branch__location {
    max-width: 100%;
    margin: 0;
    text-align: center;
  }

  .modal-shops .modal-shop-branch__price {
    font-size: 16px;
    line-height: 19px;
  }

  /* ----- Products Card Styles ----- */

  .cart-checkout .cart-checkout__inner {
    padding: 24px 12px;
  }

  .cart-checkout .cart-checkout__body {
    padding: 20px 10px;
  }

  .products-list .p-item-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 0;
    position: relative;
  }

  .products-list .p-item__details {
    max-width: 230px;
  }

  .cart-checkout .cart-checkout__bottom {
    flex-direction: column;
    gap: 24px;
  }

  .cart-checkout .btn-order.btn-checkout {
    justify-content: center;
    width: 100%;
  }

  .cart-checkout .btn-continue.btn-checkout {
    display: none;
  }

  /* ----- Checkout Page Styles ----- */

  .checkout .checkout-head__title {
    margin: 32px 0 0 0;
  }

  .checkout .link-back {
    top: -32px;
  }

  .checkout .checkout-head__location span {
    display: block;
  }

  .checkout .checkout-head__location-code {
    margin: 0 5px 0 0;
  }

  .checkout span.checkout-head__location-code,
  .checkout span.checkout-head__location-city {
    display: inline;
  }

  .checkout .checkout-step__content {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px 0;
  }

  .checkout .account-customer-fields__wrap {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .checkout .delivery-methods__col,
  .user-profile .delivery-methods__col {
    flex-wrap: wrap;
    gap: 16px;
  }

  .checkout .shipping-price__info,
  .user-profile .shipping-price__info,
  .user-profile .link-show-map,
  .checkout .link-show-map {
    margin: 0;
  }

  .checkout .btn-edit {
    margin: 0 auto;
  }

  /* ----- Single Product Page Styles ----- */

  .product-page .product__box {
    padding: 24px 12px 52px 12px;
  }

  .product-page .p-card__content {
    flex-wrap: wrap;
  }

  .product-page .p-card__gallery {
    max-width: 100%;
  }

  .product-page .p-card__info {
    padding: 0;
  }

  .product-page .delivery-option {
    flex-wrap: wrap;
  }

  .product-page .delivery-option__payment {
    margin: 12px 0 0 26px;
  }

  /* ----- Order Success Styles ----- */

  .order-finished .order-finished__bottom {
    flex-wrap: wrap;
  }

  /* ----- User Account Styles ----- */

  .user-profile .user-delivery__info,
  .user-profile .user-payment__info {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .user-profile .user-field-company,
  .user-profile .user-field__label,
  .user-profile .user-delivery__info-details,
  .user-profile .user-payment__info-details {
    padding: 12px 0;
  }

  .user-profile .user-profile-toolbar__inner {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .user-profile .user-profile-tab__header {
    align-items: flex-end;
  }

  .user-profile .user-profile-tab__inner {
    padding: 16px 16px 32px 16px;
  }

  .user-profile .user-profile-tab.close .user-profile-tab__inner {
    padding: 16px;
  }

  .user-profile .user-profile-order__info,
  .user-profile .user-profile-delivery__info {
    flex-direction: column;
    gap: 24px;
  }

  .user-profile .user-profile-order__details {
    margin: 0;
  }

  .user-profile .user-profile-delivery-address {
    margin: 12px 0 0 0;
  }

  .user-profile .user-profile-tab__footer {
    flex-direction: column;
  }

  .user-profile .user-profile-tab__footer .btn {
    justify-content: center;
  }

  .user-profile .user-profile-branches__content {
    padding: 32px 16px 60px 16px;
  }

  .user-profile .user-profile-branches__logo,
  .branches-modal .branches-modal__logo {
    flex-wrap: wrap;
  }

  .user-profile .user-profile-branch__location,
  .branches-modal .branch-modal__location {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .user-profile .user-profile-branch__code,
  .branches-modal .branch-modal__code {
    margin: 0;
  }

  .user-profile .checkbox--show-branch,
  .branches-modal .checkbox--show-branch {
    justify-content: center;
    width: 100%;
    font-size: 14px;
    line-height: 17px;
  }

  .user-profile .branches-tab__logo {
    display: none;
  }

  .user-profile .branches-tab__logo--small {
    display: block;
  }

  .user-profile .table-debts {
    font-size: 14px;
    line-height: 17px;
  }

  .user-profile .table-document-logs thead {
    display: none;
  }

  .user-profile .table-document-logs tr {
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }

  /* ----- About Us Page Styles ----- */

  .about-us .about-us__contacts {
    padding: 40px 16px 60px 16px;
  }

  .about-us .about-us-map-locations {
    top: 50px;
  }

  .about-us .about-us-map-location__wrap {
    min-width: 0;
    padding: 20px 10px;
  }

  .about-us .about-us-contact-form__inner {
    padding: 32px 16px;
  }

  .about-us .about-us-contact-form .btn-send {
    justify-content: center;
    width: 100%;
    height: 52px;
  }

  /* ----- Our Services Page Styles ----- */

  .our-services .our-services__list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .modal-contact-form {
    padding: 0 24px;
  }

  .modal-contact-form .modal-contact-form__content {
    padding: 32px 16px;
  }

  /* ----- Not Found Page Styles ----- */

  .not-found .not-found-result__msg-sub-title {
    text-align: center;
  }

  /* ----- Login and Sign Styles ----- */

  .auth-modal,
  .branches-modal {
    display: block;
    padding: 0 16px;
  }

  .auth-modal .auth-logo {
    display: flex;
    margin: 40px auto;
  }

  .auth-modal .auth-modal__body {
    padding: 60px 16px;
  }

  .branches-modal .branches-modal__content {
    padding: 32px 16px 60px 16px;
  }

  .user-profile .user-profile-branch__code,
  .branches-modal .branch-modal__code {
    font-size: 16px;
    line-height: 19px;
  }

  .user-profile .branch-modal__name,
  .branches-modal .branch-modal__name {
    font-size: 14px;
    line-height: 17px;
  }

  /* ----- All Other Site Styles ----- */

  .header .mt-container,
  .mt-container {
    padding: 0 16px;
  }

  .h2-title {
    font-size: 30px;
    line-height: 34px;
  }

}