/*
Theme Name: Electron Child
Theme URI: http://ninetheme.com/
Author: Ninetheme
Author URI: http://ninetheme.com/about
Description: Child theme for Electron
Template: electron
Version: 1.0.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: electron-child
Domain Path: /languages
*/

/* Add your custom styles here. */
.electron-header .electron-category-menu a.product_cat,
.electron-header .electron-category-menu .category-title,
.electron-header .electron-category-menu .category-title::before,
.electron-header .electron-category-menu .category-title::after,
.electron-header .main-cats a.product_cat,
.electron-header .main-cats .category-title,
.electron-header .main-cats .category-title::before,
.electron-header .main-cats .category-title::after,
.electron-header .menu-item-object-product_cat > a,
.electron-header .menu-item-object-product_cat > a > span,
.electron-header .menu-item-object-product_cat > a > span::before,
.electron-header .menu-item-object-product_cat > a > span::after,
.widget_product_categories .product-categories,
.widget_product_categories .product-categories a,
.widget_product_categories .cat-item,
.widget_product_categories .cat-item a,
.woocommerce .widget_product_categories .product-categories,
.woocommerce .widget_product_categories .product-categories a,
.woocommerce .widget_product_categories .cat-item,
.woocommerce .widget_product_categories .cat-item a,
.wc-block-product-categories,
.wc-block-product-categories a {
    text-transform: none !important;
}

.fancybox__content .wpcf7-form input[type=checkbox] {
    width: fit-content;
}

input[type="submit"],
.woocommerce .electron-btn,
.elementor-kit-135 button{
    border: none!important;
}

.electron-btn-square,
.electron-promotion-bar{
	background: black!important;
}

.electron-wishlist-btn,
.electron-compare-btn {
	background: #dbdbdb!important;
	
	svg {
		fill: black!important;
	}
}

.electron-btn-buynow.electron-btn  {
	background: transparent!important;
    border: 1px solid red !important;
    color: red!important;
}

.footer-social {
	.social--wrapper {
		a  {
			border: 1px solid #626060;
			background: #626060;
			
			svg {
				path {
					fill: white;
				}
			}
		}
	}
}

.electron-product-tab-title-item {
    border-color: white!important;
}

.electron-product-tab-title-item.active {
    color: white!important;
    background: red!important;
}

.electron-product-tab-title-item {
	color: #474747!important;
	background: #dbdbdb!important;

}

.electron-slide-head{
    margin-bottom: 10px!important;
    line-height: 100%!important;
    position: relative!important;
    z-index: 3;
    display: block!important;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);

}



.electron-slide-link {
    line-height: 100% !important;
}

.city-pop-up {
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

#cityPopup {
    padding: 40px;
    border: none;
    position: relative;

    button {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 20px;
        height: 20px;
        background: transparent!important;
        border: none;
    }

    .city-list {
        width: 100%;
        display: flex;
        justify-content: space-between;

        .city-item {
            cursor: pointer;
            font-weight: 600;

            &:hover {
                color: red;
            }


        }
    }
}

.electron-slide-price {
    margin-bottom: 5px!important;
}

.social--wrapper {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;

    a {
        display: flex;
        width: 34px;
        height: 34px;
        border: .125rem solid #d20011;
        border-radius: 1.0625rem;
        align-items: center;
        justify-content: center;

        svg {
            width: 10px;
            height: 15px;
            fill: #d20011;
        }

        &:hover {
            background: #d20011;

            svg {
                fill: white;
            }
        }
    }
}

/* Product cards alignment in catalog grids and related product slider. */
.electron-products.products .electron-loop-product:not(.type-list),
.electron-product-related .swiper-slide,
.electron-product-related .swiper-slide .electron-loop-product:not(.type-list) {
    display: flex;
    align-items: stretch;
}

.electron-product-related .swiper-slide {
    height: auto;
}

.electron-product-related .swiper-slide .electron-loop-product:not(.type-list) {
    width: 100%;
    height: 100%;
}

.electron-products.products .electron-loop-product:not(.type-list) .product-inner,
.electron-product-related .swiper-slide .product-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.electron-products.products .electron-loop-product:not(.type-list) .thumb-wrapper,
.electron-product-related .swiper-slide .thumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.electron-products.products .electron-loop-product:not(.type-list) .thumb-wrapper > a,
.electron-product-related .swiper-slide .thumb-wrapper > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.electron-products.products .electron-loop-product:not(.type-list) .thumb-wrapper img,
.electron-product-related .swiper-slide .thumb-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.electron-products.products .electron-loop-product:not(.type-list) .details-wrapper,
.electron-product-related .swiper-slide .details-wrapper {
    flex: 1 1 auto;
}

.electron-products.products .electron-loop-product:not(.type-list) .product-name,
.electron-product-related .swiper-slide .product-name {
    min-height: 3.6em;
    line-height: 1.2;
}

.electron-products.products .electron-loop-product:not(.type-list) .product-name a,
.electron-product-related .swiper-slide .product-name a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.electron-products.products .electron-loop-product:not(.type-list) .product-price,
.electron-product-related .swiper-slide .product-price,
.electron-products.products .electron-loop-product:not(.type-list) .stock-rating,
.electron-product-related .swiper-slide .stock-rating {
    min-height: 1.2em;
}

.electron-products.products .electron-loop-product:not(.type-list) .product-cart-wrapper,
.electron-product-related .swiper-slide .product-cart-wrapper {
    margin-top: auto;
}

.electron-product-related .electron-swiper-wrapper {
    align-items: stretch;
}

/* Sold-out variation state in catalog cards. */
.electron-loop-product .kompasik-variation-sold-out,
.product-slider__card .kompasik-variation-sold-out {
    position: relative;
    opacity: .45;
    text-decoration: line-through;
}

.electron-loop-product .electron-term.kompasik-variation-sold-out::after,
.product-slider__card .electron-term.kompasik-variation-sold-out::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    top: 50%;
    border-top: 2px solid currentColor;
    transform: rotate(-18deg);
    pointer-events: none;
}

.electron-loop-product .electron-product-cart.wc-variation-is-unavailable,
.electron-loop-product .electron-product-cart[data-kompasik-disabled="1"],
.product-slider__card .electron-product-cart.wc-variation-is-unavailable,
.product-slider__card .electron-product-cart[data-kompasik-disabled="1"] {
    cursor: not-allowed;
    opacity: .45;
    pointer-events: none;
}
