/* стили перенесены из макета сайта */

/* часть из "Шаблоны вывода навигации" */

@media (min-width: 768px) {
  .relative {
    position: relative;
  }
  .knopka_absolute {
    position: absolute;
    top: -11px;
    right: 1px;
  }
}
.breadcrumb-item {
  flex-shrink: 0;
}

.breadcrumb li:last-child {
  flex-grow: 1;
  text-align: right;
}
#page-heading::after {
  position: relative !important;
}

.seletc_my_city,
.seletc_my_city > label {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
}
.cart_right_mrg {
  margin-left: auto;
}
@media (min-width: 400px) {
  .space-between {
    justify-content: space-between;
  }
}
@media (max-width: 400px) {
  .col-6 {
    flex: 0 0 45%;
  }
  .m_w100,
  .m_w100 > span {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .mob_cell-100 {
    flex-basis: 100% !important;
  }
  .social-link-wrapper {
    max-width: 45% !important;
  }
  .no_mob {
    display: none !important;
  }
  .header_select_city,
  .select2-dropdown {
    font-size: 16px !important;
  }
}
.product-card-image {
  z-index: 1;
}
.product-card-image:hover {
  border: 1px solid #dd1d3b;
}

/* Хедер */

.item-block {
  display: block;
  text-decoration: none;
}

.item-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-image {
  width: 50px;
  height: auto;
}

.item-links {
  display: flex;
  flex-direction: column;
  justify-content: center;

  max-width: 55%;
}

.item-links span {
  display: block;
  padding: 5px 0;
}
.arrow {
  display: none;
}
@media (max-width: 768px) {
  .mob_top_mrg {
    margin-bottom: 1rem;
  }
  .arrow {
    display: inline-block;
    font-size: 0.8em;
    margin-left: auto;
    transition: transform 0.3s;
  }

  .p53_filter-wrapper .p53_filter-link {
    display: none;
  }

  .p53_filter-wrapper .p53_filter-link.active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .p53_filter-wrapper.open .p53_filter-link {
    display: block !important;
  }

  .p53_filter-wrapper.open .p53_filter-link.active {
    display: flex !important;
  }

  .p53_filter-wrapper.open .arrow {
    transform: rotate(180deg);
  }
}
/* Ограничим ширину слайдера по центру */
.promo-slider-wrapper {
  max-width: 1200px; /* или сколько хочешь */
  margin: 0 auto;
}

/* Центрируем содержимое слайда */
.promo-slide {
  display: flex;
  justify-content: center;
}

/* Чтобы картинки не растягивались на 100% */
.promo-slide-image {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .md-none {
    display: none;
  }
  .mw-50 {
    top: -1px !important;
  }
  .editor_flex {
    display: flex;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .search-widget.in-header {
    display: block;
  }
  .cell-3_mov_w100 {
    min-width: 100%;
  }
  .search-widget-field {
    width: 100% !important;
  }
  .in_stock {
    position: relative;
    top: 0.2rem;
  }
  .mw-50 {
    width: 50% !important;
  }
  .mob_menu_btn {
    width: 4rem;
    height: 5rem;
    padding: 0.5rem !important;
  }
  .mob_menu_absolute {
    position: absolute;
    height: 5rem;
    width: 4rem;
    top: 1px;
  }
  .left {
    left: 1px;
  }
  .right {
    right: 1px;
  }
  .fixed > .mob_menu_absolute {
    height: 40px;
    text-align: center;
  }
  .fixed > .mob_menu_absolute > .mob_menu_btn {
    padding: 0;
    width: 40px;
    height: 40px;
  }
  .top-panel.fixed .search_div {
    display: none !important;
  }
}
.top-panel-curt-sidebar:before {
  content: "";
  position: relative;
  top: 0.6rem;
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url("/netcat_files/Image/icons/cart_shopping.svg");
  background-size: contain;
  background-repeat: no-repeat;
  box-sizing: inherit;
}
.fixed .top-panel-curt-sidebar:before {
  width: 25px;
  height: 25px;
  top: 0.1rem;
}

#uni-fitt-logo {
  height: 40px;
}
header {
  /* padding-top: 1rem; */
  background: white;
}
.phone-mail > * {
  padding: 10px;
}
.phone-mail a.icon-whatsapp {
  color: #12990a;
}
.phone-mail a.icon-telegram2 {
  color: #039be5;
}
.phone-mail {
  color: black;
}
.phone-mail a {
  color: black;
}
span.shopcart-widget-icon {
  color: black;
}
span.shopcart-widget-icon:hover {
  color: #dd1d3b;
}
.index-description.editor {
  margin-top: 1rem;
}
.bk {
  padding: 0.5rem;
  margin-right: 0.2rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.bk.active {
  /*background-color: #c7ffcd;*/
  /*pointer-events: none;*/
  cursor: pointer;
}
.pointer {
  cursor: pointer;
}
.bk.cp_link {
  display: inline-block;
  margin: 0.1rem 0;
}
.cp_link {
  font-weight: normal;
}
x-field {
  display: inline;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
x-field .close {
  position: absolute;
  padding: 0 5px;
  right: 0;
  top: 0.4rem;
}
x-field > input {
  width: 100%;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  padding-left: 25px;
  position: relative;
  cursor: pointer;
  font-size: 16px;
}

.custom-checkbox::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border: 2px solid #000;
  border-radius: 3px;
  background-color: transparent;
  transition: background-color 0.2s ease-in-out;
}

.custom-checkbox.active::before {
  content: "✔";
  color: green;
  text-align: center;
  line-height: 10px;
  background-color: #e0f7e0;
  border-color: #4caf50;
}

.responsive-width {
  width: 100%;
}

@media (min-width: 768px) {
  .responsive-width {
    width: 80%;
  }
}

.ss-main {
  display: flex;
  position: relative;
}

.ss-values {
  display: inline-block;
  flex-grow: 1;
}

.ss-single {
  padding: 8px;
  width: 100%;
}

.ss-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.dropdown {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 10;
}

.dropdown-menu_search {
  list-style: none;
  padding: 0;
  margin: 0;
  top: 0;
  display: none;
  position: absolute;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-height: 150px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 8px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

/* Стиль для поля ввода поиска */
.dropdown-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Стиль для выпадающего списка */
.dropdown-menu_search {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  position: absolute;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-height: 150px;
  overflow-y: auto;
}

/* Стиль для каждого элемента в списке */
.dropdown-item {
  padding: 8px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

@media (max-width: 480px) {
  .p53_wrap {
    display: flex;
    flex-direction: column;
  }

  .p53_inner-wrap {
    display: contents;
  }

  .p53_block-2 {
    order: 1;
  }

  .p53_block-1 {
    order: 2;
  }

  .p53_block-3 {
    order: 3;
  }
}

/* Футер */

/* Обёртка — включаем flex, чтобы управлять порядком */
.footer-bottom-wrapper {
  display: flex;
  flex-wrap: wrap;
}

/* Каждый блок — базово как есть */
.footer-block,
.social-link-wrapper,
.insales-copyright {
  box-sizing: border-box;
}

/* --- Мобильная версия --- */
@media (max-width: 767px) {
  .footer-bottom-wrapper {
    flex-direction: column !important;
    align-items: stretch;
  }

  .footer-block,
  .social-link-wrapper,
  .insales-copyright {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 0;
  }

  /* Устанавливаем порядок для мобильной версии */
  .order_1 {
    order: 1 !important;
  }
  .order_2 {
    order: 2 !important;
  }
  .order_3 {
    order: 3 !important;
  }
  .order_4 {
    order: 4 !important;
  }

  .logotype,
  .foot_adres,
  .foot_work,
  .foot_menu {
    text-align: center;
    width: 100%;
  }

  .foot_menu li {
    width: 100%;
  }

  .foot_menu a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .contact-link.tel {
    font-size: 1.2rem;
    display: block;
    text-align: center;
    margin: 1rem 0;
  }

  .shopcart-widget-wrapper {
    display: flex;
    justify-content: center;
  }
}
.black_link_menu {
  color: black !important;
  text-decoration: none !important;
}
.margin_b0 {
  margin-bottom: 0 !important;
}
.w-40 {
  width: 40px !important;
}
.incon-menu {
  margin: 0 5px;
}
.sidebar-menu-item.level-1 {
  padding-left: 0 !important;
}
.absolute-list {
  position: absolute;
  right: 0.75rem;
  width: 75%;
  background-color: #eeeeee;
  z-index: 999;
}
.position-inherit {
  position: inherit !important;
}
.menu_part {
  width: 50%;
}
.sidebar-menu-link.is-active {
  color: #20902b !important;
}
.b-arrow-right {
  transform: rotate(-90deg);
}
.hidden {
  display: none;
}
.search-input {
  margin: 5px;
  padding: 5px;
  width: 97%;
  font-size: 16px;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  padding: 15px;
  background-color: #fff;
  color: #333;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border: 3px solid #ff6400;
  border-radius: 15px 15px 0 0;
  z-index: 9999;
  display: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}

.cookie-popup.active {
  display: block;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  flex: 1;
  min-width: 120px;
}

.accept-btn {
  background-color: #4caf50;
  color: white;
}

.reject-btn {
  background-color: #f44336;
  color: white;
}

.cookie-link {
  color: #0066cc;
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}

/* если больше 768px */
@media (min-width: 768px) {
  .cookie-popup {
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    border-radius: 25px;
  }
}

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1111;
}
.search-modal .search-widget.in-search-panel {
  background: #fff;
  border: 6px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}
.search-modal .close-layout {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #eee;
  z-index: 1;
  opacity: 0.4;
}
.ajs-no-overflow {
  overflow: hidden;
}
.ajs-header {
  font-size: 1.5rem;
  margin: 0 0 15px 0;
  font-weight: bold;
}
.form-field.is-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  margin-right: -0.3em;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  background-color: transparent;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.3rem;
  margin-bottom: 10px;
}

.form-toggle:checked + label .form-toggle-marker {
  background-color: #312d2d;
}
.form-toggle + label .form-toggle-marker {
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  color: #312d2d;
  flex-basis: 1rem;
  height: 1rem;
  line-height: 1.7rem;
  background-color: white;
  margin-right: 0.2rem;
  position: relative;
  border: 1px solid #312d2d;
  display: inline-block;
  width: 1rem;
  /* margin-left: 0.3em; */
  margin-right: 0.6em;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  cursor: pointer;
  text-align: center;
  position: relative;
}
.form-toggle:checked + label .form-toggle-marker:after {
  font-family: "Check";
  content: url(/netcat_files/Image/icons/check.svg);
  left: 50%;
  top: 50%;
  color: white;
  background-color: white;
  position: absolute;
  transform: translate(-50%, -50%);
}
.form-toggle:not(:checked) + label {
  background-color: #ffebeb;
  color: #222222;
}
.form-field {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 100px;
}
.form-row {
  padding-right: 0.5em;
  margin-bottom: 1em;
}
.form-field p {
  margin: 0;
  padding: 0;
}
.form-field.is-text {
}
#callback {
  max-width: 460px;
}
.form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  font-size: 1rem;
}
.form-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 200px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 100%;
  flex: 1 1 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.form-row.is-text {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 30%;
  flex: 1 1 30%;
  margin-bottom: 1.25rem;
}
.form-label {
  color: #312d2d;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 100%;
  flex: 1 1 100%;
  font-weight: 400;
  color: inherit;
  line-height: 1.4;
}
.ajs-primary.ajs-buttons {
  text-align: right;
}
.is-hidden {
  display: none;
}

