pre {
  direction: ltr;
  text-align: left;
}
#menu-header-menu-desktop .menu-item.current-menu-item,
#menu-header-menu-desktop .menu-item.current-menu-parent {
  border-bottom: 2px solid #060706;
}

.woocommerce ul.products.columns-4:before,
.woocommerce ul.products.columns-4:after,
.woocommerce ul.products.columns-5:before,
.woocommerce ul.products.columns-5:after {
  display: none;
}
.productlist-products {
  margin: 0 auto;
  width: 100%;
  max-width: 1230px;
}
ul.products.columns-4,
ul.products.columns-5 {
  display: flex;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 64px;
  max-width: 1230px;
  justify-content: right;
  flex-wrap: wrap;
  gap: 21px;
  align-items: center;
  position: relative;
}

ul.products.columns-3 .product-item,
ul.products.columns-4 .product-item,
ul.products.columns-5 .product-item {
  direction: rtl;
  margin: 0 !important;
  max-width: 229px !important;
  width: 229px !important;
  border: 1px solid #e0e0e0;
  padding: 6.5px 6.5px 15px 6.5px !important;
  background: #fff;
  text-align: center;
  display: flex !important;
  flex-direction: column;
  gap: 6.7px;
  box-sizing: border-box;
}

ul.products.columns-5 .product-item {
  max-width: 229px !important;
  width: 229px !important;
}

.productlist-products ul.products li.product a.woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.productlist-products ul.products.columns-4 li .loop-product-thumbnail img,
.productlist-products ul.products.columns-5 li .loop-product-thumbnail img {
  display: block;
  margin: 0;
  width: 100%;
  height: revert-layer !important;
}

ul.products.columns-4 li .loop-product-thumbnail,
ul.products.columns-5 li .loop-product-thumbnail {
  position: relative;
  max-height: 239px;
  min-height: 239px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.products.columns-4 li .loop-product-thumbnail,
ul.products.columns-5 li .loop-product-thumbnail {
  flex: none;
}

.woocommerce ul.products li.product .loop-product-thumbnail img {
  margin-bottom: 0;
}
.woocommerce
  ul.products
  li.product
  .loop-product-thumbnail
  .woocommerce-placeholder {
  border: 0;
}

ul.products.columns-4 li .loop-product-info,
ul.products.columns-5 li .loop-product-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  padding-bottom: 5px;
  gap: 8px;
  padding-right: 5px;
  padding-left: 12px;
}
ul.products.columns-4 li .loop-product-info .loop-product-short-info,
ul.products.columns-5 li .loop-product-info .loop-product-short-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 79px;
}

.woocommerce-loop-product__title {
  overflow: hidden;
  text-overflow: ellipsis;
  height: 32px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 18px;
  font-size: 17px;
}

.woocommerce
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  .woocommerce-loop-category__title,
.woocommerce
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  .woocommerce-loop-product__title,
.woocommerce
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  h2,
.productlist-products
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  h2,
.woocommerce
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  h1,
.productlist-products
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  h1 {
  padding: 0;
  height: fit-content;
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 36px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 18px;
}
.woocommerce
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  p,
.productlist-products
  ul.products
  li.product
  .loop-product-info
  .loop-product-short-info
  p {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 37px;
  overflow: hidden;
  line-height: 18px;
  font-size: 14px;
  letter-spacing: 0px;
  color: #060706;
}
.woocommerce ul.products li.product .loop-product-info .price,
.productlist-products ul.products li.product .loop-product-info .price,
.productlist-products ul.products li.product .price,
.woocommerce ul.products li.product .price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0px;
  margin-bottom: 0;
  height: 53px;
  line-height: 14px;
  padding: 0 8px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0px;
  color: #060706;
  justify-content: end;
}

