.navbar .navbar-translate .navbar-brand {
  font-size: 18px;
  color: #313131 !important;
}

.navbar-brand:hover {
    text-decoration: none !important;
    color: #313131;
}

.navbar .navbar-translate .navbar-brand:focus,
.navbar .navbar-translate .navbar-brand:hover {
    color: #313131 !important;
    border: 0;
}


/* .navbar-toggler {
  margin-right: 45px;
} */

#contacts-zone-map div:nth-child(2) {
  width: 100%;
}

a:hover,
a:focus {
  color: #868e96;
}

#billing_country_field {
  display: none;
}

.button.alt {
  background: black !important;
}

.button.alt:hover {
  background: black !important;
}

.custom-category-description {
  background: #fff;
  padding: 20px;
  font-size: 14px;
  border: 1px solid #e8e8e8;
  border-left: 3px solid black;
}

/* Панель с сортировкой */
.custom-ordering-panel {
  background: #f1f1f1;
}

.custom-ordering-panel .woocommerce-ordering {
  float: initial;
}

.custom-ordering-panel .input-group-text {
  padding: 0 0.75rem;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 36px;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  border: 1px solid #e0e0e0;
  border-radius: 3px 0 0 3px;
  border-right: 0;
}

.custom-ordering-panel .custom-select {
  color: #495057;
  font-size: 14px;
  border-radius: 0 3px 3px 0 !important;
  border: 1px solid #e0e0e0;
}

/* -- Панель с сортировкой -- */

/* Сайдбар левый (с категориями) */
.categories-sidebar-item {
  position: relative;
  display: block;
  text-transform: uppercase;
  color: #333 !important;
  text-decoration: none !important;
  outline: none !important;
  padding: 13px 20px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-bottom-width: 0px;
}

.categories-sidebar-item:last-child {
  border-bottom-width: 1px;
}

.categories-sidebar-item:hover,
.categories-sidebar-item.active {
  background: #fafafa;
}

.categories-sidebar-item:hover::after,
.categories-sidebar-item.active::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 3px;
  height: 100%;
  background: black;
  display: block;
}

.news header h5 {
  text-transform: uppercase;
  font-size: 7vw;
}

.container-fluid.news .text-primary {
  color: #313131 !important
}

/* -- Сайдбар левый (с категориями) -- */

/* Карточки категорий */
.shop-cards {
  top: 0;
}

.shop-cards .card-title {
  text-align: center;
  font-size: 20px; 
}

/* .news .card-title {
  color: #313131 !important;
} */

.shop-cards .card {
  height: 300px;
}

.shop-cards img {
  height: 300px;
}

.shop-cards .card-text {
  font-size: 14px;
  line-height: 25px;
}

/* -- Карточки категорий -- */

/* Сетка товаров */
.product-cards-item-wrapper {
  position: relative;
  perspective: 800px;
  border: 1px solid #e8e8e8;
  padding-right: 15px;
  padding-left: 15px;
  margin: 0 -1px -1px 0;
  background: #fff;
  -webkit-perspective: 800px;
  transition: all 0.4s;
}

