/* Theme compatibility styles for Related Products Block and Wrapper */
.wp-block-wt-related-products,
.wt-related-products-wrapper {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    margin: 2em 0;
}

.woocommerce-page .wt-related-products-cart .wt-related-products ul.products.columns-3 li.product:nth-child(3n) {
    margin-right: 0 !important;
}

.woocommerce .wp-block-wt-related-products .wt-related-products ul.products.columns-3 li.product:nth-child(3n),
.woocommerce-page .wp-block-wt-related-products .wt-related-products ul.products.columns-3 li.product:nth-child(3n) {
    margin-right: 0;
}

/* Override Divi specific styles while maintaining responsive grid */
.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content .wt-related-products.wt-related-products-cart .products li.product:nth-child(3n) {
    margin-right: 0;
}

/* related products widget for product page */
.wt-related-products {
    width: var(--theme-container-width, 100%) !important;
    max-width: var(--theme-block-max-width, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: var(--theme-block-padding, 0);
    padding-right: var(--theme-block-padding, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wt-related-products .woocommerce-loop-product__title {
    font-size: var(--theme-font-size, 1em);
    line-height: var(--theme-line-height, 1.5);
    margin: var(--theme-margin, 0.5em 0);
}

/* Remove bullet points from slider items */
.wt-related-products ul.products,
.wt-related-products .owl-carousel {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wt-related-products ul.products li.product,
.wt-related-products .owl-carousel li.product {
    list-style: none !important;
}

/* Slider styles */
.wt-related-products .carousel-wrap {
    position: relative;
    margin: 0 -15px;
    padding: 0 15px;
}

/* Fix for bullet points in various themes */
.wt-related-products.products ul,
.wt-related-products ul.products {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wt-related-products.products ul li,
.wt-related-products ul.products li {
    list-style: none !important;
}

.wt-related-products a {
    text-decoration: none !important;
}

.tax-product_brand .brand-description{overflow:hidden;zoom:1}.tax-product_brand .brand-description img.brand-thumbnail{width:25%;float:right}.tax-product_brand .brand-description .text{width:72%;float:left}.widget_brand_description img{box-sizing:border-box;width:100%;max-width:none;height:auto;margin:0 0 1em}ul.brand-thumbnails{margin-left:0;margin-bottom:0;clear:both;list-style:none}ul.brand-thumbnails:before{clear:both;content:"";display:table}ul.brand-thumbnails:after{clear:both;content:"";display:table}ul.brand-thumbnails li{float:left;margin:0 3.8% 1em 0;padding:0;position:relative;width:22.05%}ul.brand-thumbnails.fluid-columns li{width:auto}ul.brand-thumbnails:not(.fluid-columns) li.first{clear:both}ul.brand-thumbnails:not(.fluid-columns) li.last{margin-right:0}ul.brand-thumbnails.columns-1 li{width:100%;margin-right:0}ul.brand-thumbnails.columns-2 li{width:48%}ul.brand-thumbnails.columns-3 li{width:30.75%}ul.brand-thumbnails.columns-5 li{width:16.95%}ul.brand-thumbnails.columns-6 li{width:13.5%}.brand-thumbnails li img{box-sizing:border-box;width:100%;max-width:none;height:auto;margin:0}@media screen and (max-width:768px){ul.brand-thumbnails:not(.fluid-columns) li{width:48%!important}ul.brand-thumbnails:not(.fluid-columns) li.first{clear:none}ul.brand-thumbnails:not(.fluid-columns) li.last{margin-right:3.8%}ul.brand-thumbnails:not(.fluid-columns) li:nth-of-type(odd){clear:both}ul.brand-thumbnails:not(.fluid-columns) li:nth-of-type(even){margin-right:0}}.brand-thumbnails-description li{text-align:center}.brand-thumbnails-description li .term-thumbnail img{display:inline}.brand-thumbnails-description li .term-description{margin-top:1em;text-align:left}#brands_a_z h3:target{text-decoration:underline}ul.brands_index{list-style:none outside;overflow:hidden;zoom:1}ul.brands_index li{float:left;margin:0 2px 2px 0}ul.brands_index li a,ul.brands_index li span{border:1px solid #ccc;padding:6px;line-height:1em;float:left;text-decoration:none}ul.brands_index li span{border-color:#eee;color:#ddd}ul.brands_index li a:hover{border-width:2px;padding:5px;text-decoration:none}ul.brands_index li a.active{border-width:2px;padding:5px}div#brands_a_z a.top{border:1px solid #ccc;padding:4px;line-height:1em;float:right;text-decoration:none;font-size:.8em}