/*
	Theme Name:     BlackJack Mobex Child
	Theme URI:      http://www.enovathemes.com/mobex
	Description:    BlackJack Mobex Child - Auto Parts Woocommerce WordPress Theme
	Author:         Anton Slobodyanyuk
	Author URI:     https://enovathemes.com
	Version:        1.0
	Template:       mobex
*/

/* =Theme customization starts here
-------------------------------------------------------------- */


.bj-menu-container {
    font-family: 'Inter', sans-serif;
}

.bj-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.bj-sidebar-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.bj-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    background-color: #f5f5f5;
    color: #034c8c;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
    font-size: 15px;
    font-weight: 700;
    line-height: 15px;
}

.bj-menu-link:hover {
    background-color: #fff;
    color: #444;
}

.bj-menu-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 12px;
    background-color: #444;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: background-color 0.2s ease-out;
}

.bj-menu-link:hover .bj-menu-icon {
    background-color: #034c8c;
}

.bj-menu-text {
    flex-grow: 1;
}

.bj-arrow {
    width: 10px;
    height: 10px;
    min-width: 10px;
    -webkit-mask: url('https://blackjacktirerepair.com/wp-content/themes/mobex/images/icons/arrow.svg') no-repeat center;
    mask: url('https://blackjacktirerepair.com/wp-content/themes/mobex/images/icons/arrow.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: transform 0.2s ease-out, background-color 0.2s ease-out;
    transform: rotate(180deg);
    background-color: #444;
}

.bj-menu-link:hover .bj-arrow {
    background-color: #034c8c;
}

.bj-sub-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: -1px;
    width: 250px;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
}

.bj-sidebar-menu li:hover > .bj-sub-menu {
    display: block;
}

.bj-sub-menu li {
    padding: 0;
}

.bj-sidebar-menu li:hover > .bj-menu-link .bj-arrow {
    transform: rotate(270deg);
}

.post-image img.woocommerce-placeholder,
.image-container img.woocommerce-placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 250px;
    object-fit: cover;
    display: block !important;
}

.post-image .image-container {
    height: 100%;
    min-height: 250px;
}