.product-cards-item-wrapper:hover {
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.product-cards-item.flipped {
  transform: translateX(-100%) rotateY(-180deg);
  -webkit-transform: translateX(-100%) rotateY(-180deg);
}

.product-cards-item {
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 1s, box-shadow 0.3s ease-in-out;
  -webkit-transition: transform 1s, box-shadow 0.3s ease-in-out;
  transform-origin: right center;
  -webkit-transform-origin: right center;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
}

/* Страница товара */

.single-product-characteristics-top .product-top-wrap {
  padding-right: 15px;
  padding-left: 15px;
}

@media (max-width: 600px) {

  .single-product-characteristics,
  .product-characteristics {
    font-size: 10px;
  }

  .news header {
    margin-bottom: 54px;
  }
}

.single-product-instock {
  word-break: break-word;
  margin-bottom: 10px;
}

/* Таблица характеристик товара */
.single-product-characteristics-wrapper .woocommerce-product-attributes.shop_attributes {
  font-size: 14px !important;
  border-top: 0;
}

.single-product-characteristics-wrapper .woocommerce-product-attributes.shop_attributes th {
  width: 200px !important;
  border-bottom: 0px !important;
}

.single-product-characteristics-wrapper .woocommerce-product-attributes.shop_attributes td {
  border-bottom: 0px !important;
}

/* /Таблица характеристик товара */

.single-product-gallery-wrapper video {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.product-top-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

/* Наличие товара */
.single-product-instock,
.single-product-sku {
  padding: 0;
}

.single-product-sku {
  text-align: right;
}

/* /Наличие товара */

/* /Страница товара */

.product-cards-item-sku {
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: #b3b3b3;
}

.product-cards-item>div {
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
  z-index: 1;
  background: #fff;
  padding: 15px;
}

.product-cards-item a {
  display: block;
  outline: none !important;
  text-decoration: none !important;
  font-size: 20px;
  line-height: 22px;
  color: #999;
}

.p-15 {
  padding: 15px;
}

.product-cards-item .back-side {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.product-cards-item-in-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 195px;
  color: #333 !important;
  font-size: 14px;
}

.product-cards-item-link:hover .product-cards-item-image img {
  transform: scale(1.06);
}

.product-cards-item-image {
  width: 100%;
  overflow: hidden;
}

.product-cards-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: all 0.3s ease-in-out;
}

.product-cards-item-title {
  display: block;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 10px;
  overflow: hidden;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  color: #212529;
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.2s ease-in-out;
}

.single-product-characteristics-wrapper .block-to-buy {
  margin-bottom: 16px !important;
  color: #c9c9c9 !important;
  background-color: rgb(230,230,230) !important;
  cursor: unset;
}

.single-product-characteristics-wrapper .block-to-buy:hover {
  color: rgb(80,80,80) !important;
  background-color: rgb(230,230,230) !important;
}

.single-product-characteristics-wrapper .block-to-buy:focus {
  color: rgb(80,80,80) !important;
  background-color: rgb(230,230,230) !important;
}

.single-product-characteristics-wrapper .stock.out-of-stock {
  font-weight: 600;
}

.block-to-buy:focus {
  color: white !important;
  border: 0px;
}

.product-cards-item-price {
  font-weight: bold;
  font-size: 20px;
}

a.button.loading::after {
  top: 0.7rem !important;
}

.content-product-cart-button {
  padding: 0.7rem !important;
  border-radius: 20px !important;
}

.product-cards-item-cart-button {
  width: 90px;
  padding: 0.7rem !important;
  text-align: center;
  border-radius: 20px !important;
  transition: all 0.4s;
}

.content-product-cart-button.added,
.product-cards-item-cart-button.added {
  display: none !important;
}

.product-cards-item-cart-button.loading {
  width: 140px;
  padding-right: 40px !important;
}

.added_to_cart {
  border-radius: 20px !important;
}

a.add_to_cart_button.ajax_add_to_cart.loading {
  width: 127px;
}

.product-cards-item a.added_to_cart.wc-forward {
  font-size: 100%;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: visible;
  padding: 0.618em 1em;
  font-weight: 700;
  border-radius: 3px;
  left: auto;
  border: 0;
  display: inline-block;
  box-shadow: none;
  text-shadow: none;
  color: #fff !important;
  background: black !important;
  transition: all 0.2s ease-in-out;
}

.product-cards-item a.added_to_cart.wc-forward:hover {
  background: black !important;
}

.added_to_cart.wc-forward,
.shop-button {
  display: inline-block;
  width: 100%;
  padding: 0.7rem !important;
  color: #fff !important;
  background: black;
  text-align: center;
  outline: none !important;
  text-decoration: none !important;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  border: 0;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-shadow: none;
}

.added_to_cart.wc-forward:hover,
.shop-button:hover {
  color: #fff !important;
  background: black !important;
}

/* -- Сетка товаров -- */

/* Карточка товара */
.single-product-top {
  margin-top: 80px;
  margin-bottom: 40px;
}

.lSSlideOuter {
  border-radius: 10px;
}

.single-product-top .col-lg-6 {
  margin-bottom: 30px;
}

.single-product-characteristics-wrapper .breadcrumb {
  text-align: left;
  padding-left: 0;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.single-product-characteristics-wrapper .pages-header {
  padding-right: 1rem;
}

.single-product-characteristics-wrapper {
  box-shadow: 0px 0px 10px 4px rgba(34, 60, 80, 0.2);
  border-radius: 10px;
  margin-top: -30px;
}

.single-product-gallery-wrapper {
  border-radius: 10px;
}

.single-product-characteristics-wrapper,
.product-characteristics-wrapper,
.single-product-description-wrapper {
  padding: 10px;
  background: #fff;
}

.single-product-characteristics,
.product-characteristics {
  width: 100%;
  font-size: 12px;
  margin-top: 40px;
}

.product-characteristics {
  margin-top: 0;
  color: #2c2c2c;
}

.product-cards .product-characteristics td {
  line-height: 1.3;
  padding-bottom: 5px;
  padding-top: 5px;
}

.single-product-characteristics td:nth-child(even) {
  text-align: right;
}

.product-characteristics td:nth-child(even) {
  text-align: right;
}

.single-product-characteristics-wrapper {
  padding: 30px 40px;
  font-size: 15px;
}

.single-product-characteristics-wrapper .pages-header {
  font-size: 12px;
}

.product-characteristics-wrapper {
  padding: 15px 20px;
  font-size: 15px;
}

.single-product-description-wrapper {
  font-size: 14px;
  padding: 15px 30px 45px;
}

.single-product-gallery-wrapper .lSPager img {
  width: 100% !important;
  height: 75px !important;
  object-fit: cover;
}

.single-product-gallery-wrapper .lightSlider img {
  width: 100%;
  object-fit: contain;
  cursor: zoom-in !important;
  border-radius: 10px;
}

.lSSlideOuter .lSPager.lSGallery img {
  border-radius: 10px;
}

@media (min-width: 1200px) and (max-width: 1500px) {
  .category article {
    padding: 0;
  }
}

.single-product-top .shop-button {
  font-size: 20px;
  border-radius: 30px;
  width: 200px;
  height: 50px;
}

.custom-product-price {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-count-and-cart .counter button,
.product-count-and-cart .counter input {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.product-count-and-cart .counter button {
  margin-top: 2px;
  padding: 10px 15px;
}

.product-count-and-cart .counter input {
  padding: 10px 5px;
  font-size: 14px;
}

.product-count-and-cart .counter {
  display: flex;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  width: 57px;
  height: 50px;
}

.cart-btn-wrap {
  margin-left: -15px;
}

.woocommerce-message {
  border-top-color: black;
}

.woocommerce-message::before {
  color: black;
}

.single-product-characteristics td {
  padding: 5px 0px;
}

.single-product-characteristics tr,
.product-characteristics tr {
  border-bottom: 1px solid #ececec;
}

.single-product-characteristics tr:last-child,
.product-characteristics tr:last-child {
  border-bottom: none;
}

.single-product-characteristics td:first-child {
  color: #999;
}

.single-product-characteristics-top {
  align-items: flex-start;
  margin-bottom: 15px;
}

.single-product-sku {
  font-size: 14px;
  font-weight: 500;
  color: #b3b3b3;
}

.activities__wrapper {
  display: flex;
  justify-content: flex-start;
  width: 265px;
}

.activities__wrapper-big .input-group {
  width: auto;
}

.activities__wrapper-big {
  display: flex;
  justify-content: flex-start;
  width: 315px;
}

.single-product-top .shop-button-link {
  margin-left: 25px;
  padding-top: 15px !important;
  width: 250px;
}

.single-product .woocommerce-message {
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .single-product-characteristics-wrapper .pages-header h1 {
    font-size: 2.5em;
  }

  .mr-20 {
    margin-right: 20px;
  }
}

@media (max-width: 990px) {
  .single-product-top {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .single-product-gallery-wrapper {
    margin-bottom: 50px;
  }

  .single-product-characteristics-wrapper {
    box-shadow: none;
  }

  .mr-20 {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .category .the_category {
    margin-top: 60px;
  }
}

@media (max-width: 410px) {
  .single-product-top .shop-button-link {
    font-size: 16px;
    width: 175px;
    padding-top: 17px !important;
  }
}

@media (max-width: 376px) {
  .single-product-characteristics-wrapper {
    padding: 20px;
  }
}

/* -- Карточка товара -- */

/* Стили маленькой корзины */

.top-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-cart-icon svg {
  margin-right: 10px;
}

.cart-items {
  margin-left: 15px;
  display: flex;
}

@media (max-width: 1200px) {
  /* #top-cart {
    padding: 0;
    position: absolute;
    right: 60px;
    top: 0;
    bottom: 0;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
  } */

  .top-cart-icon {
    justify-content: flex-end;
  }
}

.cart-customlocation {
  position: relative;
  transition: all 0.2s ease-in-out;
  padding-top: 8px;
}

.cart-customlocation svg {
  font-size: 25px;
  color: #333;
}

.cart-customlocation .cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
/*  width: 24px;
  height: 24px;*/
  text-align: center;
  /*line-height: 22px;*/
  width: 20px;
  height: 20px;
  line-height: 17px;
  box-sizing: border-box;
  background: black;
  border: 2px solid #fff;
  padding: 0;
  border-radius: 50%;
  /*font-size: 13px;*/
  font-size: 10px;
  color: #fff;
}

.cart-customlocation:hover {
  transform: scale(1.05);
}

.woocommerce-cart .custom-cart-page table.cart img {
  width: 100px;
}

span.woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

span.woocommerce-input-wrapper>input,
span.woocommerce-input-wrapper>textarea,
span.woocommerce-input-wrapper .select2-selection {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

span.woocommerce-input-wrapper>textarea {
  height: 11rem !important;
}

span.woocommerce-input-wrapper .select2-selection__rendered {
  line-height: normal !important;
  padding: 0 !important;
}

span.woocommerce-input-wrapper .select2-selection {
  height: auto;
}

span.woocommerce-input-wrapper .select2-selection__arrow {
  height: 30px !important;
}

form.checkout label {
  color: #212529;
}

form.checkout .form-row {
  margin-bottom: 1rem;
}

#billing_address_1_field {
  margin-bottom: 0.5rem;
}

form.checkout .optional {
  display: none;
}

.cart-form .product-thumbnail img {
  max-width: 100px;
}

/*  -- Стили корзины и оформления заказа -- */

.full-map {
  width: 100%;
}

#contacts-data {
  z-index: 1;
}

.pages-header {
  padding: 50px 0 0;
}

#breadcrumbs {
  display: none;
}

/* Значек удаления */
table.cart-table td.product-remove {
  font-size: 20px;
}

.woocommerce a.remove {
  color: rgb(66, 66, 66) !important;
  width: auto;
}

.woocommerce a.remove:hover {
  color: rgb(66, 66, 66) !important;
  background: none;
}

/* ------ */
table.cart-table thead {
  background-color: #f6f6f6;
  text-align: center;
}

.cart-table {
  background: #fff none repeat scroll 0 0;
  border-color: #ebebeb;
  border-radius: 0;
  border-style: solid;
  border-width: 1px 0 0 1px;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

.update-cart-btn {

  background-color: #c2c2c2;
  color: #000;
  border-radius: 20px;
}

.update-cart-btn:hover {
  background-color: #c2c2c2;
  color: #000;
}

#customer_details,
#order {
  border-radius: 10px;
}

.cart-form-wrapper {
  padding: 15px;
  background-color: #fff;
  border-radius: 10px;
}

table.cart-table th,
table.cart-table td {
  border-bottom: 1px solid #ebebeb;
  border-right: 1px solid #ebebeb;
}

table.cart-table td {
  padding: 20px 10px;
  font-size: 13px;
  border-top: medium none;
  vertical-align: middle;
}

table.cart-table th {
  padding: 20px 10px;
  font-size: 15px;
  text-transform: capitalize;
  text-align: center;
  font-weight: 500;
  vertical-align: middle;
  white-space: nowrap;
  border-top: medium none;
}

table.cart-table th {
  padding: 20px 10px;
  font-size: 13px;
  border-top: medium none;
  vertical-align: middle;
}

table.cart-table a,
table.cart-table button,
table.cart-table input {
  outline: medium none;
  color: #434343;
}

.cart_totals th {
  padding: 10px 30px !important;
  font-size: 15px;
  color: #252525;
  border-bottom: 1px solid #ebebeb;
  font-weight: 700 !important;
  vertical-align: middle !important;
}

.woocommerce-shipping-destination {
  font-size: 13px;
  line-height: 1.2 !important;
}

.woocommerce ul#shipping_method li {
  text-align: left;
}

/* -- Оформление страницы "Корзина" -- */
/* Оформление страницы "Оформления заказа" */
.woocommerce form .form-row {
  display: block;
}

#customer_details .col-12 {
  padding: 35px;
  padding-bottom: 10px;
  background: white;
}

#customer_details .col-12~.col-12 {
  padding: 0 35px 35px 35px;
  background: white;
}

/* .woocommerce-checkout {
  font-size: 15px;
} */

.woocommerce-checkout h5 {
  padding-bottom: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.woocommerce-checkout #order {
  padding: 15px;
  height: 100%;
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.woocommerce table.shop_table td.product-name {
  max-width: 150px;
}

#order_review_heading {
  padding: 16px 0;
  text-align: center;
}

.woocommerce-checkout #payment {
  background-color: #f3f3f3;
}

