/*
Theme Name: OX Theme Updated
Theme URI: http://www.oxtools.com.au
Version: 1.0
Description: OX Tools child theme
Author: WOOF Creative Solutions
Author URI: http://www.woof.com.au
template: bb-theme
*/

#hp_bs .uabb-woo-products-carousel .slick-slide img, #hp_bs2 .uabb-woo-products-carousel .slick-slide img
{
    height: 240px;
    object-fit: contain;
    object-position: center;
}

.pdp_view_more{
    width: 100%;
    display: block;
    height: 38px;
}
/*  PDP and PLP Styling  */
.woocommerce-product-gallery__image.flex-active-slide {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce-product-gallery__image.flex-active-slide a img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
    margin: auto;
}
/*making height of all products same on PLP*/
/*.woocommerce ul.products li.product a img {
    min-height: 201.25px;
    width: auto;
}*/
/*Fixing margin-left on PLP mobile screen*/
@media (max-width: 767px) {
/*    .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 100%;
        margin-left: 45px;
    }*/
    body .fl-page #fl-main-content ul.products .product-category{
        width: 100%!important;
        margin-right: 0px!important;
        margin-left: 0px!important;
        margin-bottom: 0px!important;
    }
    body .fl-page #fl-main-content ul.products .product-category{
            width: 100%!important;
            margin-right: 0px!important;
            margin-bottom: 0px!important;
            margin-left: 0px!important;
        }
}

/*making height of all products same on PLP*/
.woocommerce ul.products li.product a img {
    min-height: 201.25px;
    width:auto;
    object-fit: contain;
    object-position: center;
}
@media (min-width: 1025px) {
    .woocommerce ul.products li.product a img {
        height: 240px;
        object-fit: contain;
        object-position: center;
    }
}

/* Add your custom styles here... */
.tabs-fullwidth-links {
    height: 80px;
    width: 100%;
    background: #fff;
    margin: 0;
    overflow-y: hidden;
    z-index: 999;
    top: 147px;
}
.tab-link-item.col{
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    padding-top: 30px;
}
.tab-link-item.col a {
    font-family: "integral-cf-medium", Verdana, Arial, sans-serif !important;
    font-size: 14px !important;
    color: #000;
    line-height: 3;
    border-bottom: 2px solid #878787;
    display: block;
}
.tab-link-item.col a:hover{
    text-decoration: none;
    border-bottom: 2px solid #00AAFF !important;
}
.tab-link-item.col a:active {
    font-weight: bold;
    border-bottom: 2px solid #00AAFF !important;
}

/* For screens smaller than 768px */
@media (max-width: 768px) {
  .tabs-fullwidth-links {
    height: auto;
    overflow-y: visible;
  }

  .tab-link-item.col a {
    font-size: 12px !important;
    line-height: 40px;
    padding: 8px 12px;
  }

  .tab-link-item.col a:hover {
    border-bottom: 2px solid #00AAFF !important; /* Keep the hover effect */
  }
}
/* Buttons and Input Styles */

/* Dummy Button */
input.ps-dummy-btn {
    background: #00AAFF !important;
    border: 1px solid #c3c3c3 !important;
    border-radius: 1px;
    font-size: 15px;
    line-height: 20px;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: none !important;
    width: 70%;
    height: 42px;
}

/* WooCommerce Buttons */
/*resources on pdp */
.woocommerce a.button,
.woocommerce-page a.button,
.woocommerce button.button,
.woocommerce #content input.button,
.woocommerce-page #content input.button {
    background: #00AAFF;
    color: #FFFFFF;
    border-radius: 0 !important;
    border:none !important;
    outline: none;
    font-size: 12px;
    margin: 0 12px 0 0 !important;
/*    padding-top: 2px !important;
    padding-bottom: 2px !important;*/
}
#tab-also_viewed li a div{
    padding-left: 15%;
}

/* Product Specific Styles */


/* Variation Label */
.woocommerce div.product form.cart .variations label {
    font-size:14px;
    font-weight: bold !important;
}
.span.sku{
    font-weight: bold !important;
}
.product-variations,
.buy-now-button {
    height: 80%;
    padding: 0 10px;
    margin: 0;
}


/* Other Text Elements */
.woocommerce div.product form.cart .variations td,
.woocommerce-page div.product form.cart .variations td {
    padding-bottom: 0 !important;
}