.ajs-modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 0;
  overflow-y: auto;
  z-index: 1981;
  min-width: 320px;
}

.ajs-panel {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0;
  -webkit-box-shadow: 0 0 4px rgb(0 0 0 / 50%);
  box-shadow: 0 0 4px rgb(0 0 0 / 50%);
  outline: 0;
  background-color: #fff;
}
.ajs-panel.at-left-position {
  width: 270px;
  top: 0;
  left: 0;
  bottom: 0;
}

.ajs-no-overflow .ajs-body {
  overflow: hidden;
}

.ajs-panel .ajs-body {
  min-height: 0;
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  overflow-y: auto !important;
}
.ajs-panel .ajs-body {
  min-height: 68px;
  background-color: white;
  padding: 1rem;
}
.ajs-modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 0;
  overflow-y: auto;
  z-index: 1981;
  min-width: 320px;
}
.ajs-dimmer {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0;
  margin: 0;
  background-color: #252525;
  opacity: 0.5;
}
.general_left_menu {
  font-size: 18px;
}
.textarea_div,
.textarea_div textarea {
  min-width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 3rem;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.item-block {
  display: flex;
  align-items: center;
  width: calc(25% - 10px);
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
  box-sizing: border-box;
}

.item-image {
  width: 120px;
  margin-right: 15px;
  border-radius: 4px;
  object-fit: cover;
}

.item-links {
  display: flex;
  flex-direction: column;
}

.item-block a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  margin-bottom: 5px;
}

.item-block a:hover {
  color: #777777;
  text-decoration: underline;
}

.dropdown-menu li:hover {
  background-color: #f0f0f0;
}

#page-heading {
  position: relative;
  cursor: pointer;
  display: inline-block;
  padding-right: 20px;
}

#page-heading::after {
  content: "▼";
  font-size: 12px;
  position: absolute;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  color: #777;
}

#page-heading.open::after {
  content: "▲";
}