.wc_payment_method {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.wc_payment_method label {
  max-width: 87%;
}

.payment_method_rbspayment img {
  width: 150px;
}

/* Кнопка "Подтвердить заказ"  */
#place_order.btn {
  width: 100%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.woocommerce-checkout .woocommerce-NoticeGroup {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* -- Оформление страницы "Оформления заказа" -- */
/* Оформление страницы "Заказ принят в обработку" */
.woocommerce-order {
  font-size: 15px;
}

.woocommerce-thankyou-order-received {
  font-size: 30px;
  font-weight: 900;
  color: #78ea78;
  line-height: 1.1 !important;
}

.woocommerce ul.order_details {
  padding: 15px;
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .woocommerce ul.order_details {
    display: flex;
    flex-direction: column;
  }

  .woocommerce ul.order_details li {
    padding: 8px;
  }
}

.woocommerce-order-received .woocommerce table.shop_table {
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.woocommerce-customer-details address {
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

/* -- Оформление страницы "Заказ принят в обработку" -- */
.btn,
.wc-forward {
  border-radius: 25px !important;
}

.button.wc-forward {
  font-size: 13px !important;
}

.subcat-card .product-cards-item {
  text-align: center;
  height: auto;
}

.subcat-card .img-right {
  box-shadow: none;
  margin-bottom: 10px;
}

.shop-cards .row .category-direction-wrapper:nth-child(2n) {
  flex-direction: row-reverse;
}

.border-radius {
  border-radius: 10px;
}

.single-product .woocommerce-message {
  font-size: 18px;
}

.product-cards .front-side,
.subcat-card .front-side {
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
}

.subcat-card .front-side .product-cards-item-title,
.subcat-card .front-side .img-right {
  margin: 0;
}

.subcat-card__inner {
  height: 85px;
  display: flex;
  align-items: center;
}

.card-button .product-cards-item-link {
  display: none;
}

.cart_totals .woocommerce-shipping-destination {
  display: none;
}

.single-product-top .lSSlideOuter.noPager {
  position: sticky;
  top: 100px;
}

.single-product-description-wrapper>.container {
  line-height: 2;
  font-size: 16px;
}

.single-product-description-wrapper .single-product-description {
  font-size: 1.7em;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce .woocommerce-pagination ul.page-numbers li,
.woocommerce-page .woocommerce-pagination ul.page-numbers li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 0;
  border-radius: 30px !important;
  transition: all 0.3s;
  padding: 0 11px;
  margin: 0 3px;
  min-width: 30px;
  text-align: center;
  height: 30px;
  line-height: 30px;
  color: #2c2c2c;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  background: 0 0;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: black;
  border-color: black;
  color: #fff;
}

.shop-container .woocommerce-pagination {
  margin-top: 15px;
}

.product-cards-item-price {
  display: flex;
  flex-direction: column-reverse;
}

.product-cards-item-price ins,
.custom-product-price ins {
  text-decoration: none;
}

.product-cards-item-price del {
  font-size: 14px;
}

.custom-product-price del {
  font-size: 30px;
  color: #868e96;
}

.footer-contacts .text-secondary span {
  margin-bottom: 10px;
  line-height: 1.4;
  display: block;
  font-weight: 400;
}

#contacts-data .contacts-adress-wrapper span {
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 600;
  display: block;
}

#contacts-data .text-custom-gold {
  color: #d0c48c;
}



@media (max-width: 576px) {
  a.add_to_cart_button.ajax_add_to_cart.loading {
    width: 100%;
  }
  
  .product-cards-item a.added_to_cart.wc-forward {
    width: 100%
  }

  .card-button {
    width: 100%;  
  }
  
  .card-button a {
    /* font-size: 0.8em !important; */
    width: 100%;
  }

  .product-cards-item a {
    width: 100%;
  }

  .product-cards-item .card-bottom-wrapper {
    position: unset !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    align-content: start;
  }

  .product-cards-item table.shop_attributes {
    margin-bottom: 0 !important;
  }

  /* .product-cards-item-price {
    font-size: 0.8em;
  } */
}

@media (max-width: 998px) {
  .single-product-top .lSSlideOuter.noPager {
    position: relative;
    top: 0;
  }

}

@media (max-width: 764px) {
  .jumbotron.jumbotron-video h2 {
    font-size: 45px;
  }
}

@media (max-width: 576px) {
  .navbar-toggler {
    margin-right: 0px;
  }


  .single-product-description-wrapper .single-product-description {
    font-size: 1.5em;
  }

  .single-product-description-wrapper>.container {
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .single-product-instock {
    flex: 100%;
    max-width: 100%;
  }

  .single-product-sku {
    display: none;
  }

  .single-product-description-wrapper>.container {
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  article.the_category {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 340px) {
  .product-cards-item-wrapper {
    flex: 100%;
    max-width: 100%;
  }
}

.section-services .card .front-side .card-img {
  opacity: 0.7;
}

.header-logo {
  height: 50px !important;
  object-fit: contain;
}

@media (max-width: 340px) {
  .card-button {
    margin-top: 0;
    width: auto;
  }

  .card-button .woocommerce #respond input#submit,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: auto;
  }
}

/* @media (max-width: 420px) and (min-width: 340px) {
  .product-cards-item a.added_to_cart.wc-forward {
    font-size: 11px;
  }
} */

.img-about {
  position: sticky;
  top: 100px;
  height: auto;
}

#main .category-list article {
  width: 100%;
}

#about-description iframe {
  width: 100%;
  height: 600px;
}


/* Видео */

#portfolio .video {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  gap: 20px;
}

#portfolio .video__title {
  font-family: ArtegraSans;
  font-size: 36px;
  font-weight: 700;
  line-height: 49px;
  letter-spacing: 0em;
  color: #000;
  margin-bottom: 40px;
}

#portfolio .video__item {
  flex-basis: calc(50% - 10px);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

#portfolio .video__item::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 22%;
  height: 100%;
  background: url(../images/play.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.2s;
  pointer-events: none;
  opacity: .8;
  filter: grayscale(1);
}

#portfolio .video__item:hover:after {
  opacity: 1;
  filter: brightness(1);
}

#portfolio .video__preview {
  width: 100%;
  object-fit: cover;
  font-size: 1.2em;
  height: unset;
  margin: 0;
  box-shadow: 0 12px 20px rgb(64 64 64 / 42%);
}

#portfolio .video__label {
  position: absolute;
  top: 16px;
  left: 16px;
  color: white;
  font-weight: 500;
  z-index: 2;
}

#portfolio .video__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-shadow: inset 12px -20px 120px 0px #00000094;
}

.fancybox__container {
  --fancybox-accent-color: #313131;
}

#portfolio a.btn {
  margin-top: 40px;
}

.home #portfolio {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
}


#video-click::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
/*   background: rgba(0, 0, 0, 0.44); */
}

/* /Видео */

.features-icon {
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 4px;
  padding-left: 3.8px;
}

/* Страница контакты */

.page-template-page-contacts {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.page-template-page-contacts .navbar {
  min-height: unset;
}

.contacts-block-item-header {
  font-size: 18px;
  line-height: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.contacts-map iframe {
  width: 100%;
  height: 400px;
  border: 0 !important;
}

.contacts-map::after {
  content: '';
  display: block;
  margin: 0 auto;
  margin-top: -15px;
  width: 93%;
  height: 0px;
  box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 25%);
}

.contacts-map-wrapper {
  margin-bottom: 50px;
}

.contacts-entrance-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img {
  vertical-align: middle;
  border-style: none;
}

.contacts-entrance-image {
  margin-top: 30px;
  height: 400px;
}

.contacts-entrance-image::after {
  content: '';
  display: block;
  margin: 0 auto;
  margin-top: -9px;
  width: 78%;
  height: 0px;
  box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 25%);
}

.contacts-map {
  position: relative;
  margin-top: 30px;
}

/* /Страница контакты */

/* Тинькофф */

.tinkoff-button {
  background-color: #ffdd2d;
  color: #333;
  margin-left: 16px;
}

.tinkoff-button:hover {
  background-color: gold;
  color: #333;
}

#tinkoff-modal {
  z-index: 9999;
}

/* /Тинькофф */

/* Слайдер товаров */
/* .lSSlideOuter .lSGallery li,
.lSSlideOuter .lightSlider>* {
  height: 100%;
} */

.wc-proceed-to-checkout {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
}

/******** Sidebar left ********/
.sidebar-left {
  width: 270px;
  flex-shrink: 0;
}

.sidebar-left-wrapper {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px #e6e6e6;
  padding: 20px;
  margin-bottom: 30px;
}

.sidebar-left .berocket_aapf_widget-title_div {
  padding-right: 0 !important;
}

.sidebar-left .berocket_aapf_widget {
  padding-left: 0 !important;
  margin-right: 0 !important;
}

.sidebar-left .berocket_aapf_widget-title {
  font-weight: bold;
}

.sidebar-left .berocket_filter_slider.ui-widget-content .ui-slider-range,
.sidebar-left .berocket_filter_price_slider.ui-widget-content .ui-slider-range {
  background: none repeat scroll 0 0 #e31e24 !important;
}

.sidebar-left .slide .ui-widget-content {
  border: 1px solid #e31e24 !important;
}

.sidebar-left .slide .ui-state-default,
.sidebar-left .slide .ui-widget-content .ui-state-default,
.sidebar-left .slide .ui-widget-header .ui-state-default {
  background: #000 !important;
  border: 1px solid #000 !important;
  color: #000 !important;
}

.sidebar-left .berocket_label_widgets {
  padding-left: 2px !important;
}

.sidebar-left .berocket_aapf_widget li.slider span.left input,
.sidebar-left .berocket_aapf_widget li.slider span.right input {
  width: 90%;
  border-radius: 3px;
  font-style: normal;
}

.show-filters-button {
  display: none;
  width: 100%;
  margin-bottom: 15px;
  font-size: 13px;
}

.sidebar-left-top {
  display: none;
  margin: -20px -20px 20px -20px;
}

.sidebar-left-header {
  padding: 15px 20px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.sidebar-left-close {
  padding: 15px 20px;
  margin-left: auto;
  font-size: 16px;
}

.show-filters-button {
  font-family: "Roboto";
}

@media all and (max-width: 992px) {
  .show-filters-button {
    display: block;
  }

  .sidebar-left-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 100;
    overflow: scroll;
    background: #fff;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .sidebar-left-top {
    display: flex;
  }
}

  .bapf_ckbox_square input[type="checkbox"] {
    padding: 4px 3px 4px 5px;
  }

  .bapf_head h2,
  .bapf_head h3 {
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .bapf_body ul {
    padding: 0;
  }

  .bapf_sfilter ul li {
    margin-bottom: 5px !important;
  }

  .bapf_body label {
    margin-bottom: 0;
  }

  .divi_slider_class .bapf_slidr_all .bapf_slidr_main.ui-slider .ui-slider-handle {
    border: 1px solid #000;
    background: #fff;
    border-radius: 3px;
    outline: 0 none;
    touch-action: none;
    width: 11px;
    height: 20px;
    cursor: col-resize;
  }

  .divi_slider_class .bapf_slidr_all .bapf_slidr_main.ui-slider .ui-slider-range {
    background: black;
    height: 7px;
  }

  .bapf_divi_sfa h3,
  .divi_checkbox_class h3,
  .divi_color_class h3,
  .divi_image_class h3,
  .divi_slider_class h3 {
    padding: 15px 0 0;
    margin-bottom: 10px;
    color: black;
    border: none;
  }

  .pagination .page-item.active>.page-link {
    background-color: #313131;
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.2);
  }

  .bapf_tbprice {
    display: none;
  }

  .bapf_slidr_jqrui .bapf_from input,
  .bapf_slidr_jqrui .bapf_to input {
    border: 1px solid #3f3f3f;
    font-size: 12px;
    color: #3f3f3f;
    text-align: center;
    width: 75%;
    max-width: 800px;
    border-radius: 3px;
    height: 25px;
    margin-bottom: 10px;
  }

