@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

html * {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
::after,
::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #131313;
  text-decoration: none;
}

a:hover:not(.stophover) {
  color: #e6231e;
}

.card-edit-btn {
  color: #e6231e;
}

.card-edit-btn:hover {
  color: #e6231e;
  background-color: #fff !important;
  border-color: #e6231e !important;
}

.card-delete-btn:hover {
  background-color: #000;
}

.card-delete-btn:hover svg path {
  fill: #fff;
}

.card-delete-btn:active {
  background: black !important;
  color: white !important;
}

.show-map-btn:hover {
  color: #fff !important;
}
.create-request-button small {
  display: none;
}
.catalog-menu {
  display: none;
  position: absolute;
  background-color: white;
  width: 100%;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
}

.catalog-menu a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding-right: 20px;
  /* Отступ для стрелки */
}

/* Стрелка только у главной категории */
.catalog-menu .category-link::after {
  content: "\2192";
  /* Стрелка */
  font-size: 14px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

/* Эффект при наведении для главной категории */
.catalog-menu .category-link:hover {
  color: #e6231e;
  /* Основной цвет #E6231E */
}

.catalog-menu .category-link:hover::after {
  transform: translateY(-50%) translateX(5px);
  /* Сдвиг стрелки вправо при наведении */
}

.catalog-button {
  position: relative;
}

.catalog-menu .left-panel {
  float: left;
  width: 20%;
}

.catalog-menu .right-panel {
  float: right;
  width: 75%;
}

.catalog-menu ul {
  list-style-type: none;
  padding: 0;
}

.catalog-menu li {
  margin: 10px 0;
}

.catalog-menu a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Стрелка */
.catalog-menu a::after {
  font-size: 14px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

/* Эффект при наведении */
.catalog-menu a:hover {
  color: #e6231e;
  /* Ваш основной цвет #E6231E */
}

.catalog-menu a:hover::after {
  transform: translateY(-50%) translateX(5px);
  /* Сдвиг стрелки вправо при наведении */
}

.catalog-menu .category {
  margin-bottom: 20px;
}

.catalog-menu .category h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Современные колонки */
.subcategory-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.subcategory-column {
  width: 30%;
  margin-bottom: 20px;
}

.subcategory-column h3 {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.subcategory-column ul {
  list-style: none;
  padding: 0;
}

.subcategory-column li {
  margin: 5px 0;
  font-size: 12px;
}

.subcategory-column a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.subcategory-column a:hover {
  color: #e6231e;
}

/* Контент подкатегорий */
.category-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-content.active {
  display: block;
  opacity: 1;
}

.category-content-right {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-content-right.active {
  display: block;
  opacity: 1;
  font-size: 10px;
  margin-left: 40px;
}

.category-content-nav {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-content-nav.active {
  display: block;
  opacity: 1;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.card {
  width: 220px;
}

.card__image > img {
  /*width: 100%;*/
  /*height: 100%;*/
  transition: 0.2s;
}

.card__image {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card__top {
  flex: 0 0 220px;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 220px;
}

.card__top img {
  object-fit: contain;
}

.card__bottom a {
  text-align: left;
}

@media (max-width: 768px) {
  .card {
    width: 100%;
    /* Adjust for smaller screens */
  }
}

h1 {
  font-size: 28px;
  margin: 0 0 30px 0;
  padding: 0;
}

.nav-link:hover {
  color: #e6231e !important;
}

.text-body-tertiary:hover {
  color: #313131 !important;
}

header .form-control {
  border-color: #999999;
  border-radius: 6px;
}

header .btn-danger {
  border-radius: 0 5px 5px 0;
  background-color: unset;
  color: var(--bs-btn-bg);
}
.icon-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0 16px;
}

.create-request-button {
  border-radius: 6px;
  border: 1px solid #e6231e;
  background: #e6231e;
  color: #fff;
  height: 40px;
  font-size: 16px;
  font-weight: 400;
  min-width: 120px;
}

.user-icon-container {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #e6231e;
  background-color: #fff;
  color: #e6231e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.btn-primary,
.btn-danger {
  --bs-btn-bg: #e6231e;
  --bs-btn-border-color: #c21f1b;
  --bs-btn-hover-bg: #c21f1b;
  --bs-btn-hover-border-color: #c21f1b;
  --bs-btn-active-bg: #c21f1b;
  --bs-btn-active-border-color: #c21f1b;
  --bs-btn-disabled-bg: #f68380;
  --bs-btn-disabled-border-color: #df8582;
}

.btn-outline-danger {
  --bs-btn-color: #e6231e;
  --bs-btn-border-color: #e6231e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #c21f1b;
  --bs-btn-hover-border-color: #c21f1b;
  --bs-btn-focus-shadow-rgb: 220, 53, 69;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c21f1b;
  --bs-btn-active-border-color: #c21f1b;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #dc3545;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #dc3545;
  --bs-gradient: none;
}

header .container {
  position: relative;
}

.fa-solid.fa-heart {
  color: #e6231e;
  margin: 5px 5px 0 0;
}

.text-body-tertiary .fa-regular.fa-heart {
  color: #e6231e;
  font-weight: 400;
  -webkit-text-stroke: 0;
  text-stroke: 0;
  margin: 0;
}

/* Избранное в шапке */
.fa-regular.fa-heart,
.fa-regular.fa-solid {
  color: #fff;
  -webkit-text-stroke: 1px #e6231e;
  text-stroke: 2px #e6231e;
  font-weight: 900;
  margin: 5px 5px 0 0;
}

.fa-location-dot {
  color: #131313;
}

.text-danger {
  --bs-text-opacity: 1;
  color: #e6231e !important;
}

.product__image {
  height: 160px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.product__image img {
  height: 100%;
  object-fit: contain;
}

.name {
  overflow: hidden;
  height: 40px;
}

.footer {
  position: absolute !important;
  right: 0;
  left: 0;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  padding: 3px 0;
}

footer a {
  color: #646464;
}

.carousel-control-next,
.carousel-control-prev {
  width: 5%;
}

.rating {
  font-size: 24px;
  color: #fc9700;
  line-height: 21px;
  margin-left: 5px;
  vertical-align: text-top;
}

.rating::before {
  letter-spacing: -1px;
}

.form-check-input:checked {
  background-color: #e6231e;
  border-color: #e6231e;
}

summary::-webkit-details-marker {
  display: none;
  margin-right: 10px;
}

summary {
  color: #e6231e;
  /* Цвет текста кнопки */
  cursor: pointer;
  /* Делаем курсор указателем при наведении */
}

/* Стили для основного изображения */
#main-image img {
  width: 100%;
  height: auto;
}

/* Стили для контейнера дополнительных изображений */
.additional-images {
  overflow: hidden;
  max-height: 470px;
}

/* Стили для маленьких изображений */
.additional-images img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  cursor: pointer;
  background: #fff;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.additional-images img.active {
  border: 1px solid #e6231e;
}

.options img {
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
}

.options img.active {
  border: 1px solid #e6231e;
}

.characteristics {
  background: url(../images/dots.svg) repeat-x 0 15px;
}

.slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slider-container img {
  width: 100%;
  display: none;
}

.slider-dots {
  text-align: center;
  margin-top: 10px;
}

.slider-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 5px;
}

.slider-dot.active {
  background-color: #333;
}

.container {
  max-width: 1800px !important;
}

.container.container-menu {
  max-width: 1440px !important;
}

@media (max-width: 991.98px) {
  .navbar-toggler.top-0 {
    top: -120px !important;
  }

  .wishlist {
    position: absolute;
    top: 0;
    right: 10px;
  }

  .text-nowrap {
    white-space: unset !important;
  }

  iframe {
    height: 50vh;
  }

  .slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    display: block;
  }

  .slider-container img {
    width: 100%;
    display: none;
  }
}

@media (max-width: 768px) {
  .sort {
    position: absolute;
    top: -40px;
    right: 0;
  }
}

.impr a {
  color: #e6231e;
  text-decoration: underline;
}

.impr a:hover {
  text-decoration: none;
}

input,
select,
textarea {
  box-sizing: border-box;
}

.add_product {
  background-color: #eeeeee;
  padding-top: 40px;
  padding-bottom: 100px;
}

.add_product .container {
  padding: 0 16px;
}

.add_product h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
  margin: 0;
  text-align: center;
}

.add-product__header-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.add-product__back {
  position: absolute;
}

.add_product .add_product_form {
  margin: 0 auto;
  margin-top: 30px;
  background-color: #fff;
  padding: 25px 30px;
}

.add_product .add_product_form form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/*.add_product .add_product_form .row {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*}*/

/*.add_product .add_product_form .form_param_item {*/
/*    width: calc(50% - 15px);*/
/*    margin-bottom: 30px;*/
/*}*/

.add_product .add_product_form .nice-select {
  width: 100%;
  border: 1px solid #494949;
  padding-left: 20px;
}

.add_product .add_product_form .nice-select .list {
  width: 100%;
  border: 1px solid silver;
}

.add_product .add_product_form .name_param {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: bold;
  line-height: 23px;
}

.add_product .add_product_form .form_param_item input,
.add_product .add_product_form .form_param_item select {
  width: 100%;
  border: 1px solid #494949;
  max-height: 43px;
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  border-radius: 5px;
  outline: none;
  padding: 9px 20px;
}

.add_product .add_product_form .form_param_item input {
  width: 100%;
}

.add_product .add_product_form .form_param_item.file {
  position: relative;
}

.add_product .add_product_form .form_param_item.file label {
  cursor: pointer;
  display: flex;
  gap: 15px;
}

.hidden_input .row {
  flex-wrap: wrap;
  gap: 15px;
}

.hidden_input .form_param_item {
  flex: 0 0 calc(50% - 15px);
}

.form_param_item.hidden {
  display: none;
}

.add_product .add_product_form .form_param_item.file label img:nth-child(2) {
  background-color: #e9e9e9;
  padding: 24px;
  border-radius: 7px;
}

.add_product .add_product_form .form_param_item.file input {
  width: 0;
  height: 0;
  position: absolute;
  opacity: 0;
}

.add_product .add_product_form .write_character {
  font-size: 17px;
  font-weight: 400;
  color: #000;
  opacity: 0.6;
  margin-top: 20px;
  display: inline-block;
  text-decoration: none;
  transition: 0.3s;
}

.add_product .add_product_form .write_character:hover {
  color: #e6231e;
  opacity: 1;
}

.add_product .add_product_form .form_param_item textarea {
  height: 158px;
  width: 100%;
  outline: none;
  border: 1px solid #494949;
  padding: 9px 20px;
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  border-radius: 6px;
  resize: none;
}

.add_product .add_product_form button {
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
  color: #e6231e;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

@media (max-width: 480px) {
  .add_product .add_product_form {
    padding: 25px 0;
  }
  .add-product__back {
    top: -20px;
  }
  .add_product .add_product_form button {
    font-size: 14px;
    padding: 10px;
  }
}

#category2S,
#category3S {
  background-color: #fff;
}

.previewq {
  margin-top: 10px;
}

@media (max-width: 480px) {
  .hidden_input .form_param_item {
    flex: 0 0 auto;
    width: 100%;
  }

  .add_product {
    padding: 25px 0 60px 0;
  }

  .add_product h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .add_product .add_product_form .row {
    align-items: end;
    flex-wrap: wrap;
    gap: 20px;
  }

  .add_product .add_product_form .form_param_item {
    width: 100%;
  }

  .add_product .add_product_form form {
    gap: 20px;
  }

  .add_product .add_product_form .name_param {
    font-size: 15px;
  }

  .add_product .add_product_form .form_param_item input,
  .add_product .add_product_form .form_param_item select {
    font-size: 15px;
  }

  .add_product .add_product_form .form_param_item.file label img:nth-child(1) {
    width: 61px;
    height: fit-content;
  }

  .add_product .add_product_form .form_param_item.file label img:nth-child(2) {
    width: 21px;
    padding: 20px;
  }
}

.card__image {
  text-align: center;
  max-height: 220px;
}

img {
  width: 100% !important;
  height: 100% !important;
}

.inner-container-header {
  display: grid;
  grid-template-columns: auto 150px 1fr auto;
  grid-template-rows: auto auto;
  gap: 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "city-block gen-menu gen-menu gen-menu"
    "logo catalogs-menu search-block icon-block";
}

.menu-transfer-inner {
  display: flex;
  justify-content: center;
}

.city-block-inner {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.inner-container-header .gen-menu {
  grid-area: gen-menu;
  display: flex;
  justify-content: flex-end;
}
.opencatalog, .opencatalog-desktop {
  border-radius: 6px;
  border: 1px solid#E6231E;
  background: #fff;
  color: #e6231e;
  width: 142px;
  height: 40px;
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
}

.opencatalog-desktop:hover {
	color: #fff;
	background-color: #c21f1b;
	border-color: #c21f1b;
}

.inner-container-header .top-bar {
  grid-area: top-bar;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  color: #202020;
  line-height: 58px;
}

.inner-container-header .logo {
  grid-area: logo;
  margin-bottom: 5px;
  font-size: 24px;
  white-space: nowrap;
  font-weight: bold;
  margin-right: 22px;
}

.inner-container-header .logo .img-logo {
  height: 48px !important;
  width: auto !important;
}

.inner-container-header .catalogs-menu {
  grid-area: catalogs-menu;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.inner-container-header .search-block {
  grid-area: search-block;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-left: 16px;
}

#search_btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 53%;
  right: 0;
  transform: translateY(-50%);
  
  @media (max-width: 768px) {
    transform: none;
  }
}

#search_btn i {
  font-size: 17px;
  color: #e6231e;
}

.inner-container-header .icon-block {
  grid-area: icon-block;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.inner-container-header .city-block {
  grid-area: city-block;
  font-size: 14px;
  margin-top: 5px;
  color: silver;
  font-family: "Open Sans", sans-serif;
}

.inner-container-header .togle-block {
  grid-area: togle-block;
  margin-right: 5px;
  display: none;
  line-height: 33px;
}

.logo a {
  text-decoration: none;
  color: #000;
}

.icon-block .links-text {
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
}

.inner-container-header .icon-item {
  display: flex;
  flex-direction: column;
  margin: 10px;
  align-items: center;
}

.inner-container-header .icon-item i {
  font-size: 20px;
}

.inner-container-header .icon-inner .fa-solid.fa-heart {
  margin: 0;
}

.inner-container-header .top-bar .top-bar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.inner-container-header .top-bar .top-bar-nav a {
  margin: 0;
}

.op-catalog.active .submenu {
  display: block;
}
.children-wrap,
.has-children > a {
  cursor: pointer;
}
.children-wrap p i,
.has-children > a + p i {
  transition: transform 0.3s ease;
}
.children-wrap p i.rotated,
.has-children > a + p i.rotated {
  transform: rotate(180deg);
}
@media (max-width: 992px) {
  .inner-container-header {
    grid-template-columns: max-content 1fr auto;
    grid-template-rows: auto;
    grid-template-areas: "togle-block logo logo icon-block";
  }
  .icon-block #search_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative !important;
    top: 1px;
    right: 0;
    height: 32px;
    width: 32px;
    border-radius: 6px;
  }
  .icon-block #search_btn.active {
    background: #F9F5F5;
  }
  .user-icon-container {
    border: none;
    height: 32px;
    width: 32px;
    margin-right: 16px;
  }
  .create-request-button {
    height: 16px;
    width: 16px;
    border-radius: 0;
    min-width: auto;
  }
  .create-request-button span {
    display: none;
  }
  .create-request-button small {
    display: flex;
    align-content: center;
    justify-content: center;
  }
  .inner-container-header .icon-block .links-text,
  .city-block {
    display: none;
  }
  .inner-container-header .logo .img-logo {
    height: 28px !important;
    width: auto !important;
  }
  .inner-container-header .logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .inner-container-header .catalogs-menu {
    display: none;
  }

  .inner-container-header .gen-menu {
    display: none;
  }

  .city-block {
    margin: 10px 0 6px;
  }

  header .container div a {
    display: inline-block;
  }

  .inner-container-header .togle-block {
    display: block;
  }
  .inner-container-header .togle-block .opencatalog {
    height: 32px;
    width: 32px;
    display: flex;
    justify-content: center;
  }
  .inner-container-header .search-block {
    display: none;
  }
  .inner-container-header .icon-block {
    justify-content: end;
    margin-right: 16px;
  }
  .city-block-inner {
    justify-content: flex-start;
  }
}

@media (max-width: 450px) {
  .inner-container-header .top-bar {
    font-size: 12px;
  }
}

/*---------------------------------------*/
.catmobile {
  display: none;
}

/* Основные стили для меню */
.category-menu {
  font-family: "Open Sans", sans-serif;
}

.category-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-menu > ul {
  display: flex;
  flex-wrap: wrap;
}

.category-menu > ul > li {
  position: relative;
  margin: 0 15px;
}

.category-menu > ul > li > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  background: #333;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.category-menu > ul > li > a:hover {
  background: #555;
}

/* Стили для подкатегорий */
.category-menu ul ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 200px;
}