.woocommerce ul.products li.product .loop-product-info .price del,
.productlist-products ul.products li.product .loop-product-info .price del,
.productlist-products ul.products li.product .price del,
.woocommerce ul.products li.product .price del {
  display: inline-block;
  height: 25px;
  width: auto;
  line-height: 25px;
  font-size: 14px;
  font-weight: normal !important;
  color: #707070;
  letter-spacing: 0px;
  opacity: 1;
}
.woocommerce ul.products li.product .loop-product-info .price del,
.woocommerce ul.products li.product .loop-product-info .price ins,
.productlist-products ul.products li.product .loop-product-info .price del,
.productlist-products ul.products li.product .loop-product-info .price ins,
.productlist-products ul.products li.product .price del,
.productlist-products ul.products li.product .price ins,
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price ins {
  position: relative;
  text-decoration: none;
}
.woocommerce ul.products li.product .loop-product-info .price del:before,
.woocommerce ul.products li.product .price del:before,
.productlist-products
  ul.products
  li.product
  .loop-product-info
  .price
  del:before,
.productlist-products ul.products li.product .price del:before {
  content: "";
  width: 100%;
  height: 1.5px;
  background-color: #707070;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -45%);
}
.woocommerce
  ul.products
  li.product
  .loop-product-info
  .price
  > .woocommerce-Price-amount,
.productlist-products
  ul.products
  li.product
  .loop-product-info
  .price
  > .woocommerce-Price-amount {
  margin-top: 20px;
}
.woocommerce ul.products li.product .loop-product-info .price .price-per-100,
.woocommerce ul.products li.product .price .price-per-100,
.productlist-products
  ul.products
  li.product
  .loop-product-info
  .price
  .price-per-100,
.productlist-products ul.products li.product .price .price-per-100 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 12px;
  margin-bottom: 0 !important;
  flex-direction: row-reverse;
  letter-spacing: 0;
}

.woocommerce-Price-amount.amount span {
  font-size: 11px;
}

.woocommerce ul.products li.product .loop-product-info .button {
  display: flex;
  margin-top: 0;
  padding: 0;
  height: 43px;
  line-height: 17px;
  font-size: 17px;
  font-weight: 900;
  color: #060706;
  border: 0.5px solid #000 !important;
  border-radius: 0;
}
.productlist-products ul.products li.product .onsale {
  top: 0;
  right: 0;
  left: auto;
  margin: -0.5em -0.5em 0 0;
}
.productlist-products span.onsale {
  min-height: 3.236em;
  min-width: 3.236em;
  padding: 0.202em;
  font-size: 1em;
  font-weight: 700;
  position: absolute;
  text-align: center;
  line-height: 3.236;
  top: -0.5em;
  left: -0.5em;
  margin: 0;
  border-radius: 100%;
  background-color: #777335;
  color: #fff;
  font-size: 0.857em;
  z-index: 9;
}

.taxonomy-cat-top-banner,
.taxonomy-cat-middle-banner {
  display: flex;
  width: 100%;
  min-height: 276px;
  max-height: 276px;
  background-repeat: no-repeat;
  background-size: cover;
  background: #f7f7f7;
  align-items: center;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
}
.taxonomy-cat-middle-banner {
  margin: 15px 0;
  min-height: 315px;
}
section.taxonomy-sorting {
  display: flex;
  position: relative;
  gap: 20px;
  margin: 0 auto;
  margin-top: 28px;
  align-items: center;
  max-width: 1230px;
  border-bottom: 1px solid #e0e0e0;
  justify-content: space-between;
}

@media (max-width: 1250px) {
  section.taxonomy-sorting {
    flex-wrap: wrap;
  }
}
section.taxonomy-info {
  padding-top: 35px;
  padding-bottom: 35px;
  margin: 0 auto;
  max-width: 1230px;
  text-align: center;
}

section.taxonomy-info h1 {
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
  color: #000000;
}

.wrapperDescriptionCategories {
  max-width: 644px;
  margin: 0 auto;
}

.wrapperDescriptionCategories a {
  font-size: 15px;
  font-weight: normal;
  line-height: 22px;
  color: #000000;
  text-decoration: none;
}