.woocommerce table.shop_attributes td,
.woocommerce-page table.shop_attributes td,
.woocommerce table.shop_attributes th,
.woocommerce-page table.shop_attributes th,
.woocommerce table.shop_attributes .alt td,
.woocommerce-page table.shop_attributes .alt td,
.woocommerce table.shop_attributes .alt th,
.woocommerce-page table.shop_attributes .alt th {
    font-family: "FFDINPro-Light", Verdana, Arial, sans-serif !important;
    padding: 10px 0;
}
/*Product*/
.woocommerce div.product{
    margin-top:3%;
}
/* Product Gallery Image Size */
/*.woocommerce-product-gallery__image a > img.wp-post-image,
.product-content .woocommerce-product-gallery__image:nth-child(1) {
    margin-bottom:1%;
}*/
/* Margin-bottom for all images within product div */
.woocommerce div.product div.images img,
.woocommerce-page div.product div.images img {
    margin-bottom: 1%;
}
/* Margin-right for thumbnails */
.woocommerce div.product div.images .flex-control-thumbs li {
    margin-bottom: 5px;
}

/* WooCommerce Product Title */
/* Adjust product title font-size */
.woocommerce div.product .product_title {
    font-size: 22px !important;
}

/*stars*/
[data-bv-show="rating_summary"]{
    margin-top:15px;
    margin-bottom:5px;
}

/*view more*/
.ps-6525faf4c295e3000df89899.ps-widget[data-ps-sku].ps-disabled, .ps-6525faf4c295e3000df89899.ps-widget[ps-sku].ps-disabled{
    margin-top:20px !important;
}

/* WooCommerce Product Summary */
/* Adjust product summary margin-top */
.woocommerce div.product div.summary {
    margin-top: -8px;
}
/* Adjust short description font-size */
.woocommerce-product-details__short-description {
    font-family: "FFDINPro-Regular",Verdana,Arial,sans-serif !important;
    font-size: 14px !important;
}

/* Adjust tab panel details h2 font-size */
.tab-detail{
    scroll-margin-top: 200px !important;
}
.tabs-panel-details h2 {
    font-size: 18px !important;
    margin-top: 45px;
    margin-bottom: 15px;
}
.customer_also_viewed_wrapper ul.products{
    padding-top: 15px;
}
.woocommerce-tabs.wc-tabs-wrapper h3{
    margin-top:-15px !important;
    font-size: 18px !important;
}
.customer_also_viewed_wrapper li{
    background-color: white !important;
    box-shadow: 2px 0px 20px 0px rgba(0, 0, 0, 0.15);
    padding-bottom: 20px !important;
}
.customer_also_viewed_wrapper li a{
    color: black !important;
}
.related.products.customer_also_viewed_wrapper h2{
    padding-top:35px;
    padding-bottom: 14px;
    font-size: 18px !important;
    margin: unset;
}

/* Adjustments for specific elements */
.wcpf-layout-item.wcpf-box-style .wcpf-heading-label, .wcpf-field-item.wcpf-box-style .wcpf-heading-label{
    font-family: "integral-cf-bold", Verdana, Arial, sans-serif !important;
    font-size: 15px !important;
    color: #00AAFF;
}

.wcpf-field-checkbox-list .wcpf-checkbox-list .wcpf-checkbox-item .wcpf-title-container{
    padding: 0px 24px 0px 8px !important;
    font-size: 12px !important;
}


@media (max-width: 992px) {
    .fl-content,
    .fl-sidebar {
        margin-top: 40px !important;
        margin-bottom: 0px !important;
    }
}

@media (max-width: 992px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        margin-bottom: 40px !important;
    }
}

@media (max-width: 992px) {
    .fl-widget {
        margin-bottom: 0px !important;
    }
}

/* Margin for products in columns, only on child category pages */
.woocommerce.columns-3 ul.products.columns-3 li.product:not(.parent-category-page li.product),
.woocommerce-page.columns-3 ul.products.columns-3 li.product:not(.parent-category-page li.product),
.woocommerce.woo-3.archive ul.products.columns-3 li.product:not(.parent-category-page li.product),
.woocommerce-page.woo-3.archive ul.products.columns-3 li.product:not(.parent-category-page li.product) {
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: white !important;
    box-shadow: 2px 0px 20px 0px rgba(0, 0, 0, 0.15);
    padding-bottom: 20px !important;
}