.category-menu ul ul ul {
  left: 100%;
  top: 0;
  margin-left: 1px;
  /* Чтобы не перекрывалось */
}

.category-menu ul ul li {
  position: relative;
}

.category-menu ul ul li > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  background: #fff;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.category-menu ul ul li > a:hover {
  background: #eee;
}

.category-menu ul li:hover > ul,
.category-menu ul ul li:hover > ul {
  display: block;
  opacity: 1;
}

/* Мобильные стили */
@media (max-width: 768px) {
  .category-menu {
    font-size: 14px;
  }

  .category-menu > ul {
    flex-direction: column;
  }

  .category-menu > ul > li {
    margin: 5px 0;
  }

  .category-menu ul ul {
    position: static;
    box-shadow: none;
  }

  .category-menu ul ul ul {
    position: static;
  }
}

/*-----------------------------------------------*/
.dispblock {
  display: block !important;
}

.cataloger-button,
.name-users {
  margin: 10px 0;
}

.name-users i {
  color: #c21f1b;
  margin-left: 10px;
  font-size: 18px;
}

.cataloger-button .btn {
  border: 1px solid #333;
}

.collapsefilters {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 0fr;
  grid-template-rows: 0fr;
  overflow: hidden;
  -webkit-transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.custom-mt-2-5 {
  margin-top: 2.5rem;
}

.accfilters {
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  -o-transition: transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}

.accfilters.vtops {
  -webkit-transform: translateY(-1rem);
  -ms-transform: translateY(-1rem);
  transform: translateY(-1rem);
}

.catalogserch .accfilters.vtops {
  transform: translateY(1.2rem);
}

.collapsefilters > div {
  overflow: hidden;
}

.catalogserch .custom-mt-2-5 {
  margin-top: -1rem;
}

.collapsefilters.show {
  -ms-grid-rows: 1fr;
  grid-template-rows: 1fr;
}

@media (min-width: 768px) {
  .collapsefilters {
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
  }
}

@media (max-width: 992px) {
  .toglefix {
    margin-top: -75px;
  }
}

.headerbutton {
  width: 130px;
}

.search-for-results {
  position: absolute;
  top: 100%;
  left: 0px;
  right: 0px;
  background-color: white;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  display: block;
}

.search-for-results div a {
  margin: 12px 0 0 15px;
}

.search-for-results div:last-child {
  margin-bottom: 15px;
}

.catalog-headers {
  position: relative;
}

.headers-h1 {
  font-family: "Open Sans", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.headers-h1 h1 {
  margin: 15px 0 20px;
}

.catalog-headers::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: red;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: skewX(45deg);
}

.total-del-price {
  white-space: nowrap;
  font-size: 20px;
  font-weight: 600;
}

/*----------------------------------------------------*
       /* Основной стиль для overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Полупрозрачный черный фон */
  display: none;
  /* Скрыть по умолчанию */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Выше всего */
}

