﻿/*
Theme Name: Bono Child
Theme URI: https://wpshop.ru/themes/bono
Author: WPShop.ru
Author URI: http://wpshop.ru/
Template: bono
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

.price-begin{
  display: inline-block;
  margin-right: 8px;
}


.city-change {
  position: relative;
}
.city-current {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.city-current .city-location-img {
  margin-right: 5px;
}
.city-list {
  z-index: 110;
  top: 24px;
  position: absolute;
  padding: 10px;
  border: 1px solid #000;
  width: 200px;
  background: #fff;
  border-radius: 4px;
}
.city-current-text{
  margin-left: 2px;
}
.city-list__close{
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  color: #000;
}
.city-list .city-list__item {
  display: block;
  color: #000;
}
.city-list .city-list__item:hover {
  color: #549926;
}
.city-list__item:not(:last-child){
  margin-bottom: 6px;
}



.isoldstore_active_elements{
  margin-bottom: 15px;
}

.isoldstore_active_elements .title {
    font-weight: 500;
    font-size: 1.5em;
}

.isoldstore_active_elements .title::after {
    content: ': ';
}

.isoldstore_active_elements .tag a {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid;
    color: #111;
    text-decoration: none;
    transition: .3s ease;
}

.isoldstore_active_elements .tag a:hover {
    background-color: #549926;
    color: #fff;
}

.isoldstore_active_elements .libk a {
    display: inline-block;
    color: #111;
    text-decoration: none;
    transition: .3s ease;
    margin: 5px;
}


.slider.active-element{
  width: 100%;
  overflow: hidden;
}
.slider-wrap{
  overflow: hidden;
}
.slide-container{
  display: grid;
}
.active-element{
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: center;
}
.active-element .slider-wrap{
  width: 100%;
}
.active-element .slide-container{
  grid-template-columns: repeat(100, 20%);
  position: relative;
  margin: -15px;
}
.active-element.open .slide-container{
  grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
  left: 0!important;
  transition: .1s;
}
.active-element .slide{
  padding: 15px;
}
.active-element .slide > a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5px 15px;
  border-radius: 5px;
  border: 1px solid #549926;
  color: #111;
  text-decoration: none;
  text-align: center;
  transition: .3s;
}
.active-element .slide > a:hover {
    background-color: #549926;
    color: #fff;
}
.active-element.open .prev,
.active-element.open .next{
  display: none;
}
.active-element .prev,
.active-element .next{
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 15px 0px;
  position: relative;
  cursor: pointer;
}
.active-element .next{
  transform: rotateY(180deg);
  margin-left: 20px;
}
.active-element .prev::before,
.active-element .next::before,
.active-element .prev::after,
.active-element .next::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 75%;
  height: 2px;
  background: #91a6ba;
  transform-origin: left center;
  transform: rotateZ(42deg);
  transition: .2s;
}
.active-element .prev:hover::before,
.active-element .next:hover::before,
.active-element .prev:hover::after,
.active-element .next:hover::after{
  background-color: #549926;
  box-shadow: 0 0 10px 0px #549926;
}
.active-element .prev::after,
.active-element .next::after{
  transform: rotateZ(-42deg);
}
.active-element .open-close{
  margin: 15px 0px;
}
.page .article-meta {
  text-align: unset;
}
.search-results .pagination {
  display: flex;
  align-items: flex-end;
}


.group_elements_list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}


.group_elements_wrap_image{
  flex: 0 0 50%;
  max-height: 60px;
  display: flex;
}
.group_elements_link{
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  border: 1px solid #549926;
  border-radius: 8px;
  color: #000;
  text-decoration: none;
  font-weight: 400;
  padding: 8px;
}
.group_elements_image{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.group_elements{
  margin-bottom: 20px;
}

@media screen and (max-width: 1080px) { .active-element .slide-container{ grid-template-columns: repeat(100, 20%); } }
@media screen and (max-width: 768px) { .active-element .slide-container{ grid-template-columns: repeat(100, calc(100% / 3)); } }
@media screen and (max-width: 425px) { .active-element .slide-container{ grid-template-columns: repeat(100, calc(50% )); } }


.filter-close {
  display: none;
}
.filter-subtitle{
  display: none;
}
@media screen and (max-width: 768px) {
  .woocommerce-ordering {
    display: flex;
    align-items: center;
  }
  .shop-sorting .woocommerce-ordering select {
    width: 100%;
    margin-right: 15px;
  }
  .filter-btn {
    border-radius: 3px;
    padding: 0.5em 1.5em;
    border: 1px solid #ced4da;
    background-color: transparent;
  }
  .filter-close {
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
    border: none;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgNTAgNTAiIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjQiIGQ9Ik03Ljc0MSA3Ljc0MUw0Mi4zNTkgNDIuMzU5TTQyLjI1OCA3Ljc0Mkw3LjYxOCA0Mi4zODIiLz48L3N2Zz4=");
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
  }
  .filter-subtitle {
    display: block;
    padding: 20px;
    margin-bottom: 0;
    font-weight: 700;
    text-align: center;
  }

  #secondary {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    max-width: 100%;
    flex: none;
    z-index: 999;
    height: 100%;
    transform: translateY(calc(100% - 40px));
    -webkit-transform: translateY(calc(100% - 40px));
    -moz-transform: translateY(calc(100% - 40px));
    -ms-transform: translateY(calc(100% - 40px));
    -o-transform: translateY(calc(100% - 40px));
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
  }
    #secondary.show {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}
  #secondary.show .nav-btn-mobile a svg {
    transform: rotateX(180deg);
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
  }
  #secondary.show .nav-btn-mobile {
    box-shadow: none;
  }
  #secondary .sticky-sidebar {
    padding: 30px 20px;
    height: calc(100% - 40px);
    overflow: auto;
  }
  #secondary .sticky-sidebar {
    padding-top: 10px;
  }
  #secondary {
    top: auto;
  }
  #secondary.show {
    top: 0;
    display: block;
  }
}

@media screen and (max-width: 545px) {
  .group_elements_list {
    display: flex;
    overflow: auto;
  }
  .group_elements_list::-webkit-scrollbar { 
    width: 0; 
  }
  .group_elements_list { 
    -ms-overflow-style: none; 
  }
  .group_elements_list { 
    overflow: -moz-scrollbars-none; 
  }
  
  .group_elements_link {
    display: flex;
    flex-direction: column;
    min-width: 150px;  
  }
  .group_elements_wrap_image {
    flex: auto;
  }
}

.shop-item__buttons .bono_buy_one_click{
  margin-top: 5px;  
  font-size: .9em;
  border-radius: 1.5em;
  margin-right: 0;
  padding: 0.5rem .8rem;
  line-height: 1.3;
}
.shop-item.shop-item--type-standard .shop-item__buttons .shop-item__buttons-cart {
  min-width: 162px;
}

.wc-layered-nav-term-hide{
  display: none;
}
.woocommerce-widget-layered-nav.open .wc-layered-nav-term-hide{
  display: block;
}


.show_filter{
  cursor: pointer;
}
.show_filter:hover{
  color: #005cff;
}
.show_filter:after{
  content: "﹀";
  margin-left: 0.5em;
  opacity: .7;
  font-family: wpshop-core;
}
.show_filter.open:after{
  content: "︿";
}

body:not(.is-mobile) .shop-item--type-standard .shop-item__buttons {
  -webkit-transform: translate3d(0,100px,0);
  transform: translate3d(0,100px,0);
}
.no-active{
  position: relative;
  margin: .8em 0;
  color: #91a6ba;
  padding-left: 25px;
  line-height: 1.3;
}
.no-active::before{
  content: "";
  position: absolute;
  top: .15em;
  left: 0;
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ced4da;
  background-color: rgba(206, 212, 218, 0.2);
  border-radius: 3px;
  vertical-align: middle;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}

.header__feedback-call{
  color: #549926;
  text-decoration: underline;
  cursor: pointer;
  padding-left: 22px;
}
.header__feedback-call:hover{
  color: #f43c33;
}


#feedback-form {
  max-width: 500px;
}
.feedback__name {
  font-size: 28px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
}
.feedback__input-wrap:not(:last-child) {
  margin-bottom: 20px;
}
.feedback__input-wrap{
  position: relative;
}
.feedback__input-wrap .wpcf7-spinner{
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}
.feedback__input-wrap input[type="submit"]{
  display: block;
  margin: 0 auto;
}
.feedback .feedback__input-wrap .btn:focus{
  color: #fff;
}

.container-calculator {
	display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    z-index: 999;
}

.container-calculator.open {
	display: block;
}

.form-calculator {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    padding: 80px 20px;
    text-align: center;
    margin-top: 20px;
}

.block-lumber-calculator {
	text-align: left;
}

.block-lumber-calculator p {
	margin-bottom: 5px;
}

.block-lumber-calculator > div {
	margin-bottom: 20px;
}

.container-calculator .form-title {
	font-weight: bold;
}

.main-content-calculator {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-content-calculator img {
	width: 50%;
	margin-left: 10px;
	height: 100%;
}

.btn-calculator {
	border: 0;
	padding: 10px 15px;
	background-color: #549926;
	border: 1px solid #549926;
	color: #fff;
	cursor: pointer;
	border-radius: 4px;
}

.btn-calculator:hover {
	background-color: transparent;
	color: #549926;
	border: 1px solid #549926;
}

.container-btn-close-calc {
	display: block;
	width: 100%;
	position: relative;
}

.btn-close-calc {
	display: block;
	width: max-content;
    text-align: unset;
    font-size: 26px;
    font-weight: bold;
    color: #549926;
    cursor: pointer;
    transform: rotate(45deg);
    transition: all .5s;
    bottom: 0;
    position: absolute;
    right: 0;
}

.btn-close-calc:hover {
	transform: rotate(135deg);
}

.bold {
	font-weight: bold;
}

.top__bar_payment_systems {
	max-width: 200px;
	display: flex;
    gap: 2px;
}

.top__bar_payment_systems svg {
	width: 40px;
	height: auto;
}

@media screen and (min-width: 992px) and (max-width: 1399px){
  .shop-item__buttons .bono_buy_one_click {
    font-size: inherit;
  }
}