.woocommerce nav.woocommerce-pagination ul,
.woocommerce .woocommerce-pagination ul.page-numbers li,
.woocommerce-page .woocommerce-pagination ul.page-numbers li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 0;
  border-radius: 30px !important;
  transition: all 0.3s;
  padding: 0 11px;
  margin: 0 3px;
  min-width: 30px;
  text-align: center;
  height: 30px;
  line-height: 30px;
  color: #2c2c2c;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  background: 0 0;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: black;
  border-color: black;
  color: #fff;
}

.shop-container .woocommerce-pagination {
  margin-top: 15px;
}

/* -- Левый сайдбар с фильтрами -- */
/* МЕНЮШКА В МОБИЛЬНОЙ ВЕРСИИ */
/* .sidebar-collapse .navbar .navbar-toggler-bar {
  background: #fff;
} */

/* МЕНЮШКА В МОБИЛЬНОЙ ВЕРСИИ */
/******** // Sidebar left ********/

.works {
  margin-top: 0;
}



.widget {
  list-style: none;
}

.bapf_button.bapf_update {
  background-color: #313131 !important;
  text-transform: uppercase;
  color: white !important;
  border: 0 !important;
  border-radius: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.category .global-container {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 575px) {
  .sidebar-left {
    width: 100%;
  }
  
}

.categories-sidebar {
  text-align: center;
  text-align: -webkit-center;
}


.tele-icon {
  font-size: 20px;
}

.message-name.text-success {
  color: lightgray !important;
}

.lg-outer .lg-has-youtube .lg-video-play {
  background-size: contain;
  transition: all 0.2s;
  pointer-events: none;
  opacity: .8;
  filter: grayscale(1);
  background-position: center;
}

.lg-outer .lg-has-youtube:hover .lg-video-play {
  opacity: 1;
  filter: grayscale(0);
  background-size: contain;
  background-position: center;
}

html {
  height: 100%;
}

.contact-footer {
  margin-top: auto;
}

.contact-footer footer {
  justify-content: center;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
  -webkit-appearance: inner-spin-button !important;
}

.achievements-content .achievements-card {
  border-radius: 3px;
}

.ytp-cued-thumbnail-overlay-image {
  overflow: hidden;
  border-radius: 3px;
}

.jumbotron-video {
  pointer-events: none;
}

.lead .btn {
  pointer-events: auto;
  display: inline-block;
}

/* Табы в одиночной странице товаров */
.description_tab a,
.additional_information_tab a {
  white-space: nowrap;
  display: block;
  border-radius: 30px;
  color: #888;
  font-size: 14px;
  padding: 11px 23px;
  margin-right: 5px;
  line-height: 1.5;
  font-weight: 400;
}

.description_tab.active a,
.additional_information_tab.active a {
  color: #313131;
  border: 1px solid #313131;
  background: white;
}

ul.tabs {
  padding-left: 0px;
}

ul.tabs li {
  list-style: none;
  display: inline-block;
}

ul.tabs.wc-tabs {
  max-width: 1140px;
  padding: 15px calc(0.7rem + 7.5px);
  padding-right: 12px;
  margin: auto;
  background: unset;
}

.woocommerce-Tabs-panel {
  background: white;
  padding: 25px 30px 25px;
}

.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel table,
.woocommerce-Tabs-panel ul {
  padding: 0px 7.5px;
  line-height: 2;
  font-size: 16px;
}

.woocommerce-Tabs-panel .product_content, .woocommerce-Tabs-panel table {
  max-width: 1140px;
  margin: auto;
}

#tab-additional_information {
  padding-bottom: 15px;
}

.woocommerce-Tabs-panel table.shop_attributes {
  border: 0;
  width: 100%;
  margin-bottom: 10px;
  display: block;
  font-size: 14px !important;
}

.woocommerce-Tabs-panel table.shop_attributes tbody {
  display: table;
  width: 100%;
}

.woocommerce-Tabs-panel table.shop_attributes th {
  width: 200px;
  border: 0 !important;
}

.woocommerce-Tabs-panel table.shop_attributes td {
  font-style: italic;
  padding: 0;
  border: 0;
  margin: 0;
  line-height: 1.5;
  border: 0 !important;
}

.woocommerce-Tabs-panel table.shop_attributes p {
  font-size: 14px !important;
}

/* /Табы */

@media (max-width: 1199px) {
  .container {
    max-width: unset;
  }
}


@media (max-width: 768px) {
  #portfolio .video__item {
    flex-basis: 100%;
  }

  .pages-header {
    padding: 20px 0 0;
  }

  #carousel-message {
    height: unset;
  }

  .breadcrumb {
    margin-bottom: 20px !important;
    padding-top: 0px;
  }

  .messages-content {
    background-image: url(../images/messages_2.jpg);
    background-attachment: scroll !important;
  }
}

.woocommerce-info {
  color: #313131;
}

.woocommerce-info::before {
  color: #313131;
}

.section-services .row {
  margin-right: 0px;
  margin-left: 0px;
}

.sroll-characteristics {
  text-decoration: underline;
  color: #313131;
  cursor: pointer;
  letter-spacing: .3px;
}

/* Карточка товара в категории */

.product-cards-item p {
  display: inline;
}

.product-cards-item .card-bottom-wrapper {
  /* position: absolute; */
  margin-top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 0px;
}

.product-cards-item {
  top: 0;
  bottom: 0;
  height: 100%;
}

@media (max-width: 340px) {
  .product-cards-item-wrapper {
    flex: 0 100%;
  }
}

@media (max-width: 576px) {
  .product-cards-item-wrapper {
    flex: 0 50%;
  }
  .messages-content {
    background-image: url(../images/messages_2-rotate.jpg);
  }
}

/* .product-cards-item .card-button .added_to_cart, .product-cards-item .ajax_add_to_cart {
  max-width: 90px !important;
} */

/* Таблица характеристик у карточек товрара */
.product-cards-item table {
  margin-bottom: 0px !important;
  border-top: 0px !important;
  border-bottom: 0px !important;
  border-collapse: collapse;
  /* margin-bottom: 60px !important; */
}

.product-cards-item tr {
  border-bottom: 1px solid #ececec;
  line-height: 22px;
  font-size: 12px;
  color: #000;
}

.product-cards-item tr:last-child {
  border-bottom: none !important;
}

.product-cards-item table.shop_attributes th.woocommerce-product-attributes-item__label {
  width: unset;
  padding-right: 4px !important;
}

.product-cards-item tr {
  border-bottom: 1px solid #ececec;
  line-height: 22px;
  font-size: 12px;
  color: #000;
}

.product-cards-item th,
.product-cards-item td {
  font-weight: 400 !important;
  font-style: normal !important;
  padding: 5px 1px !important;
  line-height: 1.3 !important;
  background: unset !important;
  border: 0px !important;
}

.product-cards-item td {
  text-align: end;
}

/* /Таблица характеристик у карточек товрара */

/* /Карточка товара в категории */

.front-side {
  position: relative;
}

.woocommerce-error {
  margin-top: 40px;
}

.breadcrumb {
  padding-top: 0px;
  margin-bottom: 16px;
}

.pages-header {
  padding: 26px 0 0;
}

.page-template-page-reviews .fdb-box:first-child {
  margin-top: 0 !important;
}

.page-description {
  border-radius: 3px;
}

/* Иконка загрузки видео в lightgallery */
.lg-loaded {
  background-size: 10vmin !important;
}

.cart-customlocation svg {
  fill: black;
}

/* Навигация в шапке сайта */

@media (max-width: 1200px) {
  .header-logo {
    height: 30px !important;
  }
}

.navbar .dropdown-menu {
  background-color: #212121;
}

/*.sidebar-collapse .navbar.bg-white:not(.navbar-transparent) .navbar-toggler-bar {
  background-color: white !important;
}*/

.navbar .active > .nav-link:not(.big-menu *) {
  color: #313131 !important;
}

.navbar a:hover {
  color: #313131 !important;
}

.mobile-dropdown-button {
  color: #313131;
}

.dropdown-menu::before {
  color: #212121 !important;
  ;
}

/* /Навигация в шапке сайта */

.features .card .more {
  color: #313131;
  font-size: 16px;
}

.card-body {
  height: 100%;
  flex-direction: column;
}

.features .card {
  height: calc(100% - 20px);
}

.pages-header .h3 {
  color: #313131 !important;
  font-weight: 600;
}

.pages-header h1 {
  color: #313131;
  font-weight: 600;
}

.pages-header h1 span {
  color: #313131;
  font-weight: 600;
}

#the_news-description p {
  margin-bottom: 0;
}

.footer-text {
  color: #151515;
}

.home .section-services .front-side .card-title {
  font-weight: 600;
}

#about-images-mobile {
  display: none;
  margin-left: -15px;
  margin-right: -15px;
}

#about-images {
  display: block;
}


@media (max-width: 768px) {
  #about-images-mobile {
    display: block;
  }

  #about-images {
    display: none;
  }
}


.woocommerce table.shop_attributes {
  margin-top: 8px;
}

.page-description .description{
	width: 100%;
}

.mark, mark{
	background-color: transparent;
}

/*.messages-content::after{
	content: none;
}*/


.message-name.text-success{
	color: #313131 !important;
}

@media (max-width: 700px){
	.row.messages-content{
		padding-top: 0 !important;
	}
}