.overlay .spinner {
  border: 8px solid #f3f3f3;
  /* Серый фон */
  border-top: 8px solid #3498db;
  /* Синий цвет */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*------------------------------------------------*/
.subscription-select-container {
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.125);
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
}

.subscription-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid #e9ecef;
}

.subscription-option:last-child {
  border-bottom: none;
}

.subscription-option span {
  font-size: 14px;
}

.subscription-option .btn {
  margin-left: 10px;
}

/* Анимация для эффекта нажатия */
.subscription-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid #e9ecef;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.subscription-option:active {
  transform: scale(0.98);
  background-color: #f0f0f0;
}

/* Анимация появления селектора */
.subscription-select-container {
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.125);
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.subscription-select-container.show {
  opacity: 1;
  transform: scale(1);
}

/* Анимация скрытия селектора */
.subscription-select-container.hide {
  opacity: 0;
  transform: scale(0.9);
}

/* Стиль для выделения текущей подписки */
.subscription-option.current-subscription {
  background-color: #d1ecf1;
  /* Цвет фона для выделения */
  border-color: #bee5eb;
  /* Цвет границы для выделения */
  color: #0c5460;
  /* Цвет текста для выделения */
}

/*----------------------------------------------------------------------*/
#search_results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1000;
  display: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 5000;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
}