@media (max-width: 992px) {
    .woocommerce ul.products li.product .woocommerce-loop-category__title,
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product h3 {
        margin-bottom: 20px !important;
    }
}

/* Adjust images within products */
/* Remove border and margin on images */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.woocommerce .related ul.products li.product a img,
.woocommerce-page .related ul.products li.product a img,
.woocommerce .upsells.products ul.products li.product a img,
.woocommerce-page .upsells.products ul.products li.product a img,
.woocommerce[class*=columns-] ul.products li.product a img,
.woocommerce-page[class*=columns-] ul.products li.product a img,
.woocommerce ul.products li.product a:hover img,
.woocommerce-page ul.products li.product a:hover img,
.woocommerce .related ul.products li.product a:hover img,
.woocommerce-page .related ul.products li.product a:hover img,
.woocommerce .upsells.products ul.products li.product a:hover img,
.woocommerce-page .upsells.products ul.products li.product a:hover img,
.woocommerce[class*=columns-] ul.products li.product a:hover img,
.woocommerce-page[class*=columns-] ul.products li.product a:hover img {
    border: none !important;
    margin: 0px !important;
}

/* Adjust font-size and spacing for product titles */

/* Apply styles only on child category pages */
.woocommerce:not(.parent-category-page) ul.products li.product .woocommerce-loop-category__title,
.woocommerce:not(.parent-category-page) ul.products li.product .woocommerce-loop-product__title,
.woocommerce:not(.parent-category-page) ul.products li.product h3 {
    font-size: 15px !important;
    margin: 0px !important;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 7px 7px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    display: block;
    min-height: 50px;
}
p.grid-sku{
    /*margin-bottom: 5px;*/
}
.woocommerce div.product div.images .flex-control-thumbs li img{
    border: unset;
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*height: 100%;*/
    /*vertical-align: middle;*/
    /*object-fit: contain;*/
    /*object-position: center;*/
}
.woocommerce div.product div.images .flex-control-thumbs li{
    border: 1px solid #e6e6e6;
    margin: 1px;
    width: 24%;
    height: 85px;
    object-fit: contain;
    object-position: center;
    overflow: unset;
}
/* Adjust background color for customer_also_viewed_wrapper */
/*.fl-page .fl-page-content {*/

.related.products.customer_also_viewed_wrapper {
    position: relative;
    width: 100%;
    background-color: #f3f2ed; /* Grey background color */
    z-index: 0; /* Ensure content is above the background */
}

.related.products.customer_also_viewed_wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    background-color: inherit; /* Inherit the same background color */
    transform: translateX(-50%);
    z-index: -1;
}


.woocommerce ul.products, .woocommerce-page ul.products{
    padding-right:10px;
    padding-left: 10px;
}

/* Button styling */
/* Adjust button background color */
.wcpf-field-button .wcpf-button {
    font-family: "FFDINPro-bold", Verdana, Arial, sans-serif !important;
    background: #00AAFF !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    padding-top: 12px !important;
    padding-bottom: 10px !important;
}
.wcpf-field-button .wcpf-button:hover {
    background: black !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
}

/** Search popup*/
#product-search-results-content-0 > table > tbody > tr.entry.product {
    border-bottom: thin solid #CCCCCC;
}
#product-search-results-content-0 > table > tbody > tr.entry.product:hover{
    background-color: white;
}
#product-search-results-content-0 > table > tbody > tr.entry.product .product-info{
    padding: 8px 10px 0px 15px;
}
#product-search-results-content-0 > table > tbody > tr.entry.product .product-info:hover{
    background-color: #f0f0f0;
}
.product-search-results .entry a span.title:hover {
    text-decoration: none !important;
}
.product-search-results .entry a span.title{
    font-weight: bold;
    color: #009fe3;
    font-family: "FFDINProCond-Bold";
}
.product-search-results .entry a span.title p{
    font-weight: 100;
    color: #000000;
}
.product-search-results .entry .category-info a span.title{
    color: black;
}
.product-search-results .entry .category-info a span.title:hover{
    text-decoration: none !important;
}
.product-search-results .entry .more-info{
    text-align: center;
}
.stars-sku{
    min-height: 3rem;
    text-align: left;
    margin: 0.7rem 0 0.3rem 0;
    padding: 0 1em 0 1em;
    font-family: "FFDINProCond-Bold";
}

