/*
Theme Name: ITSHOUSE - Fashion
Version: 1.1
Author: ITSHOUSE
Theme URI: https://itshouse.net/themes/itshouse-fashion
Author URI: https://itshouse.net
Text Domain: itshouse
Tags: custom, shopping, elementor, fashion, responsive, modern
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: hello-elementor
Requires at least: 5.0
Requires PHP: 7.0
Description: ITSHOUSE is a modern and responsive fashion theme designed for Elementor. It offers a clean and stylish layout, perfect for showcasing fashion products. The theme is fully compatible with Elementor, allowing
*/

/* Make sure your menu has higher z-index */
.e-con,
:root {
    --border-color: #DDDDDD !important;
    --bg-cart: #F5F4F4 !important
}

hr {
    background-color: var(--border-color) !important;
}

.elementor-location-header {
    position: relative;
    z-index: 10;
}

header .elementor-menu-toggle {
    padding: 0 !important;
}

/* Scroll lock class on body */
body.scroll-locked {
    overflow: hidden;
    height: 100vh;
}

body.overlay-menu .menu-item a {
    color: white !important;
}

@media screen and (min-width: 1024px) {
    .menu-item-has-children.has-overlay .sub-menu {
        position: fixed;
        left: 0 !important;
		right: 0 !important;
/*         transform: translateX(-50%) !important; */
        top: 80px !important;
        width: 100vw !important;
        height: calc(100vh - 80px) !important;
        z-index: 2;
		max-width: unset !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
        background: transparent !important;
    }

    .menu-item-has-children.has-overlay .sub-menu a {
        color: white !important;
        justify-content: center !important;
    }

    #hover-preview {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        opacity: 0;
        pointer-events: none;
        z-index: 2;
        /* Behind everything */
        transition: opacity 0.5s ease;
    }

    #hover-preview.active {
        opacity: 1;
    }
}

@media screen and (max-width: 1024px) {
    header .menu-item-has-children .sub-menu .elementor-sub-item {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    header ul.elementor-nav-menu>li.menu-item {
        margin-top: 20px !important;
    }
}

header .elementor-icon-wrapper,
header .elementor-menu-cart__wrapper,
header .elementor-menu-cart__toggle {
    display: flex !important;
}

header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    height: calc(100vh - 60px) !important;
}

/* Cart */
header .elementor-menu-cart__main {
    align-content: space-between;
}

.elementor-menu-cart__wrapper .elementor-menu-cart__close-button-custom {
    margin: 0 !important;
    height: 58px;
    display: flex;
    align-items: center;
    padding: 20px;
}

.elementor-menu-cart__wrapper .widget_shopping_cart_content {
    height: 100vh;
    overflow: hidden;
    border-top: var(--border-color) solid 1px;
}

.elementor-menu-cart__wrapper .elementor-menu-cart__products {
    height: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 184px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.elementor-menu-cart__wrapper .elementor-menu-cart__footer {
    background-color: #F5F4F4;
    padding: 20px;
}

.elementor-menu-cart__wrapper .elementor-menu-cart__footer .elementor-menu-cart__subtotal {
    padding: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    background-color: var(--view-cart-button-background-color, #69727d) !important;
    color: var(--view-cart-button-text-color, #fff) !important;
}

.elementor-menu-cart__wrapper .woocommerce-mini-cart__empty-message {
	text-align: center;
	padding-top: 20px;
}

/* Cart Page */
table.wc-block-cart-items {
    border-bottom: 0 !important;
}

table.wc-block-cart-items thead {
    visibility: hidden !important;
}

table.wc-block-cart-items .wc-block-cart-items__row {
    position: relative;
}

table.wc-block-cart-items .wc-block-cart-item__image {
    padding-left: 0 !important;
}

table.wc-block-cart-items .wc-block-cart-item__image a {
    display: flex;
}

table.wc-block-cart-items .wc-block-cart-items__row td {
    border-top: 0 !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-components-product-name {
    font-size: 14px !important;
    line-height: 18px !important;
    text-decoration: none !important;
    color: var(--primary-color, #000) !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-components-product-low-stock-badge {
    margin-bottom: 20 !important;
    clear: right;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-components-sale-badge {
    display: none !important;
}

@media screen and (max-width: 662px) {
    table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-cart-item__prices {
        /* clear: left; */
        display: none;
    }

    table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
        bottom: 16px !important
    }
}

.is-small table.wc-block-cart-items td,
.is-mobile table.wc-block-cart-items td {
    margin-bottom: 0 !important;
}

.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-cart-item__quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
    margin-bottom: 0 !important;
    position: absolute;
    bottom: 24px;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-components-product-metadata .wc-block-components-product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--secondary-color, #666) !important;
    margin-bottom: 20 !important;
    margin-top: 0 !important;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    position: absolute;
    top: 20px;
    right: 0;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    vertical-align: bottom !important;
    color: var(--primary-color, #000);
}

.is-large.wc-block-cart {
    margin-bottom: 0 !important;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    min-height: calc(100vh - 60px) !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    color: white;
    background-color: var(--primary-color, #000) !important;
}

.is-large.wc-block-cart .wc-block-cart__totals-title {
    /* Heading 1 - Regular */
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 24px !important;
}

.is-large.wc-block-cart .wp-block-woocommerce-cart-order-summary-totals-block {
    border-top: 0 !important;
}

.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-item {
    padding-left: 0;
    padding-right: 0;
}

.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-item .wc-block-components-totals-item__label {
    color: var(--primary-color, #000) !important;
}

.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-radio-control {
    padding: 0 0 0 0 !important;
}

.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-radio-control .wc-block-components-radio-control__option-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px !important;
    flex-direction: row;
}

.is-large.wc-block-cart .wc-block-components-sideba .wc-block-components-totals-item__description {
    font-size: 14px !important;
}

.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-radio-control .wc-block-components-radio-control__option,
.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-radio-control .wc-block-components-radio-control__option .wc-block-components-radio-control__description {
 padding-right: 0 !important;
 font-size: 14px !important;
}

@media screen and (min-width: 769px) {
    .is-large.wc-block-cart .wc-block-components-sidebar {
        width: 35% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .wc-block-components-sidebar-layout .wc-block-components-main {
        padding-right: 80px !important;
        padding-left: 0 !important;
    }
}

.woocommerce-currency-switcher,
.gtranslate_wrapper select {
    border: none;
    border-bottom: 1px solid;
    font-size: 14px !important;
    width: 100% !important;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    background: transparent !important;
    display: block !important;
	appearance: none;
	color: var(--primary-color, black);
}

.woocommerce-currency-switcher-form .chosen-container-single-nosearch {
    display: none;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item--chosen a::before {
    position: absolute;
    margin: 0;
    top: -5px;
    right: -5px;
}

.woocommerce .woocommerce-widget-layered-nav-list {
    justify-content: flex-end;
}

.selected-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.selected-attributes button {
    /* Filter */
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    text-decoration-line: underline;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;

    /* Neutral/500 */
    color: #6A6A6A !important;
}

.selected-attributes .remove-filter {
    display: flex;
    align-items: center;
    gap: 4px;
}

.selected-attributes .remove-filter span {
    font-size: 12px;
}