.lead .btn {
	text-transform: uppercase;
}

.category article img{
	max-height: 300px;
	height: auto;
}

.category-direction.category-img{
	width: fit-content;
}

.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-order-details .product-quantity,
.woocommerce ul.order_details li strong{
	font-weight: 400 !important;
}

.pages-header h1 span{
	color: #313131 !important;
}

.pages-header h1 span{
	color: #313131 !important;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received{
	color: #313131 !important;
	text-transform: uppercase;
}

.woocommerce-table__product-name.product-name a{
	color: #2c2c2c !important;
}

.footer-contacts svg{
	color: #2c2c2c !important;
}

.payment_method_wc_russian_post_cod img{
	max-width: 150px;
}

.wc_payment_method label img{
	max-width: 150px;
}

.wc_payment_method.payment_method_wc_russian_post_cod label img{
	max-width: 50px
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
	background-color: #313131;
    height: 30px;
    width: 30px;
    background-size: 15px 15px;
    background-position-x: 9px;
    border-radius: 10px;
}

.carousel-control-next-icon{
	background-position-x: 10px;
}

.about .img-container {
    overflow: hidden;
}
.woocommerce-column--billing-address.col-1,
.woocommerce-column--shipping-address.col-2{
    max-width: 100%;
    margin-bottom: 2em;
}
.page-template-page-checkout .woocommerce-customer-details{
    margin-right: -15px;
    margin-left: -15px;
}
.features-icon_img {
  width: 22px;
  height: auto;
  margin: auto;
  display: block;
}
.achievements img {
  padding: 15px;
  height: 80px;
  width: 80px;
  box-shadow: 0 5px 20px #313131;
  border-radius: 10px;
}
@media screen and (max-width: 1201px) {
    .sidebar-collapse [class*="navbar-expand-"] .navbar-collapse{
        width: 0;
        overflow: hidden;
        /*transition: width .2s linear;*/
    }
    .nav-open .sidebar-collapse [class*="navbar-expand-"] .navbar-collapse{
        width: 300px;
    }
}

/* ИЗМНЕНИЯ В КОДЕ ОТ ДИМЫ */

.section-services .card .card-img-overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стили для самих линий */
.section-services .card .card-img-overlay::before,
.section-services .card .card-img-overlay::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 0; 
  background-color: #fff; 
  transition: width 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
}

/* Позиционирование линий */

/* Линия СВЕРХУ-СПРАВА */
.section-services .card .card-img-overlay::before {
  top: 35%;
  right: 21px; 
}

/* Линия СНИЗУ-СЛЕВА */
.section-services .card .card-img-overlay::after {
  bottom: 39%;
  left: 21px;
}

/* Анимация при наведении на карточку */
.section-services .card:hover .card-img-overlay::before,
.section-services .card:hover .card-img-overlay::after {
  width: 120px;
}