#search_results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#search_results ul li {
  padding: 16px 20px;
  /* Увеличенные отступы */
  font-size: 18px;
  /* Увеличенный шрифт */
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  /* Плавный переход фона */
}

#search_results ul li:last-child {
  border-bottom: none;
  /* Удаление границы у последнего элемента */
}

#search_results ul li:hover {
  background-color: #f0f0f0;
  /* Более заметный фон при наведении */
}

#search_results ul li a {
  color: #333;
  /* Цвет текста */
  text-decoration: none;
  /* Убираем подчеркивание ссылок */
  display: block;
  width: 100%;
}

#search_results ul li a:hover {
  color: #007bff;
  /* Цвет текста при наведении */
}

/*.container div {
    flex: 1 1 calc(50% - 10px); !* Two divs per row with gap *!
}*/

.search_txt_new {
  font-size: 18px;
}

@media (max-width: 991px) {
  .search_txt_new {
    font-size: 14px;
    padding: 5px;
  }
}

@media (max-width: 1160px) {
  .searchdiv {
    padding-left: 5rem !important;
  }
}

@media (max-width: 768px) {
  header .container div a {
    display: inline-block;
  }
  .inner-container-header .logo {
    font-size: 15px;
    margin-top: 5px;
  }
  .container .searchdiv {
    flex: 1 1 100%;
  }
  .container {
    padding: 0 5px;
  }
}

/*------------------------------------------------*/
.card {
  min-height: 433px;
}

#amount {
  margin: 7px 0;
  width: 100%;
}

#password,
#password_1,
#password2_1 {
  position: relative;
  display: inline-block;
}

#togglePassword3,
#togglePassword,
#togglePassword2 {
  display: inline-block;
  position: absolute;
  right: 12px;
  padding: 5px 14px;
  background: none;
  border: none;
}

#eyeIcon3,
#eyeIcon,
#eyeIcon2 {
  vertical-align: text-top;
}

@media (max-width: 480px) {
  .profileblock {
    width: 100%;
  }
}

/*#catalogButton {
        padding: 12px 10px;
}

.card__bottom {
    min-height:143px;
}
.card div form {
    min-height:32px;
}
@media (min-width: 1400px) {
.px-xxl-5 {
padding-right: 2rem !important;
padding-left: 2rem !important;
}
}*/
/* Медиа-запросы для адаптивности */
.me-3 {
  right: 25px;
}

@media (max-width: 991.98px) {
  #catalogButtonMobile {
    display: block;
  }

  .btn-outline-dark.d-lg-none {
    display: none;
  }
}

@media (min-width: 992px) {
  #catalogButtonMobile {
    display: none;
  }
}

/* Класс для кнопки гамбургер-меню */
.navbar-toggler {
  border: none;
  background-color: transparent;
}

.navbar-toggler-icon {
  width: 30px;
  height: 20px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 20"%3E%3Cpath stroke="%23000" stroke-width="2" d="M0 5h30M0 10h30M0 15h30"/%3E%3C/svg%3E');
}

/*----------------------------------------------------*/

/* Active State for List Items */
#catalogModal .list-group-item.active {
  background-color: #e0e0e0;
  /* Light grey background for active state */
  border-color: #ccc;
  /* Slightly darker border for active state */
  font-weight: bold;
  /* Make text bold */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  /* Enhance shadow for active state */
}

/* General Modal Styles */
#catalogModal .modal-content {
  font-family: "Open Sans", sans-serif;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  /* Slightly transparent white background */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* Enhanced modern shadow */
  border: none;
  /* Remove default border */
  backdrop-filter: blur(10px);
  /* Apply a backdrop blur effect for added modernity */
}

#catalogModal .modal-dialog {
  max-width: 80%;
  /* Adjust width as needed */
  margin: 1.75rem auto;
  /* Center the modal vertically */
}

#catalogModal .modal-body {
  display: flex;
  gap: 15px;
  padding: 20px;
  overflow: hidden;
  /* Ensure content fits well within the modal */
}

#catalogModal .category-list,
#catalogModal .subcategory-list,
#catalogModal .sub-subcategory-list {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(249, 249, 249, 0.8);
  /* Light background with transparency for lists */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
  transition: background-color 0.3s ease;
  overflow-y: auto;
  /* Scrollable content if needed */
}

#catalogModal .list-group-item {
  cursor: pointer;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#catalogModal .list-group-item:hover,
#catalogModal .list-group-item.active {
  background-color: #f0f0f0;
  /* Light hover color */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#catalogModal .subcategory-list,
#catalogModal .sub-subcategory-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#catalogModal .subcategory-list.show,
#catalogModal .sub-subcategory-list.show {
  max-height: 1000px;
  /* Large enough to show all content */
  opacity: 1;
}

#catalogModal .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

#catalogModal .arrow.rotate {
  transform: rotate(90deg);
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
  /* For tablets and smaller screens */
  #catalogModal .modal-dialog {
    max-width: 90%;
    /* Adjust width for smaller screens */
    margin: 1rem auto;
    /* Adjust margin */
  }

  #catalogModal .modal-body {
    flex-direction: column;
    /* Stack categories vertically */
  }

  #catalogModal .category-list,
  #catalogModal .subcategory-list,
  #catalogModal .sub-subcategory-list {
    padding: 15px;
    margin-bottom: 15px;
  }

  #catalogModal .subcategory-list.show,
  #catalogModal .sub-subcategory-list.show {
    max-height: none;
    /* Allow full height for mobile */
  }

  #catalogModal .list-group-item {
    font-size: 14px;
    /* Adjust font size */
    padding: 10px;
  }

  #catalogModal .arrow {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  /* For mobile phones */
  #catalogModal .modal-content {
    border-radius: 8px;
  }

  #catalogModal .modal-body {
    padding: 10px;
  }

  #catalogModal .category-list,
  #catalogModal .subcategory-list,
  #catalogModal .sub-subcategory-list {
    padding: 10px;
    margin-bottom: 10px;
  }

  #catalogModal .list-group-item {
    font-size: 12px;
    /* Further reduce font size */
    padding: 8px;
  }

  #catalogModal .arrow {
    font-size: 10px;
  }
}

