/*
    Template:       mantis
    Theme Name:     Mantis Child
    Theme URI:      http://themeforest.net/user/LA-Studio/portfolio?ref=LA-Studio
    Author:         LA Studio
    Author URI:     http://themeforest.net/user/LA-Studio?ref=LA-Studio
    Description:    Mantis - Minimal & Modern WooCommerce Theme
    Version:        1.0
    Tags:           one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, translation-ready
    License: 		    GNU General Public License
	  License URI: 	  licence/GPL.txt
    Text Domain:    mantis-child
    Domain Path:    /languages/
*/

/* Installment icon for products in the puhoviki category. */

.product_item.thumb-has-effect .product_item--thumbnail {
    overflow: initial;
}

.product_item--thumbnail .skripka-installment-badge,
.product-main-image .skripka-installment-badge {
    position: absolute;
    z-index: 5;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    pointer-events: none;
    border-radius: 100%;
    overflow: hidden;
}

.product-main-image .skripka-installment-badge {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
}

.skripka-installment-badge img {
    display: block;
    width: 100%;
    height: 100%;
}

.prods_masonry.cover-img-bg .product_item--thumbnail-holder .skripka-installment-badge img {
    display: block;
}

.products-list-mini .skripka-installment-badge {
    display: none;
}

.products.slick-slider .slick-list {
    padding-top: 20px;
}

/* Keep the theme's right-side badges clear of the installment icon. */
.skripka-installment-badge ~ .la-custom-badge.odd,
.skripka-installment-badge ~ .la-custom-badge.badge-out-of-stock,
.skripka-installment-badge ~ .la-custom-badge.even + .onsale {
    right: 30px;
}

.skripka-installment-badge ~ .la-custom-badge.odd ~ .la-custom-badge.odd,
.skripka-installment-badge ~ .la-custom-badge.odd ~ .la-custom-badge.badge-out-of-stock {
    right: 30px;
}

.error404 .site-main .page-content {
    display: block;
    min-height: 0;
    padding: 80px 0;
}

.error404 .skripka-404-section {
    margin-top: 60px;
    text-align: left;
}

.error404 .skripka-404-section > h3 {
    margin: 0 0 30px;
    text-align: center;
    text-transform: uppercase;
}

.error404 .skripka-404-category-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.error404 .skripka-404-category-list a {
    display: block;
    padding: 16px 20px;
    border: 1px solid #e8e8e8;
    color: inherit;
    text-align: center;
    text-transform: uppercase;
}

.error404 .skripka-404-category-list a:hover {
    border-color: #343538;
}

@media (max-width: 767px) {
    .error404 .skripka-404-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    .error404 .skripka-404-category-list {
        grid-template-columns: 1fr;
    }
}

/* Keep catalog filter buttons visually identical to the links they replace. */
.wc-toolbar .wc-ordering ul li button,
.wc-toolbar .wc-view-count button,
.widget_layered_nav button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: block;
    font: inherit;
}

.wc-toolbar .wc-view-count button {
    display: inline;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    line-height: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    text-decoration: none;
    text-transform: none;
    vertical-align: baseline;
}

.wc-toolbar .wc-view-count button:hover,
.wc-toolbar .wc-view-count button:focus {
    color: #a38b5e;
    text-decoration: none;
}

.wc-toolbar .wc-ordering ul li button {
    display: block;
    width: 100%;
    padding: 5px 10px;
    border-radius: 2px;
    text-align: left;
    white-space: pre;
}

.wc-toolbar .wc-ordering ul li:hover button,
.wc-toolbar .wc-ordering ul li.active button {
    background-color: #a38b5e;
    color: #fff;
}

.widget_layered_nav.widget_layered_nav--checkboxstyle li button {
    padding-left: 20px;
}

.widget_layered_nav.widget_layered_nav--checkboxstyle li button::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 12px;
    height: 12px;
    border: 1px solid;
}

.widget_layered_nav.widget_layered_nav--checkboxstyle li button::after {
    content: "\f00c";
    position: absolute;
    top: 0;
    left: 2px;
    visibility: hidden;
    opacity: 0;
    font-family: FontAwesome;
    font-size: 8px;
}

.widget_layered_nav.widget_layered_nav--checkboxstyle li:not(.active):hover > button::after,
.widget_layered_nav.widget_layered_nav--checkboxstyle li.active button::after {
    visibility: visible;
    opacity: 1;
}

.widget_layered_nav.widget_layered_nav--borderstyle li button {
    position: relative;
    padding: 5px 20px;
}

.widget_layered_nav.widget_layered_nav--borderstyle li button::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    opacity: 0.2;
}

.widget_layered_nav.widget_layered_nav--borderstyle li button::after {
    display: none;
}

.widget_layered_nav.widget_layered_nav--borderstyle li button span {
    display: block;
    min-width: 30px;
}

.widget_layered_nav.widget_layered_nav--borderstyle li:hover button,
.widget_layered_nav.widget_layered_nav--borderstyle li.active button {
    background-color: #262626;
    color: #fff;
}


.product_list_widget button.remove {
  /* Reset button styles */
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0 0 5px;

  /* Old a.remove styles */
  display: block;
  position: absolute;
  right: 0;
  width: 20px;
  height: 20px;
  overflow: hidden;

  font-family: Verdana, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;

  text-align: right;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;

  color: #4a4141;
  cursor: pointer;
}

.products button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}