.p-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3em;
  line-height: 1.5em;
  max-height: 3em;
  word-wrap: break-word;
}

.p-price {
  height: 28px;
}

.btn-product-details {
  background-color: #e9ecef;
  color: #343a40;
}

.header .catalog-header__dropdown-left-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: none;
  background-color: #ffffff;
  text-align: left;
  padding: 8px 16px;
  border-radius: 8px;
}

.header .catalog-header__dropdown-left-menu li a:hover {
  background-color: #e9ecef;
}

.header .catalog-header__dropdown-left-menu li a:hover .fa-chevron-right {
  display: block;
}

.header .catalog-header__dropdown-left-menu li a .fa-chevron-right {
  display: none;
}

.slider__item {
  position: relative;
  margin-top: 24px;
}

.slider__item-like {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
  color: #ced4da;
}

.slider__item-old-price {
  text-decoration: line-through;
  color: #ced4da;
}

.slider__item-image {
  display: block;
  height: 200px;
  background-image: url('../assets/product.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px;
}

.slider__item button {
  padding: 8px 0;
}

main .about-text p {
  padding-bottom: 1em;
}

main .about-text {
  position: relative;
  height: 163px;
  overflow: hidden;
}

main .about-text-more {
  position: absolute;
  cursor: pointer;
  color: #6ea8fe;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) -57.29%,
    #ffffff 60.68%
  );
  height: 96px;
  width: 100%;
  bottom: 0;
}

main .about-text.open {
  height: auto;
  overflow: visible;
}

.collection-head-image .collection-overlay {
  background-size: cover;
  background-position: center;
}

.recomendation-block::before {
  display: none;
}

.recomendation-block {
  border-radius: 8px;
  background-image: url('../assets/catalog-image.png');
  background-size: cover;
  background-position: center;
}

#order-form .input-default,
#order-form .input-area {
  width: 100%;
}

.dh3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 30.25px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
}

#cart-summary {
  padding: 0;
}

.header .catalog-header__dropdown-middle-menu {
  display: none;
}

.header .catalog-header__dropdown-middle-menu.active {
  display: block;
}

.header .catalog-header__dropdown-middle-menu-goto {
  max-width: 200px;
}

.header .catalog-header__dropdown-left-menu {
  margin-top: 70px;
}

.header .main-header-mobile__menu-categories-popup {
  z-index: -1;
}

.container-collection .product__order-quantity-buy-now--main,
.container-collection .product__order-go-to-cart,
.container-collection .product__order-quantity-like,
.container-collection .owl-carousel .card-old-price {
  display: none !important;
}

.card .product__order-quantity-notification {
  margin-top: 0;
}

.filter-section-element .filter__item,
.filter-section-element .filter__item label {
  cursor: pointer;
  width: 100%;
}

.filter-section-element .show-products {
  cursor: pointer;
}

.main-header__nav-items {
  gap: 12px;
}

@media screen and (min-width: 576px) and (max-width: 990px) {
  #main-header__wrapper {
    width: 44px;
    overflow: hidden;
  }
}

@media screen and (min-width: 990px) {
  .catalog-header__button {
    width: 120px;
  }
}

@media screen and (min-width: 576px) and (max-width: 1366px) {
  .main-header__nav-item-sale,
  .main-header__nav-item-new
  {
    display: none;
  }
}

@media screen and (min-width: 800px) {
  .main-header__nav-item-sale {
    display: block;
  }
}

@media screen and (min-width: 920px) {
  .main-header__nav-item-new {
    display: block;
  }
}

@media screen and (min-width: 576px) {
  .main-header.container {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
}

@media screen and (min-width: 990px) {
  .main-header.container {
    gap: 30px;
  }
}

/* Filter */

.button-gray {
  background-color: #E9ECEF;
  color: #343A40;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 13px;
  font-weight: 500;
}

.button-gray:hover {
  background-color: #DEE2E6;
}

.container-filter h1 {
  font-size: 32px;
}

.container-filter .button-gray {
  border-radius: 12px;
  background-color: #F8F9FA;
}

.container-filter .button-gray:hover {
  border-radius: 12px;
  background-color: #E9ECEF;
}

@media screen and (min-width: 1400px) {
  .hide-desktop {
    display: none;
  }
}

.filter-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}

@media screen and (min-width: 1400px) {
  .container-filter.filter-mobile {
    display: none !important;
  }
  .container-filter .filter-desktop {
    display: flex !important;
  }
}

@media screen and (max-width: 1400px) {
  .container-filter .filter-desktop {
    display: none !important;
  }
  .container-filter.filter-mobile {
    display: flex !important;
    margin: 0 auto;
  }
}

.main-section__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

@media screen and (min-width: 576px) {
  .main-section__content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 990px) {
  .main-section__content {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (min-width: 1440px) {
  .container-filter {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: 43px;
  }
}

@media screen and (max-width: 1440px) {
  .container-filter .filter-column {
    display: none !important;
  }
}