@media screen and (max-width: 600px) {
  /*********************whishlist***********************************/
  .cards-requests-list .card__image,
  .cards-requests-list .card__top {
    height: 180px;
  }

  .cards-requests-list .card__price {
    font-size: 14px !important;
  }

  .cards-requests-list .card__title {
    font-size: 16px !important;
  }

  .cards-requests-list .card__bottom p {
    font-size: 14px;
  }

  .cards-requests-list .card__bottom {
    padding: 8px !important;
    padding-bottom: 0 !important;
  }

  .cards-requests-list .products-card-inner {
    height: auto !important;
  }

  .cards-requests-list .products-card {
    padding-bottom: 0 !important;
  }

  .cards-requests-list .card-button-div-block {
    margin-bottom: 0 !important;
  }
}

.products-card {
  position: relative;
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.176);
  transition: transform 0.5s ease-in;
}

.products-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 90%;
  padding-top: 5px;
}

.card-top {
  font-family: "Open Sans", sans-serif;
  margin: 5px;
}

.card-foto {
  height: 220px;
  width: 100%;
}

.card-foto img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.card-name {
  font-family: "Open Sans", sans-serif;
  margin: 5px 12px;
}

.card-price {
  font-size: 1.25rem;
  color: #ff0000;
  font-weight: 700;
  margin: 5px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-button {
  margin-top: auto;
}

.card-button button {
  display: block;
  width: 100%;
}

.custom-checkbox-red {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  user-select: none;
  font-size: 16px;
}

.card-checkbox-red {
  opacity: 0;
  position: absolute;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark-red {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 5px;
}

.card-checkbox-red:checked ~ .checkmark-red {
  background-color: red;
}

.checkmark-red:after {
  content: "";
  position: absolute;
  display: none;
}

.card-checkbox-red:checked ~ .checkmark-red:after {
  display: block;
}

.checkmark-red:after {
  left: 7px;
  top: 2px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.button-w-icon {
  display: flex;
  align-items: center;
  background-color: #ff0000;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.5s ease;
}

.button-w-icon:hover {
  background-color: #a10000;
}

.button-w-icon i {
  margin-left: 8px;
  font-size: 20px;
  color: silver;
}

.products-card-inner:hover {
  color: #000000;
}

.products-card:hover {
  transform: translateY(-1px);
}

.cards-wishlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 330px));
  width: 100%;
  justify-items: center;
  column-gap: 30px;
  row-gap: 40px;
  margin: 0 auto;
}

.cards-wishlist .card {
  width: 100%;
}

@media (max-width: 991px) {
  .cards-wishlist {
    column-gap: 20px;
    row-gap: 30px;
  }
}

@media (max-width: 768px) {
  .cards-wishlist {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
  }
}

@media (max-width: 576px) {
  .cards-wishlist {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
  }
}

@media (max-width: 450px) {
  .cards-wishlist {
    grid-template-columns: repeat(auto-fill, minmax(150px, 260px));
    column-gap: 10px;
  }
}

#mapid .modal-content {
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#mapid .modal-header {
  justify-content: space-between;
  background-color: #e6231e;
  color: white;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 0.75rem;
}

#mapid .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

#mapid .close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
}

#mapid .modal-body {
  padding: 1rem;
}

#mapid .modal-body h3 {
  font-size: 1rem;
  color: #e6231e;
  margin-bottom: 0.5rem;
}

#mapid .modal-body {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: 600px;
  width: 100%;
}

#mapid .modal-body #map_product_1 {
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#mapid .btn-primary {
  background-color: #e6231e;
  border-color: #e6231e;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s, border-color 0.3s;
}

#mapid .btn-primary:hover {
  background-color: #c51c1a;
  border-color: #c51c1a;
}

@media (max-width: 576px) {
  #mapid .modal-dialog {
    max-width: 90vw;
    margin: 1rem;
  }

  #mapid .modal-body h3 {
    font-size: 0.875rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  #mapid .modal-dialog {
    max-width: 80vw;
  }
}

@media (min-width: 769px) {
  #mapid .modal-dialog {
    max-width: 60vw;
  }
}

.cards-wishlist .loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.cards-wishlist .loading-spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/********************************************************/
.headers-h1 h1 {
  margin: 15px 0 20px;
  font-size: calc((100vw - 480px) / (1280 - 480) * (24 - 16) + 16px);
}

.catalog-headers::after {
  content: "";
  display: block;
  width: calc((100vw - 480px) / (1280 - 480) * (80 - 50) + 50px);
  height: 3px;
  background-color: red;
  position: absolute;
  left: 0;
  bottom: -2px;
  transform: skewX(45deg);
}

.catalog-sec,
.headers-block {
  width: 100%;
}

.catalog-sec {
  margin-top: 25px;
}

.container-inner {
  margin: 0 15px;
}

.catalog-block {
  width: 100%;
}

.catalog-block-inner {
  display: flex;
}

.filter-panel {
  position: relative;
  background: url(../images/filter-pattern.png);
  flex-basis: 425px;
  min-width: 425px;
  margin: 15px;
  border-radius: 6px;
  flex-shrink: 0;
  align-self: flex-start;
  box-shadow: rgba(0, 0, 0, 0.16) 0 3px 6px, rgba(0, 0, 0, 0.23) 0 3px 6px;
}

.filter-panel:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0 3px 6px, rgba(0, 0, 0, 0.23) 0 3px 6px !important;
}

.content-panel {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.dop-filters-card {
  margin: 15px 35px;
  max-width: 375px;
  display: flex;
  width: 100%;
}

.content-card .cards {
  display: grid;
  gap: 30px;
  justify-items: center;
  margin: 0 25px;
}

.lef-filters {
  padding: 15px;
}

.filter-open-icon {
  position: absolute;
  top: 15px;
  right: 0;
  transition: transform 0.5s ease;
  z-index: 5;
  opacity: 0;
}

@media (max-width: 992px) {
  .catalog-block-inner {
    flex-direction: column;
  }

  .filter-panel {
    width: 100%;
    flex-basis: auto;
    padding: 0;
    min-width: 100%;
    margin: 0;
  }

  .filter-open-icon {
    opacity: 1;
  }

  .collapsefilters {
    -ms-grid-rows: 0fr;
    grid-template-rows: 0fr;
  }
}

@media (max-width: 576px) {
  .content-card .cards {
    gap: 5px;
    margin: 0;
  }

  .dop-filters-card {
    max-width: 320px;
    margin: 15px 25px;
  }

  .container-inner.cards-block {
    margin: 0;
  }
}

@media (max-width: 350px) {
  .dop-filters-card {
    margin-left: 0;
  }
}

.filter-open-icon.vtops button {
  transform: rotate(180deg);
}

main {
  overflow: hidden;
}

.product-card,
.product-card-inner {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  cursor: grab;
}

.product-card {
  position: relative;
  border-radius: 6px;
  background: white;
  max-width: 300px;
  width: 100%;
}

.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  /*background: linear-gradient(90deg, red 0, #000 50%, #fc0000 100%);*/
  transition: width 0.4s ease, left 0.4s ease;
}
.product-content {
  height: 95px; /* Устанавливаем фиксированную высоту, чтобы поместились 3 строки */
  overflow: hidden; /* Обрезаем содержимое, которое не помещается */
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Ограничиваем количество строк до 3 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Добавляем многоточие, если текст не помещается */
}