@media (max-width: 768px) {
  .wrapperDescriptionCategories {
    padding: 0 27px;
  }
}

section.taxonomy-info p {
  font-size: 15px;
  font-weight: normal;
  line-height: 22px;
  color: #000000;
  display: inline;
}

section.taxonomy-info h2 {
  font-size: 15px;
  line-height: 22px;
  color: #000000;
  display: inline;
  font-weight: bold;
}

.taxonomy-sorting .tax-child-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 9px;
  flex-wrap: nowrap;
  overflow: auto;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.taxonomy-sorting .tax-child-wrapper::-webkit-scrollbar {
  display: none;
}

body.tax-product_cat .taxonomy-sorting .woocommerce-ordering {
  flex-basis: 10%;
}
body.tax-product_cat .taxonomy-sorting .tax-filtering-wrapper {
  flex-basis: 10%;
}
.arcaffe-button.arc-buttons-catlist {
  max-width: 114px !important;
  font-weight: 400;
}
.arcaffe-button.arc-buttons-catlist.arc-button-cat-current {
  font-weight: 900;
}

body.woocommerce-cart .container > .woocommerce {
  padding: 0;
}

/* @media (max-width: 1250px) {
  body.woocommerce-cart .container > .woocommerce {
    padding: 0 20px;
  }
} */

body.woocommerce-cart .container > .woocommerce table.shop_table {
  margin-top: 10px;
  text-align: right;
  border: 0;
  border-radius: 0;
  margin-bottom: 16px !important;
}
body.woocommerce-cart
  .container
  > .woocommerce
  .woocommerce-cart-form
  table.shop_table
  tbody:first-child
  tr:first-child
  td {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
body.woocommerce-cart
  .container
  > .woocommerce
  .woocommerce-cart-form
  table.shop_table
  td.stock-missing {
  padding: 5px 12px 12px 12px;
  border-top: 0;
}
body.woocommerce-cart
  .container
  > .woocommerce
  .woocommerce-cart-form
  table.shop_table
  td.stock-missing
  span {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  padding-right: 10px;
  border: 2px solid #ff0000;
  height: 48px;
  font-size: 18px;
  line-height: 19px;
  flex-direction: row-reverse;
}

@media (max-width: 550px) {
  body.woocommerce-cart
    .container
    > .woocommerce
    .woocommerce-cart-form
    table.shop_table
    td.stock-missing
    span {
    font-size: 15px;
  }

  ul.products.columns-4 li .loop-product-thumbnail,
  ul.products.columns-5 li .loop-product-thumbnail {
    /* max-height: 196.28px; */
    min-height: 196.28px;
  }
}
body.woocommerce-cart .container > .woocommerce table.shop_table img {
  width: 67px;
  height: 78px;
}

@media (max-width: 1100px) {
  body.woocommerce-cart .container > .woocommerce table.shop_table img {
    width: 101px;
    height: 111px;
  }
}

body.woocommerce-cart
  .container
  > .woocommerce
  table.shop_table
  .product-name
  a {
  color: #060706;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: inset 0px 3px 6px #00000029;
}
body.woocommerce-cart
  .container
  > .woocommerce
  table.shop_table
  .product-subtotal {
  text-align: left;
}
body.woocommerce-cart .container > .woocommerce a.remove,
body.woocommerce-checkout ul.product_list_widget li a.remove,
#customMinicartContainer
  .minicart-content
  ul.cart_list
  li
  .minicart-subtotal
  a.remove {
  float: left;
  height: 1em;
  width: 1em;
  font-size: 1.5em;
  background: url("../images/ico-remove-product.svg") no-repeat center;
}
body.woocommerce-cart .container > .woocommerce a.remove:hover,
body.woocommerce-checkout ul.product_list_widget li a.remove:hover,
#customMinicartContainer
  .minicart-content
  ul.cart_list
  li
  .minicart-subtotal
  a.remove:hover {
  /*filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);*/
  filter: invert(7%) sepia(87%) saturate(7096%) hue-rotate(14deg)
    brightness(107%) contrast(116%); /*красньій от woo #a00*/
}
body.woocommerce-cart .container > .woocommerce .cart-collaterals .cart_totals {
  width: 100%;
}
body.woocommerce-cart
  .container
  > .woocommerce
  .cart-collaterals
  #cartChooseCityPopup {
  color: #707070;
  text-decoration: underline;
  cursor: pointer;
}