/* Заголовок с чёрным прозрачным фоном */
.section-services .card .card-title {
    background-color: rgba(0, 0, 0, 0.5);
    padding-block: 15px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

/* Убираем подчёркивание у заголовка при наведении на карточку */
/* .front-side,
.front-side * {
    text-decoration: none !important;
} */

/* Кастомная шапка */


/* Верхняя панель */
.header-info-panel{
    border-bottom: 1px solid #323232;
    background: #e4e4e4;
}

.header-contacts-item {
    text-align: center;
}

.header-email {
    display: flex;
}

.header-contacts-item.header-email{
    justify-content: flex-end;
    align-items: center;
    white-space: nowrap;
}

.header-contacts-item-icon{
	margin-right: 8px;
    display: flex;
}

.active > .nav-link {
  font-weight: 500;
}

.nav-link {
  color: rgb(56, 56, 56) !important;
  font-weight: 500;
}


.big-menu .nav-link:hover {
  color: rgb(255, 255, 255) !important;
}

.header-contacts-item-text {
  font-size: 14px;
  color: gray;
}

.header-contacts-item .navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

@media (max-width: 1201px) {
  .header-contacts-item .navbar-nav {
    gap: 0;
  }
}

.nav-item {
  /* display: inline-flex; */
}

/* Средняя панель */
/* 
.header__middle {
	padding: 15px 0;
    background-color: #171717;
}

.header__middle__inner {
    padding-left: 3px;
    max-width: 1190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 992px) {
    .header-info-panel{
        display: none;
    }

    .header__middle__inner{
        padding-left: 0;
    }
}

.navbar-translate{
    flex-grow: 1;
    flex-shrink: 0;
}

.navbar-brand{
	font-family: 'FontinSansCR-Bold', serif;
	font-size: 35px;
	color: white !important;
}

.header-search-form{
    position: relative;
    flex-grow: 7;
    flex-shrink: 1;
}

.input__inner {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #8c8c8c;
    height: 38px;
}

.input__inner svg{
	width: 20px;
    height: 20px;
    margin-left: 10px;
	fill: #5d5d5d;
}


.search-form-result{
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    position: absolute;
    z-index: 1000;
    box-shadow: 0px 10px 15px rgb(23 23 23 / 30%);
    background-color: #171717;
    border-radius: 0 0 5px 5px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease-in-out;
}

.search-form-result.active{
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.search-form-result-list{
    height: 100%;
    display: flex;
    flex-direction: column;
    scrollbar-color: var(--primay-color);
}

.search-form-result #searchsubmit{
    display: none;
    border-top: 1px solid #323232;
}

.search-form-result #searchsubmit.active{
    display: block;
}

.search-form-result #searchsubmit:hover{
    transition: all .2s ease-in-out;
}

.search-form-result #searchsubmit:hover{
    background-color: var(--primay-color);
}

.search-form-result-card{
    height: 80px;
    display: flex;
    justify-content: space-between;
    padding-right: 10px;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #323232;
}

.search-form-result-card:last-child{
    border-bottom: none;
}

.search-form-result-card:hover{
    opacity: .8;
}

.search-form-result-card img{
    height: 100%;
    max-width: 150px;
    object-fit: contain;
    flex-grow: 0;
}

.search-form-result-card .title{
    flex-grow: 1;
    max-width: 500px;
    color: white;
    line-height: 19px;
}

.search-form-result-card .price{
    font-family: "Roboto";
    flex-grow: 0;
    white-space: nowrap;
    color: white;
}

@media (max-width: 768px) {
    .search-form-result-card img{
        display: none;
    }

    .search-form-result-card{
        font-size: 12px;
        height: auto;
        padding: 10px;
        min-height: 50px;
    }

    .search-form-result #searchsubmit{
        font-size: 12px;
        padding: 10px;
    }
}



.lds-ring {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 70px;
  }

  .lds-ring.loading{
    display: flex;
}

  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 34px;
    height: 34px;
    margin: 8px;
    border: 3px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .search-empty{
      color: white;
      text-align: center;
      font-size: 20px;
      padding: 15px;
  }

  
.header-social{
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.header-social a {
    padding: 10px;
    background: #252525;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease-in-out;
}

.header-social a:hover {
    background-color: var(--primay-color);
}

.header-social a:hover svg{
    fill: var(--secondary-color-color);
}

.header-social svg{
    width: 20px;
    height: 20px;
    fill: var(--primay-color);
    transition: fill .2s ease-in-out;
}

@media (max-width: 767px) {
    .header-social:not(.mob){
        display: none;
    }
}

@media (max-width: 450px) {
    .input__inner{
        height: 35px !important;
    }
}

.header-social.mob {
    padding: 15px;
    width: 280px;
    justify-content: flex-start;
    flex-wrap: wrap;
    background: var(--secondary-color);
}


.header__middle_phone{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
}

.header__middle_phone svg{
    height: 28px;
    margin-right: 14px;
    fill: #f26522;
}

.header__middle_phone .header-contacts-item-text{
    color: white;
}

.header__middle_phone{
    flex-grow: 1;
    flex-shrink: 0;
}

@media (max-width: 470px) {
    .header__middle_phone{
        font-size: 14px;
    }

    .header__middle_phone svg{
        display: none;
    }
}

@media (max-width: 350px) {
    .header__middle_phone{
        font-size: 12px;
    }
}

.navbar {
	background-color: transparent;
		padding-top: 0;
		padding-bottom: 0;
		min-height: 53px;
		margin-bottom: 0px;
		box-shadow: none;
		border-bottom: none;
}
.navbar .navbar-translate .navbar-brand{
	 color: white!important;
	 font-weight: 900;
	 font-size: 25px;
}

.dropdown, .dropup{
		z-index: 2;
}

.navbar .social-icon a{
	 color: white !important;
}

.navbar .navbar-nav .dropdown > a::after {
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: .255em;
		vertical-align: .13em;
		content: "";
		border-top: .3em solid;
		border-right: .3em solid transparent;
		border-left: .3em solid transparent;
		transition: all 150ms ease 0s;
}

.navbar .navbar-nav .dropdown-menu .nav-item a.nav-link:hover{
		box-shadow: none !important;
}

@media (min-width: 1202px) {

	.dropdown:hover .dropdown-menu {
		 display: block;
		 visibility: visible;
		 opacity: 1;
		 transform: translateY(-2px);
	}

	.dropdown-menu{
		width: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	}
	.dropdown-menu .nav-item a{
		border: none;
	}

	#dropdownMenuButton{
		display: none;
	}

}

.dropdown .dropdown-menu{
	display: none;
	overflow: hidden;
}

.dropdown .dropdown-menu.fadeIn{
	display: block;
}

.dropdown.show .dropdown-toggle::after{
	transform: rotate(180deg);
}

.main-dropdown-link{
	 position: relative;
	 z-index: 2;
}

.navbar .navbar-nav .dropdown:hover a:first-child::after{
	 transform: rotate(180deg);
}

.dropdown-toggle::after {
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: .255em;
		vertical-align: .255em;
		content: "";
		border-top: .3em solid;
		border-right: .3em solid transparent;
		border-left: .3em solid transparent;
}


.submenu-relative-wrap{
    position: relative;
}

.navbar.scroll .submenu-relative-wrap{
    gap: 40px;
}

.navbar.scroll .submenu-relative-wrap{
    gap: 40px;
}

@media (max-width: 767px) {

    .navbar-toggler{
        padding: 0;
    }

    .navbar .submenu-relative-wrap{
        flex-wrap: nowrap !important;
        gap: 20px !important;
    }

} */


/* Вторая попытка адаптировать CSS */

/* Общие стили для шапки */
/* :root {
    --primay-color: #f26522;
    --secondary-color: #171717;
}

a{
	color: #f26522;
}

a.btn:active,
a.btn:focus,
button.btn:active,
button.btn:focus{
	outline: none !important;
} */

/* Используется для .btn в поиске */
/* .btn-primary{
	background-image: linear-gradient(to top, #f26522, #ff854c) !important;
	color: white;
	box-shadow: 0px 0px 20px 0px rgba(242,101,34,0.79);
}

.btn-primary:hover,
.btn-primary:focus{
	box-shadow: 0px 8px 20px 0px rgba(242,101,34,0.79) !important;
} */

/* Верхняя инфо-панель */

.header-info-panel{
    border-bottom: 1px solid #dcdcdc;
    background: #f1f1f1;
}

.info-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-menu .nav-link {
    padding: 0.5rem 1rem;
}

.info-menu a {
    font-size: 12px;
    color: #969696;
}

.info-menu .nav-link:first-child{
    padding-left: 3px;
}

.header-info-panel .nav-link:active,
.header-info-panel .nav-link:focus,
.header-info-panel .nav-item a:hover{
    color: #f26522;
}

.header-contacts-item {
    text-align: center;
	display: flex;
	flex-wrap: nowrap;
}

.header-contacts-item.header-email{
    justify-content: flex-end;
    align-items: center;
    white-space: nowrap;
}

.header-contacts-item-icon{
	margin-right: 8px;
    display: flex;
}

.header-contacts-item-info .header-contacts-item-text{
    color: #969696;
}

.header-contacts-item-info a:hover {
  color: #313131 !important;
}

.header-contacts-item-text{
    font-family: 'Roboto';
}

@media (max-width: 992px) {
    .header-info-panel{
        display: none;
    }
}

/* Средний блок */

.header__middle {
  position: relative;
	padding: 15px 0;
  background-color: #ffffff;
  z-index: 100;
}

.header__middle__inner {
    padding-left: 3px;
    max-width: 1190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__middle_phone{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
	flex-grow: 1;
    flex-shrink: 0;
}

.header__middle_phone svg{
    height: 28px;
    margin-right: 14px;
    fill: #313131;
}

.header__middle_phone .header-contacts-item-text{
    color: rgb(0, 0, 0);
}

.header-social{
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.header-social a {
    padding: 10px;
    background: #dadada;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease-in-out;
}

.header-social a:hover {
  color: #fff;
    background-color: #313131;
}

.header-social a:hover svg{
    fill: var(--secondary-color-color); /* Note: var(--secondary-color-color) seems to be a typo in your CSS, maybe it should be var(--secondary-color) */
}

.header-social svg{
    width: 20px;
    height: 20px;
    fill: var(--primay-color);
    transition: fill .2s ease-in-out;
}

.header-social.mob {
    padding: 15px;
    width: 280px;
    justify-content: flex-start;
    flex-wrap: wrap;
    background: var(--secondary-color);
}

@media (max-width: 992px) {
    .header__middle__inner{
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .header-social:not(.mob){
        display: none;
    }
}

@media (max-width: 470px) {
    .header__middle_phone{
        font-size: 14px;
    }

    .header__middle_phone svg{
        display: none;
    }
}

@media (max-width: 350px) {
    .header__middle_phone{
        font-size: 12px;
    }
}

/* Навигационная панель */

.navbar-toggler{
	margin-left: auto;
	padding-right: 0;
}

.navbar-toggler:active,
.navbar-toggler:focus{
	outline: none;
}

.navbar {
	background-color: transparent;
	padding-top: 0;
	padding-bottom: 0;
	min-height: 53px;
	margin-bottom: 0px;
	box-shadow: none;
	border-bottom: none;
    box-shadow: none;
    z-index: 100;
}

/* .navbar a:not(.btn):not(.dropdown-item) {
    color: #fff;
} */

.navbar .navbar-translate .navbar-brand{
	 font-weight: 900;
	 font-size: 15px;
     margin-right: 0;
}

.dropdown, .dropup{
	z-index: 2;
}

.sticky {
	z-index: 1002;
	position:sticky;
	position: -webkit-sticky;
	top: 0px;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.19);
}

.navbar-brand{
	font-family: "Roboto", sans-serif;
	font-size: 35px;
	color: #313131;
}

.navbar-brand span{
	color: #f26522;
}

.navbar-translate{
    flex-grow: 1;
    flex-shrink: 0;
}

.navbar-expand-xl{
  padding: 15px;
    background: #ffffff;
    border-top: 1px solid #dcdcdc;
    z-index: 11;
}

.submenu-relative-wrap{
	font-size: 17px;
    position: relative;
}

/* Стили при прокрутке */
.navbar.scroll{
    position: sticky;
    top: 0;
}

.navbar.scroll .navbar-translate{
    flex-grow: 0;
    display: block !important;
}

.navbar.scroll .navbar-collapse{
    flex-grow: 0;
}

/* Медиа-запросы для .navbar */
@media (max-width: 1201px){
	.admin-bar .navbar-collapse{
		top:32px;
	}

	.navbar-collapse {
		color:#fff;
		position:fixed;
		top:0;
		/* left:0; */
    width: 100%;
		height:100vh;
		background: rgba(23, 23, 23, 0.64);
		z-index:5001;
		overflow-y:scroll;
	}
}

@media (max-width: 768px) {
	.navbar-toggle{
		display: flex;
	}
}

@media (max-width: 767px) {

    .navbar .submenu-relative-wrap{
        flex-wrap: nowrap !important;
        gap: 20px !important;
    }
}

@media (max-width: 470px) {
    .navbar-expand-xl{
        padding: 5px 15px;
    }
}

/* Стили меню */
/* Общие стили для меню и выпадающих списков */
.navbar .navbar-nav .dropdown > a::after {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .255em;
	vertical-align: .13em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-left: .3em solid transparent;
	transition: all 150ms ease 0s;
}

.navbar .navbar-nav .dropdown-menu .nav-item a.nav-link:hover{
	box-shadow: none !important;
}

.dropdown .dropdown-menu{
	display: none;
	overflow: hidden;
    visibility: hidden;
    opacity: 0;
}

.dropdown .dropdown-menu.fadeIn{ /* May be used by JS */
	display: block;
}

.dropdown.show .dropdown-toggle::after{
	transform: rotate(180deg);
}

.navbar .navbar-nav .dropdown:hover a:first-child::after{
	 transform: rotate(180deg);
}

.dropdown-toggle::after {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-left: .3em solid transparent;
}

.sidebar-collapse .navbar .dropdown-menu.show { /* .sidebar-collapse may be added to body */
	display: block;
}

.navbar-nav .dropdown-menu {
    position: static;
    float: none;
}

.dropdown-menu {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
    max-height: 500px;
    padding: 20px;
}

.dropdown-menu.show{
    margin-top: -15px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    display: block;
}

.nav-item{
    text-align: center;
}

@media (min-width: 1201px) {
	.nav-item a {
		border: 1px solid transparent;
	}
}

/* Стили для #menu-osnovnoe-menyu */
#menu-osnovnoe-menyu{
    width: 100%;
}

#menu-osnovnoe-menyu .nav-item{
    text-transform: uppercase;
    font-family: 'FontinSansCR-Bold';
    flex-grow: 1;
}

#menu-osnovnoe-menyu .nav-item a{
    color: white;
}

#menu-osnovnoe-menyu .nav-link:active,
#menu-osnovnoe-menyu .nav-link:focus,
#menu-osnovnoe-menyu .nav-item a:hover{
    color: #f26522;
}

#menu-osnovnoe-menyu .nav-item.active .nav-link{
    color: var(--primay-color);
}

#menu-osnovnoe-menyu .dropdown-menu .nav-item .nav-link{
    color: var(--secondary-color);
    text-transform: none;
}

#menu-osnovnoe-menyu .dropdown-menu .nav-item .nav-link:hover{
    color: var(--primay-color);
}

.navbar.scroll #menu-osnovnoe-menyu{
    width: auto;
}

/* Стили для .desctop и .mobile меню */
.navbar-nav.desctop .nav-item.big-menu{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #313131;
    border-radius: 5px;
    background: #313131;
}

.navbar-nav.desctop .nav-item.big-menu a{
    padding-left: 6px;
    padding-right: 2px;
    color: #ffffff;
    margin-bottom: -3.5px;
}

.navbar-nav.desctop .nav-item.big-menu:hover a,
.navbar-nav.desctop .nav-item.big-menu:hover svg{
    /* color: var(--secondary-color) !important; */
    fill: var(--secondary-color);
}

.navbar-nav.mobile{
    display: none;
}

.navbar-nav.mobile .nav-item.big-menu a{
    display: inline-block;
}

.navbar-nav.mobile .nav-item.big-menu svg{
    display: inline-block;
    padding-left: 15px;
    margin-bottom: -2px;
    fill: var(--primay-color);
    width: 30px; /* Specific override */
}

.nav-item.big-menu svg{
    width: 20px;
    fill: #ffffff;
}

.navbar.scroll .nav-item.big-menu a{
    padding-right: 0px;
}