/* Search popup ended */

#woocom-prod-grid-id ul.products li.product {
    background-color: #ffffff;
    padding-bottom: 10px;
}


/*body.parent-category-page .fl-woo-sidebar-left {
    display: none;
}


body.parent-category-page .fl-content-right {
    border: none;
}*/


.parent-category-page .count {
    display: none;
}


body.parent-category-page ul.products li.product a img {
    transition: transform 0.3s ease;
}

body.parent-category-page ul.products li.product a img:hover {
    transform: scale(1.05);
}

.parent-category-page .fl-page-content{
    padding: 88px 80px;
    background-color: #efefef;
}

@media (min-width: 300px) {
    .parent-category-page .fl-page-content {
        padding: 88px 20px !important;
    }
}

@media (min-width: 1024px) {
    .parent-category-page .fl-page-content {
        padding: 88px 40px !important;
    }
}

@media (min-width: 1440px) {
    .parent-category-page .fl-page-content {
        padding: 88px 310px !important;
    }
}

@media (min-width: 2560px) {
    .parent-category-page .fl-page-content {
        padding: 88px 750px;
    }
}

.parent-category-page .woocommerce-breadcrumb{
    font-size: 14px;
}

.parent-category-page .woocommerce-products-header__title.page-title{
    font-size: 24px;
}

.parent-category-page .woocommerce-loop-category__title{
    padding-top:20px !important;
    font-size: 18px !important;
}

.parent-category-page ul.products li.product a img, 
.parent-category-page ul.products li.product a img{
    box-shadow: 2px 2px 20px 0px rgba(0,0,0,0.15) !important;
     height: auto !important;
}

.parent-category-page .woocommerce ul.products, .woocommerce-page ul.products{
    padding-left: unset;
    padding-right: unset;
}

.parent-category-page ul.products {
    display: flex;
    flex-wrap: wrap;
}

.parent-category-page ul.products li.product {
    width: 33.33%;
    box-sizing: border-box;
}


.parent-category-page .pp-offcanvas-container #fl-main-content{
        padding: 70px 20px!important;
        max-width: 1100px;
        margin: auto;
    }
    .parent-category-page{
        background-color: #efefef;
    }
    .parent-category-page .woocommerce-breadcrumb{
        padding-top: 20px;
        margin-bottom: 10px;
    }
    .parent-category-page h1.woocommerce-products-header__title.page-title{
        margin-bottom: 5px;
    }
    .parent-category-page ul.products{
        margin-bottom: 0px!important;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        row-gap: 40px;
    }
    .parent-category-page ul.products:after, .parent-category-page ul.products:before{
        display: none!important;
    }
    body.parent-category-page .fl-page #fl-main-content ul.products .product-category{
        width: 100%!important;
        max-width: 100%!important;
        margin-right: 0px!important;
        margin-left: 0px!important;
        margin-bottom: 0px!important;
    }
    .parent-category-page .fl-module-content.fl-node-content .pp-photo.pp-photo-align-center.pp-photo-align-responsive-default{
        text-align: left!important;
    }
    .parent-category-page .full-width-layout.parent-category-page{
        padding-bottom: 20px;
    }
    @media (max-width: 768px){
        body.parent-category-page .pp-offcanvas-container #fl-main-content{
            padding: 40px 20px 30px!important;
        }
        .parent-category-page ul.products{
            grid-template-columns: repeat(2, 1fr);
        }
        .parent-category-page ul.products li.product a img {
        min-height: unset;
        }
        body.parent-category-page .fl-page #fl-main-content ul.products .product-category{
            width: 100%!important;
            margin-right: 0px!important;
            margin-bottom: 0px!important;
            margin-left: 0px!important;
        }
        body.parent-category-page .fl-page #fl-main-content ul.products .woocommerce-loop-category__title{
            margin-bottom: 0px!important;
        }
        .parent-category-page h1.woocommerce-products-header__title.page-title{
            font-size: 24px;
            line-height: 1.4;
            letter-spacing: 0px;
        }
    }