/* =========================================================
   VAPER — UI TWEAKS (filters, buttons, archive, checkout)
   ========================================================= */

/* ===== BeRocket filters (BAPF) ===== */
.bapf_sfilter .bapf_clr_span,
.bapf_sfilter .bapf_img_span{
  display: inline-block !important;
  position: relative;
  overflow: hidden;
  margin: 5px;
  height: 2em;
  width: 2em;
  line-height: 2em;
  border: 1px solid #000;
  text-align: center;
  vertical-align: middle;
  color: #222 !important;
  text-shadow: 0 0 3px #FFF, 1px 0 2px #FFF, 0 1px 2px #FFF, -1px 0 2px #FFF,
               0 -1px 2px #FFF, 1px 1px 2px #FFF, 1px -1px 2px #FFF, -1px 1px 2px #FFF, -1px -1px 2px #FFF;
  transition: all .2s ease-out .1s;
}

/* ВОТ ТУТ у тебя была поломка (не было { ) — фикс */
.bapf_sfilter .bapf_hascolarr{
  color: #6d6d6d;
  font-weight: 700;
  font-size: 14px;
  display: block;
  cursor: auto;
  border-bottom: none;
  margin: 0 0 .8em;
  padding-bottom: .8em;
  width: 100%;
  position: relative;
  line-height: 1em;
}

.bapf_hascolarr{
  border: none !important;
  margin-top: 0 !important;
  margin-bottom: 7px !important;
  padding-bottom: 0 !important;
}

.bapf_divi_sfa h3,
.divi_checkbox_class h3,
.divi_color_class h3,
.divi_image_class h3,
.divi_slider_class h3{
  color: #000;
  font-weight: 600;
  font-size: 18px;
  display: block;
  cursor: auto;
  margin: auto;
  width: 100%;
  position: relative;
  line-height: 1em;
}

/* ===== Checkout ===== */
.checkout .form-row .woocommerce-input-wrapper .input-text{
  width: 60%;
  border-width: 1px;
  border-color: #686868;
  height: 40px;
  line-height: 40px;
  color: #000;
  padding: 10px;
}

/* ===== Wishlist popup (woosw) ===== */
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner a,
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner span{
  line-height: 3;
  text-decoration: none;
  outline: none;
  border: 1px solid;
  cursor: pointer;
}

.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-page{
  font-size: 13px;
  line-height: 35px;
  background: #fff;
  font-weight: 500;
  padding: 0 25px;
  text-transform: uppercase;
  text-decoration: unset !important;
}

/* ===== Typography ===== */
.h3, h3{
  font-size: 18px;
}

/* ===== Product cards ===== */
.products-list.grid .product-wapper .products-thumb{
  position: relative;
  margin: 0;
  overflow: hidden;
  display: inline-block;
  border-radius: 10px;
  vertical-align: top;
  border: 1px solid #4444;
}

/* ===== Woo buttons ===== */
.woocommerce #respond input#submit,
.woocommerce button.button,
.woocommerce input.button{
  color: #fff;
  background: #bd0028;
  font-size: 13px;
  padding: 0 50px;
  line-height: 50px;
  cursor: pointer;
  border: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

.woocommerce button.button,
.woocommerce input.button{
  margin-left: 10px;
  margin-top: 0;
  padding: 0 30px;
  margin-bottom: 20px;
}

.quantity{
  margin-top: 7px;
}

/* ===== mini cart ===== */
.mini-cart .cart-popup .free-order{
  display: none;
}

.woocommerce-mini-cart__buttons a,
.mini-cart .cart-popup a.button,
.mini-cart .cart-popup .button{
  color: #fff !important;
}

.woocommerce-mini-cart__buttons a:hover,
.mini-cart .cart-popup a.button:hover{
  color: #fff !important;
}

a.go-shop{
  color: #000 !important;
}

/* ===== Product buttons (icons block) ===== */
.product-button *{
  color: #fff;
  display: inline-block;
  text-align: center;
  background: #fff;
  border: 1px solid #e1e1e1;
  width: 40px;
  height: 40px;
  line-height: 40px;
  white-space: nowrap;
}

.product-button .woosq-btn-icon{
  color: #000 !important;
}

.product-button .woosq-btn:hover .woosq-btn-icon{
  background: #bd0028;
  border-color: #bd0028;
  color: #fff !important;
}

/* mobile product-button grid */
@media (max-width: 580px){
  .products-list.grid .product-wapper .products-thumb .product-button>*{
    width: 30px !important;
    height: 30px !important;
    line-height: 28px !important;
    margin: 0 !important;
  }

  .products-list.grid .product-wapper .products-thumb .product-button>* > *{
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100% !important;
    line-height: 28px !important;
  }

  .products-list.grid .product-wapper .products-thumb .product-button{
    display: grid;
    grid-template-columns: repeat(4, 30px);
    grid-gap: 6px !important;
    grid-template-rows: 30px;
  }

  .products-list.grid .product-wapper .products-thumb .product-button>* *::before{
    line-height: 28px !important;
    color: #000 !important;
    font-size: 15px !important;
  }

  .products-list.grid .product-wapper .products-thumb .product-button .woosc-btn:before{
    content: "\e909" !important;
  }
}

.products-list.grid .product-wapper .products-thumb .product-button .woosc-btn{
  display: block !important;
}

/* ===== Archive hover zoom ===== */
.main-archive-product .content-products-list .products-list.grid .product-wapper .products-thumb a>img{
  transition: .2s;
  transform: scale(1);
}
.main-archive-product .content-products-list .products-list.grid .product-wapper .products-thumb:hover a>img{
  transition: .2s;
  transform: scale(1.1);
}

/* ===== Product zoom disable ===== */
.contents-detail .bwp-single-product.zoom .view-gallery{
  display: none;
}
.zoomWindow{
  display: none !important;
}