/* Стили для .menu-catalog (Мега-меню) */
.menu-catalog {
    position: absolute;
    left: 0;
    top: 140%;
    display: -webkit-box;
    display: flex;
    width: 100%;
    min-height: 360px;
    background-color: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: opacity .4s,visibility .4s;
    transition: opacity .4s,visibility .4s;
    pointer-events: none;
    z-index: 10;
    border-radius: 5px;
}

.menu-catalog--show{ /* JS class */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-catalog__list{
width: 335px;
    padding: 52px 45px 53px;
    text-align: right;
    border-right: 1px solid #dcdcdc;
    list-style: none;
    margin-bottom: 0;
}

.menu-catalog__list-href {
    display: inline-block;
    vertical-align: top;
    position: relative;
    font-weight: 500;
    color: #383838 !important;
    -webkit-transition: color .4s;
    transition: color .4s;
    font-size: 20px;
    text-decoration: none;
}

.menu-catalog__list-href--active, .menu-catalog__list-href:hover {
  text-decoration: none;
    color: #fff;
    color: var(--primay-color); /* Override */
}

.menu-catalog__list-href--active {
  color: #8a8a8a !important;
}

.menu-catalog__tabs {
    width: 464px; /* Note: this seems larger than the container .menu-catalog__list */
    padding-left: 0;
    position: relative;
    list-style: none;
}

.menu-catalog__list-item:not(:last-child) {
    margin-bottom: 18px;
}

.menu-catalog__tabs-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    padding: 52px 0 53px 49px;
}

.menu-catalog__tabs-item--active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.menu-catalog__sublist {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
    padding-left: 0;
    font-size: 16px;
}

.menu-catalog__sublist-item {
    color: #ffffff;
    width: 50%;
    padding-right: 20px;
}

.menu-catalog__sublist-item:not(:last-child) {
    margin-bottom: 4px;
}

.menu-catalog__sublist-href {
    color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    -webkit-transition: color .4s;
    transition: color .4s;
    text-decoration: none;
}

.menu-catalog__sublist-href--active, .menu-catalog__sublist-href:hover {
    color: var(--primay-color);
    text-decoration: none;
}

/* Медиа-запросы для меню */
@media (min-width: 1202px) {
	.navbar-expand-xl .navbar-nav .dropdown-menu {
		position: absolute;
        border-radius: 5px;
        background: transparent;
        top: 100%;
        padding: 0;
        margin-top: 0;
        padding-top: 20px;
	}

    .dropdown-menu li.nav-item {
        background: #ffffff;
        padding: 5px 0;
        margin: 0;
    }

    #menu-osnovnoe-menyu .dropdown-menu li.nav-item a.nav-link {
        color: #ffffff;
    }

    #menu-osnovnoe-menyu .dropdown-menu li.nav-item:first-child a.nav-link {
        padding-top: 20px;
    }

    #menu-osnovnoe-menyu .dropdown-menu li.nav-item:last-child a.nav-link {
        padding-bottom: 20px;
    }

    .dropdown-menu li.nav-item:first-child {
        border-radius: 5px 5px 0 0;
    }
    
	.dropdown:hover .dropdown-menu {
		 display: block;
		 visibility: visible;
		 opacity: 1;
		 transform: translateY(-2px);
	}

	.dropdown-menu{
		width: 250px;
    	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	}
	.dropdown-menu .nav-item a{
		border: none;
	}

	.dropdown .dropdown-menu {
        -webkit-transform: translate3d(0, -25px, 0);
        -moz-transform: translate3d(0, -25px, 0);
        -o-transform: translate3d(0, -25px, 0);
        -ms-transform: translate3d(0, -25px, 0);
        transform: translate3d(0, -25px, 0);
	}

    .navbar.scroll .nav-item:not(.big-menu){
        display: none;
    }

    .navbar.scroll .nav-item.big-menu{
        padding: 0 10px;
    }
}

@media (max-width: 1201px) {
	.dropdown-menu a.nav-link {
    	padding-left: 2.5rem !important;
	}

	.dropdown .dropdown-menu {
		box-shadow: 0;
    	background: var(--secondary-color);
    	padding:0;
	}

	.dropdown-menu .nav-item {
		border-bottom:0;
		box-shadow:0 !important;
	}

	.nav-item.dropdown.show {
		border-bottom: 0;
	}

	 .navbar .navbar-nav .dropdown > a::after{
			display: none;
	 }
     
    .menu-catalog{
        display: none;
    }

    .navbar-collapse .dropdown-menu .nav-item .nav-link {
        color: #8b8b8b !important;
        padding-left: 25px !important;
    }

    .navbar-collapse .nav-item{
        text-align: left;
    }

    .navbar-nav.mobile{
        display: block;
        width: 280px !important;
        height: calc(100% - 70px);
        background-color: var(--secondary-color);
    }

    .navbar-nav.desctop{
        display: none;
    }

    .navbar-nav .nav-link{
        padding-left: 8px;
        padding-right: 8px;
    }

    .dropdown-menu .nav-link{
        margin-bottom: 0;
    }
    
    .dropdown-menu  {
		margin:0;
	}
}

/* Форма поиска */
.header-search-form{
    position: relative;
    flex-grow: 7;
    flex-shrink: 1;
}

.header-search-form input{
    width: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    padding-left: 10px;
    border-radius: 0 5px 5px 0;
    font-size: 1rem;
    color: rgb(0, 0, 0);
    border-radius: 0;
}

.input__inner {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #8c8c8c;
    height: 38px;
}

.input__inner svg{
	width: 20px;
    height: 20px;
    margin-left: 10px;
	fill: #5d5d5d;
}

/* Стили при прокрутке */
.navbar.scroll .header-search-form{
    flex-grow: 1;
    display: block;
}

.navbar .header-search-form{
    display: none;
}

.navbar .header-search-form .input__inner{
    height: 43px;
}


/* Результаты поиска */
.search-form-result{
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    position: absolute;
    z-index: 1000;
    box-shadow: 0px 10px 15px rgb(23 23 23 / 30%);
    background-color: #171717;
    border-radius: 0 0 5px 5px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease-in-out;
}

.search-form-result.active{
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.search-form-result-list{
    height: 100%;
    display: flex;
    flex-direction: column;
    scrollbar-color: var(--primay-color);
}

.search-form-result #searchsubmit{
    display: none;
    border-top: 1px solid #323232;
    /* Стили .btn наследуются */
}

.search-form-result #searchsubmit.active{
    display: block;
}

.search-form-result #searchsubmit:hover{
    transition: all .2s ease-in-out;
    background-color: var(--primay-color);
}

.search-form-result-card{
    height: 80px;
    display: flex;
    justify-content: space-between;
    padding-right: 10px;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #323232;
}

.search-form-result-card:last-child{
    border-bottom: none;
}

.search-form-result-card:hover{
    opacity: .8;
}

.search-form-result-card img{
    height: 100%;
    max-width: 150px;
    object-fit: contain;
    flex-grow: 0;
}

.search-form-result-card .title{
    flex-grow: 1;
    max-width: 500px;
    color: white;
    line-height: 19px;
}

.search-form-result-card .price{
    font-family: "Roboto";
    flex-grow: 0;
    white-space: nowrap;
    color: white;
}

/* Загрузчик */
.lds-ring {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 70px;
}

.lds-ring.loading{
    display: flex;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 34px;
    height: 34px;
    margin: 8px;
    border: 3px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
  
.search-empty{
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 15px;
}

/* Скроллбар для результатов поиска */
@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 5px;
    }
      
    ::-webkit-scrollbar-thumb:vertical {
        margin: 5px;
        background-color: var(--primay-color);
        -webkit-border-radius: 5px;
    }
      
    ::-webkit-scrollbar-button:start:decrement,
    ::-webkit-scrollbar-button:end:increment {
        height: 5px;
        display: block;
    }
}

/* Адаптивность поиска */
@media (max-width: 768px) {
    .search-form-result-card img{
        display: none;
    }

    .search-form-result-card{
        font-size: 12px;
        height: auto;
        padding: 10px;
        min-height: 50px;
    }

    .search-form-result #searchsubmit{
        font-size: 12px;
        padding: 10px;
    }
}

@media (max-width: 450px) {
    .input__inner{
        height: 35px !important;
    }
}

.sidebar-collapse .navbar .navbar-translate {
  width: auto;
}

.social-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-social svg {
  fill: #313131 !important;
}

.social-list__link:hover svg {
  fill: #ffffff !important;
}

@media screen and (min-width: 1201px) {
    .navbar .nav-item {
        padding: 0 12px;
    }
}

.big-menu .nav-link  {
  color: #fff !important;
  transition: none;
  background-color: transparent !important;
}

.big-menu .nav-link:hover  {
  /* color: #000 !important; */
}

.pages-header {
    z-index: 10;
}

.text-muted {
    color: #313131 !important;
}

.section-video {
    height: calc(100vh - 200px);
}

@media (max-width: 1200px) {
  .section-video {
      height: calc(100vh - 170px);
  }
}

@media (max-width: 992px) {
  .section-video {
      height: calc(100vh - 115px);
  }
}

.navbar.scroll {
    position: sticky;
    top: 0;
}


@media (max-width: 576px) {
  #top-cart {
    padding-right: 0;
    /* margin-right: -80px; */
  }
}

@media (max-width: 1199px) {
  #top-cart {
    /* margin-right: -60px; */
  }
}

@media (max-width: 768px) {
  #top-cart {
    /* margin-right: -80px; */
  }
}
@media screen and (max-width: 1201px) {
    .sidebar-collapse .navbar .navbar-nav {
        margin-top: 20px;
    }
}

.tablet-hidden {
    display: none !important;
}

