/*
Theme Name: XHT Child Theme
Description: XHT theme that extends Porto core theme.
Author: LaunchWard
Author URI: https://launchward.com
Template: porto
Version: 1.0.0
*/

/* You can move the previous content of style.css into their respective files */


/*
 Theme Name: Porto Child
 Theme URI: https://yourwebsite.com/
 Description: A child theme for the Porto WordPress theme.
 Author: Your Name
 Author URI: https://yourwebsite.com/
 Template: porto
 Version: 1.0.0
*/

/* Import styles from the parent theme */
@import url("../porto/style.css");

/* Add your custom styles below */
.home #header .elementor-element-0e3ed4f {
	background-color: transparent;
}

#xht_product_filter_widget-2 h2 {
	display: none;
}

product-gallery .eael-cat-tab a.active {
    color: #fff;
    background-color: #000000 !important;
}


.eael-product-gallery .eael-cat-tab a:hover, .eael-product-gallery .eael-cat-tab a.active {
    color: #fff;
    background-color: #000000 !important;
}

.footer .share-links a:not(:hover), .footer-top .share-links a:not(:hover) {
    background: #494949;
    color: #ededed;
}

.list.list-icons li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #ccc;
    border-color: var(--porto-primary-color);
}

.single-product #main > .related.products {
    display: none;
}

.yith-wcwl-add-to-wishlist {
    background-color: #d63638;
    padding: 5px 10px;
}

.single-add-to-wishlist * {
    color: white;
}

.single-product .product_title.show-product-nav {
    width: 100%;
}

.single-product .product-summary-wrap .cart:not(.variations_form) {
    border: none;
}

.woocommerce-tabs #tab-description {
    border-color: #0000001F;
}

.page-id-1953 .porto-u-main-heading {
    text-align: left;
}




/* Basic styles for the account navigation aside */
.woocommerce-account #xht-account-navigation {
    position: absolute;
    left: 0;
    height: 100%;
    background-color: #F5BE00;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 20%;
    
}

/* Hidden state (slides out to the left) */
.woocommerce-MyAccount-navigation.collapsed {
    transform: translateX(-90%); /* Moves it out of view */
}

/* The button styling */
.toggle-button {
    position: absolute;
    top: 5%;
    right: 0px; /* Positioned just outside the aside */
    background-color: #18181B;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

/* Arrow Icon */
.toggle-button .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Change arrow direction when collapsed */
.woocommerce-MyAccount-navigation.collapsed .arrow {
    transform: rotate(180deg); /* Rotate arrow to point right */
}

/* Position the button when the aside is collapsed */
.woocommerce-MyAccount-navigation.collapsed .toggle-button {
    right: -40px; /* Keep the button visible even when collapsed */
}

/* Styling for the list */
.navigation-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.navigation-content ul li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.navigation-content ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

/* Content area next to the aside */
.woocommerce-account #content .woocommerce-MyAccount-content {
    flex: 1; /* Make the content take up the remaining space */
    transition: width 0.3s ease-in-out;
    margin: 0px 20px;
    padding: 3rem;
}

/* When aside is collapsed, expand the content to full width */
.woocommerce-account #content .woocommerce-MyAccount-navigation.collapsed ~ .woocommerce-MyAccount-content {
    width: 90%;
}

/* When aside is visible, content shrinks to accommodate aside width */
.woocommerce-account #content .woocommerce-MyAccount-content {
    width: 80%; 

}

.woocommerce-account .container-fluid, .woocommerce-wishlist .container-fluid  {
    padding: 0px;
}

.woocommerce-account .Simple-Line-Icons-heart:before {
    content: "\e066";
}

.woocommerce-wishlist aside {
    top: 0;
}

.woocommerce-page #content .woocommerce-MyAccount-navigation ul li {
    border-bottom: none;
    margin-bottom: .7rem;
    padding-bottom: 2px;
    text-transform: capitalize;
}

.woocommerce-page #content .woocommerce-MyAccount-navigation ul li a {
    color: #18181B;
    min-width: 60%;
    max-width: 65%;
    text-wrap: nowrap;
}

.woocommerce-page #content .woocommerce-MyAccount-navigation ul li:not(:last-child) a {
    border-bottom: none;
}

.woocommerce-account #content .woocommerce-MyAccount-navigation ul li.is-active>a {
    font-weight: 500;
    border-bottom: 3px solid white;
}

.woocommerce-wishlist .product-add-to-cart .add-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#yith-wcwl-form .wishlist_table .product-add-to-cart a, #yith-wcwl-form .shop_table.wishlist_table .quickview, #yith-wcwl-form .woocommerce table.wishlist_table .quickview {
    flex: 1;
    display: inline-block;
    width: 75%;
    min-width: 160px;
    text-wrap: nowrap;
}

#yith-wcwl-form .shop_table.wishlist_table .quickview, #yith-wcwl-form .woocommerce table.wishlist_table .quickview {
    background-color: #F5BE00;
    color: #18181B;
}

@media only screen and (max-width: 1024px) {
    #xht-account-navigation {
        display: none;
    }

    .woocommerce-account #content .woocommerce {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: left;
    }

    .yith-wcwl-form.wishlist-fragment .align-left {
        align-self: start;
    }

    .woocommerce-account #content .woocommerce {
        right: -75px;
    }

}

.page-content #content .woocommerce table.shop_table.wishlist_table.cart a.remove, .page-content #content .woocommerce table.shop_table.wishlist_table.cart a.remove::before, .shop_table.review-order a.remove:before {
    top: -20px;
    right: -30px;
    color: white;
    background-color: #ff5b5b;
}

.woocommerce-cart.cart-v2 .woo-page-header {
    background-color: #F5BE00;
    color: #18181B;
    padding: 1.25rem;
}

.woocommerce-cart.cart-v2 .woo-page-header ul .current {
    border-bottom: 3px solid white;
}

.woocommerce .product-content .quantity.buttons_added,  .woocommerce .product-quantity .quantity.buttons_added{
    background-color: white;
}

.woocommerce .cart_totals_toggle #panel-cart-discount button, .woocommerce .shipping-calculator-form button {
    background-color: #18181B;
    color: #F5BE00;
}

.woocommerce .cart_totals_toggle #panel-cart-discount button:disabled {
    background-color: grey;
    color: white;
    opacity: .65;
}

.woocommerce .wc-proceed-to-checkout a {
    background-color: #F5BE00;
    color: #18181B;
}

.switch-form {
    margin-top: 10px;
    text-align: center;
}

.switch-form a {
    color: #0073aa;
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

.xht-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.xht-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    z-index: 10000;
    width: 400px;
    max-width: 90%;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