.product-card:hover::after {
  width: 98%;
  left: 1%;
}

.product-card:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0 3px 6px, rgba(0, 0, 0, 0.1) 0 3px 6px !important;
}

.product-card-inner {
  width: 100%;
}
/*
.product-card-inner .card-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: calc((100vw - 480px) / (1280 - 480) * (4.44) + 12px);
  text-align: start;
  color: #000000;
}
*/

.product-card-inner .card-description,
.product-card-inner .product-price {
  font-family: "Open Sans", sans-serif;
}

.product-card-inner .product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: calc((100vw - 480px) / (1280 - 480) * (15 - 12) + 12px);
  /*font-size: 18px;*/
  line-height: 25px;
  color: #000000;
}

.product-card-inner .card-price-just {
  color: red;
  font-weight: 700;
  font-size: calc((100vw - 480px) / (1280 - 480) * (4.44) + 12px);
  /*font-size: 20px;*/
  line-height: 27px;
  text-align: start;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 168px;
  height: 100%;
  padding: 16px;
  margin-bottom: 8px;
}

.product-card-inner .card-price-discount {
  display: flex;
  align-items: center;
  text-decoration: line-through;
  color: #00000099;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  height: 100%;
}

.product-buttons {
  display: flex;
  justify-content: flex-end;
  filter: drop-shadow(0 0 0px #585858);
}

.product-buttons button {
  border: 0;
  background-color: transparent;
  color: red;
  cursor: pointer;
}

.product-buttons button i {
  pointer-events: auto;
  font-size: 25px;
}

.product-price {
  justify-content: start !important;
}

.admins-button {
  display: flex;
  justify-content: space-around;
}
/*
.product-card-inner .product-foto {
  overflow: hidden;
  height: 250px;
  width: 100%;
  border-radius: 6px 6px 0 0;
}

.product-card-inner .product-foto img {
  height: 100%;
  width: 100%;
  transition: transform 0.3s ease;
  object-fit: cover;
  border-radius: 6px;
}
*/

.product-foto img:hover {
  transform: scale(1.1) translateY(-10px);
}

.category-menu ul ul li,
.top-hiddens {
  position: relative;
}

.product-buttons {
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 25;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 300px));
  width: 100%;
  justify-content: center;
  justify-items: center;
  column-gap: 30px;
  row-gap: 15px;
  margin: 0 auto;
}

@media (max-width: 1670px) {
  .cards {
    grid-template-columns: repeat(4, minmax(250px, 300px));
  }
}

@media (max-width: 1370px) {
  .cards {
    grid-template-columns: repeat(3, minmax(250px, 300px));
  }
}

@media (max-width: 868px) {
  .cards {
    grid-template-columns: repeat(2, minmax(250px, 300px));
  }
}

@media (max-width: 576px) {
  .cards {
    grid-template-columns: repeat(2, minmax(200px, 250px));
  }
  /*
  .product-card-inner .product-foto {
    height: 180px;
  }*/
}

@media (max-width: 450px) {
  .cards {
    grid-template-columns: repeat(2, minmax(150px, 200px));
    column-gap: 15px;
  }
  /*
  .cards.fixcatalog .product-card-inner .product-foto {
    height: 150px;
  }*/
}

.fixsearch {
  margin: 15px 0;
}

.fixsearch .filter-open-icon {
  top: -12px;
}

.fixsearch .filter-open-icon.vtops {
  transform: translateY(20px);
}