#minicartOpenIcon {
  height: 21.11px;
  cursor: pointer;
}

#minicartOpenIcon,
#minicartOpenIcon a {
  position: relative;
}
#minicartOpenIcon .wa_basketicon_total {
  position: absolute;
  margin-top: 5px;
  min-width: 16.54px;
  max-height: 16px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 21.11px;
}
#minicartOpenIcon .wa_basketicon_total.basketicon_notempty {
  background: #060706;
}

#ajaxProductsPreloader,
#ajaxBlogpostsPreloader {
  width: 100%;
  height: 65px;
  background-image: url("../images/ajax_products_preloader.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 250px;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ajaxProductsPreloader.ajax-preloader-visible,
#ajaxBlogpostsPreloader.ajax-preloader-visible {
  opacity: 1;
}

#ajaxPopupContainer {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
}
#ajaxPopupContainer.popup-container-visible {
  z-index: 9999;
  width: 100%;
  height: 100%;
  opacity: 1;
}
#ajaxPopupContainer .popup-wrapper {
  position: relative;
  margin: 0 auto;
  margin-top: 200px;
  width: 430px;
  height: 344px;
  background: #fff;
}
#ajaxPopupContainer .popup-close {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 13px;
  height: 13px;
  background: url("../images/icon-close-popup.png") no-repeat center;
  cursor: pointer;
}

.woocommerce-checkout .checkout-arcaffe-wrapper-content .col2-set .col-1,
.woocommerce-checkout .checkout-arcaffe-wrapper-content .col2-set .col-2 {
  float: none;
  display: flex;
  gap: 50px;
  width: 100%;
}
.before-billing-form-wrapper {
  display: flex;
}
.before-billing-form-wrapper h3 {
  flex-basis: 70%;
}
.before-billing-form-wrapper span.billing-return-to-prev {
  flex-basis: 30%;
  text-align: left;
  text-decoration: underline;
}
.before-billing-form-wrapper span.billing-return-to-prev a {
  color: #060706;
}
.checkout-arcaffe-wrapper-content .checkout-rightfields {
  width: 48%;
  float: right;
}
.checkout-arcaffe-wrapper-content .checkout-leftfields {
  width: 48%;
  float: left;
  display: flex;
  flex-wrap: wrap;
}

.form-row-wide {
  flex: 1 1 100%;
}

.form-row-small {
  flex: 1 1 calc(40% - 10px);
  min-width: 0;
}

/* Скрываем адреса начиная с третьего */
.address-selector .address-item:nth-child(n + 4) {
  display: none;
}

@media (max-width: 768px) {
  .taxonomy-cat-top-banner,
  .taxonomy-cat-middle-banner {
    display: flex;
    width: 100%;
    min-height: 194px;
    max-height: 194px;
    background-repeat: no-repeat;
    background-size: cover;
    background: #f7f7f7;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
  }

  .checkout-arcaffe-wrapper-content .checkout-rightfields {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    float: none;
  }
  #billing_first_name_field,
  #billing_last_name_field {
    flex: 1 1 100%;
  }
  #billing_first_name_field {
    order: 1;
  }
  #billing_last_name_field {
    order: 2;
  }
  #billing_city_field {
    order: 3;
  }
  #billing_address_1_field {
    order: 4;
  }
  #billing_house_number_field {
    order: 5;
  }
  #billing_entry_number_field {
    order: 6;
  }
  #billing_apartment_number_field {
    order: 7;
  }
  #billing_floor_number_field {
    order: 8;
  }
  #billing_email_field {
    order: 9;
  }
  #billing_phone_field {
    order: 10;
  }
}
