/*
Theme Name: Ruper Child
Theme URI: http://www.wpbingosite.com/ruper
Author: wpbingo
Description: This is a child theme for Ruper
Version: 1.0
Author URI: http://wpbingosite.com
Template: ruper
Text Domain: ruper-child
*/
/*************** ADD YOUR CUSTOM CSS HERE  ***************/

a.button {
    transition: all 0.3s;
}

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

.bwp-header .login-header {
    display: none;
}
.bwp-navigation ul > li.level-0 {
    padding: 0 20px;
}

.bwp-slider-homepage .item-info {
    background: linear-gradient(0deg, rgba(33,33,33,1) 0%, rgba(33,33,33,0) 100%);
}

.bwp-widget-banner {
    cursor: pointer;
}

.main-archive-product .product-button,
.main-archive-product .price, .woocommerce-info, .product-stock,
.header-mobile-fixed, .bwp-top-bar .woocommerce-ordering, .bwp-top-bar .display, .bwp-top-bar .woocommerce-result-count {
    display: none!important;
}
.products-list.grid .product-wapper .products-content h3.product-title {
    text-align: center;
    font-size: 14px;
}
ul.woocommerce-product-subcategories li > a img,
ul.woocommerce-product-subcategories.image_categories li.active > a::before, ul.woocommerce-product-subcategories.image_categories li > a:hover::before {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.woocommerce-tabs {
    border-bottom-width: 0;
}

#tab-coatings h4, #tab-mechanisms h4 {
    margin: 0 0 15px 0;
}
#tab-coatings ul, #tab-mechanisms ul {
    margin: 0 -15px;
}
#tab-coatings img {
    border: 1px solid #e5e5e5;
    width: 100%;
    height: auto;
}
#tab-mechanisms img {
    max-width: 100%;
    height: auto;
}
/*#tab-coatings li, #tab-mechanisms li {
    width: calc(50% - 30px);
    display: inline-block;
    margin: 15px;
}*/
#tab-coatings ul, #tab-mechanisms ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Due colonne uguali */
    gap: 30px;                     /* Spazio tra colonne e righe */
    padding: 15px;
    list-style: none;
}

#tab-coatings ul li, #tab-mechanisms ul li {
    width: 100%; /* Si adatta automaticamente alla cella della griglia */
}

#tab-specifications img {
    max-width: 100%;
    height: auto;
}
#tab-specifications .specification-image {
    width: 180px;
}
#tab-specifications .specification-measure {
    width: 120px;
}
.table td, .table th, table td, table th {
    padding: 10px 15px;
}
#tab-specifications table td, table th {
    vertical-align: middle;
    width: 25%;
}
#cmplz-manage-consent .cmplz-manage-consent {
    right: 30px!important;
}

.post-type-archive-product .page-title, .tax-product_cat .page-title {
    background-color: #E0E8F1!important;
    border-width: 0!important;
}
ul.woocommerce-product-subcategories li > a img {
    filter: none;
}
a.button {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 50px;
  position: relative;
  background: #4C5365;
  border: 1px solid #E0E8F1;
  color: #fff;
  text-align: center;
  padding: 0 15px;
  display: block;
  margin: 35px 0 0 0;
}
a.button:hover {
    background-color: #fff;
    color: #000!important;
}

.bwp-filter li {
    display: block!important;
    float: none!important;
}
#bwp_form_filter_product .bwp-filter span {
    display: block!important;
    margin-right: 0!important;
}
#bwp-footer {
    background-color: #f8f8f8;
}


@media (max-width: 767px) {
    #tab-coatings ul, #tab-mechanisms ul {
        margin: 0;
    }
    #tab-coatings li, #tab-mechanisms li {
        width: 100%;
        margin: 15px 0 0 0;
    }

    .home .bwp-widget-banner .banners .bwp-image img {
        object-fit: cover;
        object-position: center;
        height: 300px;
    }
}

/* --- */
#products-categories {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 35px);
}
#products-categories .bg-banner .banner-wrapper-infor {
    padding: 10px 0;
}
#products-categories .bg-banner .info {
    display: block;
    width: 100%;
    text-align: center;
}
.margin-auto {
    margin-left: auto!important;
    margin-right: auto!important;
}
.bwp-navigation ul > li.level-0 > a {
    font-size: 18px;
}
body {
    font-size: 18px;
}
#tab-specifications .specification-image {
    width: auto;
}
#tab-specifications .specification-measure {
    width: auto;
}
.specification-image-column {
    width: 80%;
}
.specification-measure-column {
    width: 20%;
}
.woocommerce-tabs .content-woocommerce-tabs {
    width: 1440px;
    max-width: 100%;
}
.bwp-filter-ajax ul li > span {
    font-size: 18px;
}
ul.woocommerce-product-subcategories li > a {
    width: 200px;
    height: 200px;
}
.woocommerce-product-subcategorie-content .subcategorie-content {
    max-width: 1000px;
}
.bwp-main .page-title.empty-image {
    background-color: #4C5365!important;   
}
.bwp-main .page-title.empty-image h1,
.bwp-main .page-title.empty-image .breadcrumb,
.bwp-main .page-title.empty-image ul.woocommerce-product-subcategories li h2 a,
.bwp-main .page-title.empty-image .current,
.bwp-main .page-title.empty-image a,
.bwp-main .page-title.empty-image .woocommerce-product-subcategorie-content .slick-arrow,
.bwp-main .page-title.empty-image .back-to-shop {
    color: #fff!important;
}

.bwp-main .page-title.empty-image ul.woocommerce-product-subcategories.image_categories li > a:hover::before,
.bwp-main .page-title.empty-image ul.woocommerce-product-subcategories.image_categories li.active > a::before {
    border-color: #fff;
}
.bwp-main .page-title.empty-image ul.woocommerce-product-subcategories li h2 a::before {
    background-color: #fff;
}

@media (max-width: 767px) {
    .specification-image-column {
    width: 50%;
    }
    .specification-measure-column {
        width: 50%;
    }
}

#tab-specifications .specification-image {
    max-width: 400px;
}