/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/*- MEGA MENU TRACKING-*/

#mega-menu-wrap-header #mega-menu-header > li.mega-menu-item > a.mega-menu-link {
    
    letter-spacing: 1.5px;
}


/* -------------------------------------------------------------------------- PRODUCT DETAIL PAGE STYLING----------------------------------------------------------------------------------- */



/* ---------- PRODUCT PAGE INSTOCK------------ */

.woocommerce div.product p.stock {
        font-size: 12px;
        margin-top: -5px;
	font-weight:700;
	text-transform: uppercase;
}

/* ---------- PRODUCT PAGE CART QUANTITY------------ */

.woocommerce div.product form.cart div.quantity,
.woocommerce-page div.product form.cart div.quantity {
        margin: 0 15px 0 0;
}
.woocommerce div.product form.cart div.quantity {
        float: left;
        margin-right: 30px;
        margin-top: 5px;
        font-weight: 500;
}


/* ---------- PRODUCT PAGE ADD TO CART BUTTON HIDE------------ */
.cart{
	visibility:hidden;
	display:none;
}



/* ---------- SKU/META line above hide ---------- */

.woocommerce .product_meta, .woocommerce-page .product_meta {
    border-top: 0px!important;
    padding-top: 0px!important;
}


/* ----------// PRODUCT PAGE PRICE SUFFIX---------- */

.woocommerce-price-suffix {
        font-size: 12px!important;
}


/* ---------- hide code // PRODUCT PAGE IMAGE GALLERY---------- */


.woocommerce div.product .fl-module-fl-woo-product-images div.images,
.woocommerce #content div.product .fl-module-fl-woo-product-images div.images {
        float: none;
        margin: 0;
        width: auto;
}
.woocommerce div.product div.images.woocommerce-product-gallery {
        position: static;
}


/* Lock WooCommerce gallery height */
.woocommerce-product-gallery {
    max-width: 100%;
}

/* Force consistent gallery height */
.woocommerce-product-gallery__wrapper {
    height: 520px; /* adjust to taste */
}

/* Ensure each slide fills the space */
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a,
.woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
}

/* Crop images instead of resizing container */
.woocommerce-product-gallery__image img {
    object-fit: cover;
    object-position: center;
}

/* Force every gallery slide to fill the gallery height */
.woocommerce-product-gallery__wrapper {
    height: 520px; /* same value as before */
}

.woocommerce-product-gallery__image {
    height: 100% !important;
    display: flex;
    align-items: stretch;
}

/* Anchor and image must also stretch */
.woocommerce-product-gallery__image a {
    height: 100%;
    width: 100%;
    display: block;
}

/* Now object-fit can actually work */
.woocommerce-product-gallery__image img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Border around thumbnail images */
.flex-control-thumbs li img {
    border: 1px solid #ffffff;
    box-sizing: border-box;
}


/* Border around main product image */
.woocommerce-product-gallery__image img {
    border: 1px solid #ffffff;
    box-sizing: border-box;
}

/* -------------------------------------------------------------------------- SEARCH BY VEHICLE----------------------------------------------------------------------------------- */

/* Force product grid image container to 1:1 */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
}

/* Image wrapper */
.woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    object-position: center;
}



/* ---------- OUT OF STOCK FLAG---------- */


.woopack-out-of-stock{
	margin-top: 15px;
}



/* ----------// PRICE SUFFIX---------- */

.woopack-product-grid .woocommerce-price-suffix  {
        font-size: 10px!important;
	color: #cb8b41!important;
	text-transform: uppercase;
}





/* -------------------------------------------------------------------------- GENERAL STYLING----------------------------------------------------------------------------------- */



/* ---------- SEARCH RESULTS DROP DOWN---------- */


.uabb-search-results-content {
    background-color: #ffffff!important;
}

.uabb-search-post-title {
    font-size: 15px!important;
	text-transform: uppercase!important;
	color: #000000!important;
	font-weight: 600!important;
}

.uabb-search-post-text {
    font-family: Poppins, sans-serif;
    font-weight: 400!important;
    font-size: 12px!important;
    line-height: 1.5!important;
    text-align: left!important;
	padding-left: 80px!important;
}

.search-results-content {
    border-radius: 0;
	margin-right: 50px;
}



/* ---------- SOLD OUT STYLING---------- */

.woocommerce .products .product.outofstock .woopack-product-image .woopack-out-of-stock {
    position: absolute!important;
    top: 0px!important;
    left: 0px!important;
	vertical-align:top;
    justify-content: left!important;
	align-items:flex-start!important;
	 display: flex;
	width: 100%;
    height: 100%;
    justify-content: center;
}

.woocommerce .products .product.outofstock .woopack-product-image .woopack-out-of-stock span {
    padding-top: 17px!important;
    padding-right: 30px!important;
    padding-bottom: 17px!important;
    padding-left: 30px!important;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 12px!important;
    line-height: 1;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}


/* ---------- MEGA MENU padding to stop overlapping---------- */

#mega-menu-wrap-header #mega-menu-header > li.mega-menu-megamenu > ul.mega-sub-menu {
        z-index: 999;
        margin-top: 20px;
}



/* hide code // LOADING SCREEN STYLING */

.lp-screen span,
.lp-screen img {
        width: 200px !important;
        margin-bottom: -30px;
}

.lp-screen-text {
        font-family: 'Poppins', sans-serif;
        font-weight: bold !important;
}


/* ---------- CLASSES---------- */

.bring-to-front {
  position: relative; /* z-index only works on positioned elements */
  z-index: 999;       /* The element with the greater number is on top */
}



.fl-post-module-woo-ordering{
		visibility:hidden;
	display:none;
}


.button .woof_reset_search_form {
    color: #ffffff;
    background-color: #000000;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}