/* Приводим дефолтный .product-list в компактный вид по типу прайс-листа */

.product-list .image .img-responsive {
  width: 70px;
}

.product-list .product-thumb {
  padding: 10px;
  display: flex;
}

.product-list .product-thumb>div:not(.image) {
  display: flex;
  width: 100%;
  align-items: center;
}

.product-list .product-thumb .caption {
  min-height: 0;
  margin-left: 0;
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
}

/* .product-list .button-group button:not(:first-child) {
  display: none;

} */

/* .product-list .product-thumb .button-group {
  width: 120px;
  height: 41px;
} */
/* 
.product-list .product-thumb .button-group button {
  width: 100%;
  height: 40px;
} */

.product-list h4 {
  font-weight: normal;
}


.product-list .price {
  align-self: center;
  margin: 0;
  margin-left: 0px;
  margin-left: auto;
  padding-right: 10px;
}

.product-list .wrap-plus-minus {
  margin: 0;
  /*   position: relative;
    left: -92px;
    top: 30px;
    transform: scale(0.9); */
}

@media (max-width: 750px) {
  #top-links {
    filter: brightness(.7);
    font-size: 1.05em;
  }
}


@media (max-width: 520px) {
  .product-list .product-thumb {
    flex-wrap: wrap;
  }

  .product-list .product-thumb .button-group {
    /*     width: 120px;
    height: 41px;
    margin-left: auto;
    margin-right: 20px;
    margin-top: 5px;
    position: relative;
    top: -59px; */
  }

  /*   .wrap-plus-minus {
    position: relative;
    top: -70px;
  } */

  .product-list .product-thumb>div:not(.image) {
    flex-wrap: wrap;
  }

  .product-list .product-thumb {
    padding-bottom: 0;
  }

}


/* активные кнопки в каталоге красные, как btn-danger */

#list-view.active {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #da4f49;
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  background-repeat: repeat-x;
  border-color: #bd362f #bd362f #802420;
}

#grid-view.active {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #da4f49;
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  background-repeat: repeat-x;
  border-color: #bd362f #bd362f #802420;
}

#list-view .fa-th-list::before {
  content: "\f0f6";
}

/* выравниваем карточке по высоте в режиме сетки */
.product-grid .product-thumb .caption {
  min-height: inherit;
}

.hidden_btn {
  display: none !important;
}


.callback-popup-title {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
  color: var(--strong-bg-color);
}

#modalFeedbackHeader .modal-dialog {
  max-width: 330px;
}

#modalFeedbackHeader .close {
  font-size: 38px;
  margin: -12px -5px -6px 0;
  opacity: 0.35;
}

.header-contacts .fa-volume-control-phone {
  position: relative;
  top: -1px;
  margin-right: 1px;
}

/* a:focus {
  color: var(--strong-bg-color);
} */

@media (max-width: 768px) {
  .modal-dialog {
    width: auto;
    margin: 10px auto;
  }
}

#top {
  position: relative;
  z-index: 3;
}

.popularcategory .product-thumb img {
  max-height: 86px;
  min-height: 86px;
}

@media (max-width: 767px) {
  .popularcategory .product-thumb img {
    max-height: 56px;
    min-height: 56px;
  }

  .popularcategory .product-thumb {
    padding-bottom: 1px;
    min-height: 320px;
  }

  .popularcategory .all_link {
    display: block;
    border-bottom: none;
    text-decoration: underline;
    font-size: 14px;

  }

  .popularcategory h4 {
    font-size: 22px;
  }

  .popularcategory .p_list li a {
    font-size: 14px;
  }

}



.btn-notify {
  background: #3e2826;
  background-image: linear-gradient(to bottom, #573e3c, #3e2826);
  border-color: #3e2826;
  color: white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-notify:hover {
  color: white;
}


.popularcategory .product-thumb {
  /* min-height: 370px; */
  min-height: 354px;
}

.popularcategory h4 {
  line-height: .8;
  font-size: 26px;
}

.popularcategory .p_list {
  min-height: 75px;
}

#column-left .list-group-item[href^="https://tab-tab.ru/sigarety_Kretek"] {
  font-size: 13px;
  letter-spacing: -0.7px;
}

/* cookie-acception */


#cookie-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--lighter-bg-color);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

#cookie-accept {
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;

  display: inline-flex;
  padding: 16px 28px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  border: 1px solid white;
  background-color: #3e2826;
  font-variant-numeric: lining-nums proportional-nums;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  text-transform: uppercase;
  cursor: pointer;
}



#cookie-accept:hover {
  background: #ff9f00;
  color: white;
}

.cookie-inner-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  gap: 40px;

  font-family: Open-sans;
}

.cookie-inner-wrap span {
  font-size: 14px;
  line-height: 1.3;
}

.cookie-inner-wrap span a {
  color: grey;
}

@media (max-width: 666px) {

  .cookie-inner-wrap {
    flex-wrap: wrap;
    padding-top: 20px;
    gap: 20px;
  }

  #cookie-accept {
    margin: 0 auto;
  }

  .cookie-inner-wrap span {
    text-align: center;
  }

}