/* Показываем только от 1200px и выше */
@media (min-width: 1200px) {
    .tablet-hidden {
        display: flex !important; /* потому что у тебя d-flexe — возможно, опечатка, должно быть d-flex */
    }
  }

#top-cart.tablet-hidden {
  margin-right: -10px;
}

.menu-catalog a:hover {
  color: #535353 !important;
}

.navbar a:not(.btn):not(.dropdown-item) {
    color: #383838;
}

@media (min-width: 1200px) {
    .navbar {
        filter: drop-shadow(0 2px 7px #00000010);
    }
}

@media (max-width: 1200px) {
    .navbar {
        filter: drop-shadow(2px 5px 7px #00000020);
    }
}

@font-face {
    font-family: "rusboycott";
    src: url(../fonts/rusboycott.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

.main-title {
  font-family: 'rusboycott', sans-serif;
}

.h1 {
  font-family: 'rusboycott', sans-serif;
}

#about-description {
    box-shadow: -1px 3px 15px rgba(0, 0, 0, .32);
    border-radius: 4px;
}

/* Страница "Цвета" */

.fabric-card__count {
  background-color: #313131;
}

.cloth-area {
  display: flex;
}

.cloth-nav-area {
    padding: 0;
    flex: 0 0 230px;
    margin-right: 30px;
}

.cloth-nav {
    border-radius: 10px;
    border: 1px solid #ebebeb;
    overflow: hidden;
}

.cloth-nav .nav-title {
    padding: 14px 27px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ebebeb;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    cursor: default;
    margin: 0 !important;
}

.cards-wrapper {
    display: flex;
    gap: 20px;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: baseline;
}

.cloth-card {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
    height: fit-content;
    flex-basis: calc(calc(100% / 3) - calc(20px / 3 * 2));
}

.card-variation-size {
    z-index: 2;
    top: 184px;
    width: 100%;
    height: 32px;
    background-color: #313131;
    position: absolute;
    padding: 8px 16px;
    color: #fff;
    font-size: 14px;
    align-items: center;
    display: flex;
}

.cloth-card .card-image {
    flex-basis: 216px;
    overflow: hidden;
    align-items: center;
    display: flex;
}

.cloth-card .card-title {
    font-size: 16px;
    font-weight: 400;
    padding: 16px;
    margin: 0;
    line-height: 19.2px;
}

.cloth-card .card-image img {
    transition: all .5s;
    transform: scale(1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img.lazy {
    min-height: 1px;
}

.cloth-card .cloth-link {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

@media (max-width: 998px) {
    .cloth-card {
        flex-basis: calc(calc(100% / 2) - calc(20px / 2));
    }
}

@media (max-width: 420px) {
    .cloth-card {
        flex-basis: 100%;
    }
}

@media (max-width: 992px) {
    .cloth-nav-area {
        display: none;
    }
}

.cloth-card:hover .card-image img {
    transform: scale(1.2);
}

.cloth-nav a {
  text-decoration: none;
}

.cloth-nav .nav-option {
    padding: 13px 26px;
}

.cloth-nav .nav-option:hover {
    background: #313131;
    color: #ffffff;
}

.cloth-nav .cat-item, .cloth-nav .nav-option {
    background: #fff;
    line-height: 19.2px;
    font-size: 16px;
    border-bottom: 1px solid #e6e6e6;
    transition: all .2s;
    cursor: pointer;
    list-style: none;
}

.cloth-optional-image {
    cursor: zoom-in;
    aspect-ratio: 1 / 1;
}

.cloth-optional-image img {
  height: 100%;
}

.cloth-card.cloth-optional .card-title {
    font-size: 16px;
    font-weight: 400;
    padding: 16px;
    margin: 0;
    height: 50px;
    line-height: 19.2px;
    margin-top: -50px;
    text-align: center;
    background: rgba(0,0,0,.5);
    color: #fff;
}

.cloth-card.cloth-optional .card-check {
    opacity: 0;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    background: rgba(0,0,0,.3);
    pointer-events: none;
    transition: all .5s;
}


.cloth-card.cloth-optional {
    position: relative;
    overflow: hidden;
}

.cloth-card.cloth-optional:hover .card-check {
    opacity: 1;
    pointer-events: auto;
    cursor: zoom-in;
}

.woocommerce-Tabs-panel .product_content, .woocommerce-Tabs-panel table {
  font-size: 16px;
}

.section-services .card .front-side {
  text-decoration: none;
}

.up-sells.upsells.products {
  padding-inline: 30px;
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .up-sells.upsells.products {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.up-sells.upsells.products h2 {
  padding: 0;
    font-size: 26px;
    max-width: 1140px;       /* ограничиваем ширину блока */
    margin: 0 auto 30px auto; /* центрируем блок по горизонтали, добавляем отступ снизу */
    text-align: left;         /* текст прижимаем к левому краю блока */
}

.term-description {
    display: flex;
    align-items: flex-start; /* выравнивание по верхнему краю */
    gap: 20px; /* расстояние между картинкой и текстом */
}

.term-description img {
    max-width: 300px; /* ширина картинки */
    height: auto;
    flex-shrink: 0; /* картинка не сжимается */
}

.term-description p {
    flex: 1; /* текст занимает оставшееся место */
}

.cloth-nav a.active .nav-option {
    background-color: #313131; /* нужный цвет */
    color: #ffffff; /* цвет текста при активной категории */
}

.term-description.container p {
  font-size: 16px;
}

.navbar .navbar-nav .nav-link:not(.btn) {
    padding-right: 0.5rem;
}

@media (max-width: 500px) {
    .product-cards-item-wrapper {
        flex: 0 0 100%;
    }
}

.about {
    margin-bottom: 85px;
}

@media (max-width: 768px) {
  .about {
    margin-block: 0;
  }
}

.gellery-title {
  margin-top: 30px;
}

.mobile-action-area {
  display: flex;
}

.navbar .navbar-toggler {
  height: inherit;
}

@media screen and (max-width: 1201px) {
    .sidebar-collapse .navbar .dropdown .dropdown-menu, .sidebar-collapse .navbar .dropdown.show .dropdown-menu {
        height: inherit;
    }
}

.navbar .navbar-nav .dropdown-menu .nav-item a.nav-link {
    font-size: 11px;
    color: #0b0909;
    padding-right: .7rem !important;
    padding-left: .5rem !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

@media screen and (max-width: 1201px) {
    .sidebar-collapse .navbar-collapse .navbar-nav:not(.navbar-logo) .nav-link {
        margin: 0 1rem;
        margin-top: .3125rem;
    }
}

@media screen and (max-width: 1201px) {
    .sidebar-collapse .navbar .dropdown .dropdown-menu, .sidebar-collapse .navbar .dropdown.show .dropdown-menu {
        margin: 0;
    }
}

.navbar .navbar-nav .dropdown-menu li {
    padding: 0 .5rem;
    width: 210px;
}

.navbar .navbar-nav .dropdown-menu .nav-item a.nav-link {
    margin: 0 1rem;
    margin-top: .3125rem;
}


.navbar .navbar-nav .dropdown-menu .nav-item a.nav-link {
    font-size: 11px;
    color: #0b0909;
    padding-right: .7rem!important;
    padding-left: .5rem!important;
    padding-top: 5px;
    padding-bottom: 5px;
}


@media screen and (max-width: 1201px) {
    .sidebar-collapse .navbar .dropdown .dropdown-menu, .sidebar-collapse .navbar .dropdown.show .dropdown-menu {
      margin-top: -8px;
      margin-bottom: 12px;
      overflow-y: hidden;
    }
}

.section-services .card {
    overflow: hidden;
}

/* Выпадающий список с категориями */

.cloth-nav-area-mobile {
  width: 100%;
  margin-bottom: 16px;
}

.nav-title {
  padding: 14px 27px;
  background-color: #f5f5f5;
  margin: 0 10px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
  display: none;
  cursor: pointer;
  border: 1px solid #ddd;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .nav-title {
    display: flex;
  }

  #catalog-list.open {
    max-height: none;
    opacity: 1;
    overflow-y: auto;  
    margin: 10px;
}
}

.nav-title svg {
  transition: 0.2s;
}

.nav-title.active svg {
    transform: rotate(180deg) !important;
}

#catalog-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

#checkout-privacy-checkbox + label {
  line-height: 10px; 
  padding-left: 12px;
}

/* Стилизация чекбокса политики конфеденциальности на странице "Оформление" */

.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.woocommerce-form__label-for-checkbox .woocommerce-terms-and-conditions-checkbox-text {
    position: relative;
    padding-left: 30px;
    display: inline-block;
    cursor: pointer;
    line-height: 23px;
}

.woocommerce-form__label-for-checkbox .woocommerce-terms-and-conditions-checkbox-text::before,
.woocommerce-form__label-for-checkbox .woocommerce-terms-and-conditions-checkbox-text::after {
    content: "";
    display: inline-block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 22px;
    left: 0;
    top: 0;
    cursor: pointer;
    border-radius: 3px;
    transition: opacity 0.3s;
}

.woocommerce-form__label-for-checkbox .woocommerce-terms-and-conditions-checkbox-text::before {
    background-color: transparent;
    border: 1px solid rgba(27, 24, 24, 0.34);
}

.woocommerce-form__label-for-checkbox .woocommerce-terms-and-conditions-checkbox-text::after {
    font-family: "Nucleo Outline";
    content: "\ea22";
    text-align: center;
    font-size: 10px;
    color: #1b1818;
    border: 0;
    background-color: transparent;
    opacity: 0; 
    transition: all 0.3s ease;
}

.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked + .woocommerce-terms-and-conditions-checkbox-text::after {
    opacity: 1;
}

.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked + .woocommerce-terms-and-conditions-checkbox-text::before {
    border-color: #1b1818; 
}