.products-card-courusel .swiper-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.products-card-courusel .swiper-slide {
  text-align: center;
  font-size: 18px;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-card-courusel {
  position: relative;
}

.products-card-courusel .cards {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.menus-butt {
  padding: 6px;
  cursor: pointer;
}

.menus-butt span {
  padding-left: 5px;
}

.navi-link,
.site-header a,
.slideable-menu .menu li a,
a:hover {
  text-decoration: none;
}

.navi-link,
.slideable-menu ul li a {
  color: #000;
}

.slideable-menu {
  position: relative;
  background-color: #fff;
  overflow: hidden;
  padding: 15px 0;
  margin-left: 12px;
}

.op-catalog span {
  margin-left: 12px;
  font-size: 20px;
}
.slideable-menu .category_search i {
  padding-right: 0;
}

.slideable-menu ul {
  margin: 0;
  padding: 0;
}
.op-catalog.active {
  background: #fef4f4;
  width: 90%;
  margin: 0 auto;
  border-radius: 4px 8px 4px 8px;
  font-weight: 600;
}
.op-catalog.active span {
  margin-left: 0;
}

.slideable-menu ul li {
  list-style: none;
  margin: 20px 0;
}

.slideable-menu ul li a {
  line-height: 28px;
}
.slideable-menu-top {
  display: none;
}
.d-inline-block img,
.site-header .search-box-wrap .search-box,
.site-header .search-box-wrap .search-box-inner,
.slideable-menu ul li.t-h-dropdown {
  width: 100%;
}

.slideable-menu ul li.t-h-dropdown .t-h-dropdown-menu {
  position: relative;
  display: none;
  left: 0;
  right: auto !important;
  width: 100% !important;
}

.category-svg svg {
  height: 50px;
  width: 50px;
}

.slideable-menu ul li .t-h-dropdown-menu.open {
  display: block;
}

.slideable-menu .menu {
  display: block;
  position: relative;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition: 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.slideable-menu .menu li a {
  display: block;
  padding: 13px 20px;
  transition: color 0.3s;
  border-bottom: 1px solid #e5e5e5;
  border-left: 2px solid transparent;
  color: #505050;
  font-size: 16px;
  letter-spacing: 0.025em;
}

.slideable-menu .menu li.has-children > span {
  display: block;
  position: relative;
  width: 100%;
}

.navi-link {
  transition: color 0.3s;
}

.close {
  transition: opacity 0.25s;
  border: 0;
  background: 0;
  color: #505050;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  cursor: pointer;
}

.close:hover {
  opacity: 0.6;
}

.mobile-cat .has-children .category_search {
  padding-left: 15px;
}

.text-gray-dark {
  color: #000 !important;
}

.menu-top-area .t-h-dropdown .main-link:hover {
  color: #fff !important;
}

@media (max-width: 767px) {
  .menu-top-area .right-area {
    text-align: center !important;
  }
}

.navbar .toolbar,
.site-header .site-menu > ul > li > a::after,
.site-header .toolbar .toolbar-item.mob-vis {
  display: none;
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.nav-tabs .nav-item.dropdown .dropdown-menu {
  margin-top: -3px;
}

.nav-tabs {
  border-bottom: 0 !important;
  text-align: center;
  display: block;
}

.nav-tabs .nav-item.dropdown {
  margin-bottom: -3px;
}

.tab-content {
  padding: 0px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.top-panel-mobile {
  height: 30px;
  width: 100%;
}

.shopping-cart .btn {
  margin: 0;
}

.site-header .site-branding .site-logo > img {
  display: block;
  width: 100%;
}

.widget ul {
  margin-bottom: 12px;
}

.menu-top-area .right-area {
  text-align: right;
}

.widget-categories ul > li.has-children.expanded .children-wrap p i,
.widget-links ul > li.has-children.expanded .children-wrap p i {
  transition: 0.3s;
}

.widget-categories ul > li.has-children.expanded .children-wrap p i,
.widget-links ul > li.has-children.expanded .children-wrap p i {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.widget-categories ul > li.has-children.expanded > ul,
.widget-links ul > li.has-children.expanded > ul {
  max-height: 800px;
}

.dropdown-menu {
  border-color: #e5e5e5;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 7px 22px -5px rgba(0, 0, 0, 0.2);
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
  background: 0;
}

.toolbar-dropdown {
  right: -1px;
  left: auto;
  z-index: 10;
}

.toolbar-dropdown.cart-dropdown {
  right: 0;
  width: 280px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 0;
  max-height: 350px;
  overflow-y: auto;
}

@media (max-width: 991px) {
  .hidden-md-down,
  .hidden-on-mobile,
  .navbar {
    display: none !important;
  }

  .site-header .topbar {
    border-bottom: 0 !important;
  }

  .site-header .site-branding {
    border: 0;
  }

  .site-header .toolbar .toolbar-item.mob-vis {
    display: block;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }
}

.widget {
  margin-bottom: 54px;
}

.site-header .site-menu ul,
.widget-categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget-categories ul > li {
  position: relative;
  margin-bottom: 5px;
}

.children-wrap {
  display: flex!important;
  align-items: baseline!important;
  justify-content: normal!important;
  min-height: 0!important;
}

.children-wrap p {
  width: 30px;
  height: 24px;
}

.widget-categories ul > li > a {
  display: inline-block;
  transition: color 0.3s;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}

.widget-categories ul > li > span {
  margin-left: 4px;
  color: #999;
}

.widget-categories ul > li.has-children ul li::before {
  top: 26px;
  width: 8px;
  height: 1px;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  border: 0;
  background-color: transparent;
  color: transparent;
}

.mobile-menu .nav-tabs li {
  width: 50%;
}

.site-header {
  position: relative;
  z-index: 1000;
}

.site-header .topbar {
  background-color: #fff;
}

.site-header .navbar {
  padding-bottom: 25px;
  position: relative;
  width: 100%;
  background: #fff;
}

.site-header .navbar .nav-inner {
  display: flex;
  padding-left: 4px;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

.left-category-area .category-list .c-item:last-child,
.left-category-area .category-list .navi-link:last-child,
.left-category-area .category-list .sub-c-box .child-c-box:last-child,
.left-category-area .category-list .sub-c-box .child-category a:last-child {
  border-bottom: 0;
}

.site-header .toolbar {
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.site-header .toolbar .toolbar-item {
  position: relative;
  width: 90px;
  transition: background-color 0.3s;
  margin-left: 10px;
}

.site-header .toolbar .toolbar-item > a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 5px;
  color: #505050;
  text-align: center;
  text-decoration: none;
  background: border-box;
}

.site-header .toolbar .toolbar-item > a > div {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
}

.site-header .toolbar .toolbar-item > a > div i {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 20px;
}

.site-header .toolbar .toolbar-item > a > div > .text-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.site-header .toolbar .toolbar-item > a > div > .cart-icon,
.site-header .toolbar .toolbar-item > a > div > .compare-icon {
  display: inline-block;
  position: relative;
}

.site-header .toolbar .toolbar-item > a > div > .cart-icon > .count-label,
.site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label {
  display: block;
  position: absolute;
  top: -6px;
  right: -13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #ff0000;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}

.site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label {
  right: -17px;
  border: 1px solid #e5e5e5;
  background-color: #f5f5f5;
  color: #000;
}

.site-header .site-menu {
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
}

.site-header .site-menu ul > li > a {
  transition: 0.3s;
  color: #000;
  text-decoration: none;
}

.site-header .site-menu > ul > li {
  display: table-cell;
  position: relative;
  vertical-align: middle;
}

.site-header .site-menu > ul > li > a {
  display: block;
  position: relative;
  padding: 13px 30px;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
  font-size: 15px;
  z-index: 5;
  font-weight: 500;
}

.site-header .site-menu > ul > li > a:first-child {
  padding-left: 0;
}

.mm-heading-area {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  color: #1e1e1e;
}

.mobile-menu {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100%;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.215, 1, 0.355, 1);
  z-index: 999999;
}

.mobile-menu.open {
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3) !important;
}

.mobile-menu .toolbar {
  display: table;
  width: 100%;
  margin-bottom: 15px;
}

.mobile-menu .toolbar .toolbar-item {
  display: table-cell;
  height: 75px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
  vertical-align: middle;
}

.mobile-menu .nav-tabs {
  display: flex;
}

.mobile-menu .nav-tabs li span {
  width: 100%;
  background: #f5f6f9;
  display: block;
  font-size: 15px;
  font-weight: 400;
  padding: 5px 0;
  cursor: pointer;
}

.mobile-menu .nav-tabs li span.active {
  background: #ff0000;
}

@media (max-width: 360px) {
  .site-header .toolbar .toolbar-item {
    width: 75px;
  }
}

@media (max-width: 991px) {
  .t-h-dropdown .t-h-dropdown-menu {
    left: auto !important;
    right: 0;
  }

  .left-category-area {
    margin-bottom: 30px;
  }

  .site-header .toolbar .toolbar-item.mob-vis .text-label,
  .site-header .toolbar .toolbar-item > a > div > .text-label {
    display: none;
  }

  .site-header .toolbar .toolbar-item {
    position: relative;
    width: 45px;
    transition: background-color 0.3s;
    margin-left: 10px;
  }
}

.left-category-area .category-list .sub-c-box .child-category a i {
  margin-right: 5px;
}

.t-h-dropdown .t-h-dropdown-menu {
  top: 100%;
  text-align: left;
  z-index: 999;
  padding: 10px 15px;
  visibility: hidden;
  opacity: 0;
}

.t-h-dropdown .main-link {
  cursor: pointer;
  transition: 0.3s linear;
}

.t-h-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 30px;
}

.t-h-dropdown .main-link i {
  margin-top: 2px;
  position: relative;
  top: 2px;
  left: 4px;
}

.t-h-dropdown .t-h-dropdown-menu {
  position: absolute;
  left: 0;
  background: #fff;
  display: block;
  width: 140px;
  border-top: 2px solid red;
  box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  transition: 0.3s linear;
}

.login-register .t-h-dropdown-menu {
  min-width: 180px;
  left: auto;
  right: 0;
}

.navbar .t-h-dropdown .t-h-dropdown-menu {
  width: fit-content;
  white-space: nowrap;
}

.t-h-dropdown .t-h-dropdown-menu a {
  display: block;
  line-height: 26px;
}

.menu-top-area .login-register a,
.t-h-dropdown a {
  color: #505050;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.left-category-area {
  background: #fff;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}

.left-category-area .category-header div {
  background: #e6231e;
  color: #fff;
  font-size: 18px;
  padding: 15px;
  margin-bottom: 0;
}

.left-category-area .category-header div i {
  padding-right: 25px;
}

.t-h-dropdown:hover .t-h-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.left-category-area .category-list {
  margin-top: -9px;
  padding: 9px 0;
  position: absolute;
  box-shadow: 0px 4px 10px 0px #c55d5a40;
  border: 1px solid #e6231e80;
  left: 0;
  top: 100%;
  width: 100%;
  border-radius: 6px;
  background: #fff;
  opacity: 0;
  transform: rotateX(90deg) rotateY(0deg);
  transform-style: preserve-3d;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.left-category-area .category-list.active {
  opacity: 1;
  transform: rotateX(0deg) rotateY(0deg);
}

.left-category-area .category-list .navi-link {
  display: flex;
  justify-content: start;
  padding: 8px 15px;
}

.left-category-area .category-list .navi-link img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  display: inline-block;
}

.left-category-area .category-list .navi-link:hover img {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.left-category-area .category-list .navi-link span {
  display: inline-block;
  padding-left: 8px;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  transition: 0.3s linear;
}
.left-category-area .category-list .navi-link span:hover {
  background: #fef4f4;
  width: 100%;
  border-radius: 6px;
}

.left-category-area .category-list .sub-c-box {
  position: absolute;
  min-height: 100%;
}

.left-category-area .category-list .sub-c-box,
.left-category-area .category-list .sub-c-box .child-c-box .child-category,
.left-category-area
  .category-list
  .sub-c-box
  .child-c-box
  .child-category
  .child-subcategory {
  left: calc(100% + 3px);
  width: 250px;
  background: right bottom no-repeat #fff;
  box-shadow: 0px 4px 10px 0px #c55d5a40;
  border: 1px solid #e6231e80;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease-in-out;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease, transform 0.3s ease-in-out;
  transition: opacity 0.3s ease, transform 0.3s ease-in-out;
  transition: opacity 0.3s ease, transform 0.3s ease-in-out,
    -webkit-transform 0.3s ease-in-out;
  -webkit-transform: translateX(-40px);
  -ms-transform: translateX(-40px);
  transform: translateX(-40px);
  border-radius: 6px;
  top: 0;
}

.left-category-area .category-list .c-item:hover .sub-c-box,
.left-category-area
  .category-list
  .sub-c-box
  .child-c-box:hover
  .child-category,
.left-category-area
  .category-list
  .sub-c-box
  .child-c-box
  .child-category
  > div:hover
  .child-subcategory,
.mobile-cat .has-children .category_search,
.slideable-menu .menu li {
  display: block;
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}
.left-category-area .category-list .sub-c-box .child-c-box .child-category,
.left-category-area
  .category-list
  .sub-c-box
  .child-c-box
  .child-category
  .child-subcategory {
  position: absolute;
  height: 100%;
}

.left-category-area .category-list .sub-c-box .child-category a,
.left-category-area
  .category-list
  .sub-c-box
  .child-c-box
  .child-category
  .child-subcategory,
.left-category-area .category-list .sub-c-box .title {
  color: #000;
  line-height: 40px;
  display: block;
  padding: 0 15px;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  transition: 0.3s linear;
}

.left-category-area .category-list .sub-c-box .child-category a:hover,
.left-category-area .category-list .sub-c-box .title:hover {
  background: #fef4f4;
  width: 100%;
  border-radius: 6px;
}

.left-category-area .category-list .sub-c-box .title i {
  float: right;
  position: relative;
  top: 12px;
}
.left-category-area
  .category-list
  .sub-c-box
  .child-c-box
  .child-category
  .child-subcategory {
  position: absolute;
  left: calc(100% + 3px);
  top: 0;
  width: 250px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease-in-out;
  transform: translateX(-20px);
  z-index: 10;
}

.left-category-area
  .category-list
  .sub-c-box
  .child-c-box
  .child-category
  .child-subcategory.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-tabs .nav-item {
  display: inline-block;
  margin-bottom: 0 !important;
}

.widget.widget-categories {
  border: 0;
  margin-bottom: 15px;
}

.compare-mobile {
  margin-right: 20px;
}

.mobile-cat .has-children .category_search span {
  float: right;
  background: #070707;
  width: 25px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  transition: 0.3s;
}

.mobile-cat .has-children .category_search span:hover {
  background: #222;
  color: #fff;
}

.t-h-dropdown .t-h-dropdown-menu a i {
  padding-right: 5px;
}

.customer-request {
  text-align: center;
  width: 100%;
  margin-top: 30px;
}

.request-tag {
  position: absolute;
  padding: 0.375rem 0.75rem;
  color: #fff;
  top: 8px;
  right: 8px;
  border-radius: 0.375rem;
  z-index: 1;
}

.request-tag.btn-info {
  background: #0dcaf0;
}
.request-tag.btn-warning {
  background: #ffc107;
}
.request-tag.btn-blog {
  background: #f00dac;
}
.request-tag.btn-success {
  background: #198754;
}
.request-tag.btn-danger {
  background: #e6231e;
}
.request-tag.btn-secondary {
  background-color: #6c757d;
}

.about-img {
  max-width: 200px;
}

.nice-select span.current {
  font-size: 17px;
  font-weight: 400;
  line-height: 23px;
}

/* Fix for mobile menu item alignment conflict */
.mobile-menu .widget-categories.mobile-cat > ul > li {
    padding-left: 0 !important;
}

.mobile-menu .widget-categories.mobile-cat > ul > li::before {
    content: none !important;
}

/* Backdrop for Mobile Menu */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99990; /* Lower than mobile menu (999999), higher than content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-active {
    overflow: hidden;
}

/* Мобильный поиск */
.mobile-search-block {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1002;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    display: flex;
}
.mobile-search-block.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-search-form {
    display: flex;
    background: #fff;
    border-radius: 8px;
    align-items: center;
    width: 100%;
    max-width: 500px;
}
.mobile-search-form .form-control.search_txt_new {
    border: 1px solid #E6231E;
    border-radius: 6px;
    font-size: 16px;
    padding: 8px 12px;
}
.mobile-search-form .search-btn {
    cursor: pointer;
}
.mobile-search-form .close-mobile-search {
    background: none;
    border: none;
    color: #E6231E;
    font-size: 22px;
    cursor: pointer;
    padding: 0 6px;
    border-radius: 50%;
    transition: background 0.2s;
}
.mobile-search-form .close-mobile-search:hover {
    background: #f5f5f5;
}
@media (min-width: 993px) {
    .mobile-search-block { display: none !important; }
}

.main-header {
  position: relative;
  z-index: 1000;
}

.mobile-cat ul ul {
  padding-left: 15px;
}
