/**
Theme Name: MooCommerce
Author: Moogruppen AS
Author URI: https://moocommerce.com/
Description: MooCommerce, your strategic partner in your digital transformation journey, is dedicated to delivering exceptional software solutions to meet your specific requirements. Using a customer-centric approach, our team of 25 experts from five countries assists businesses in navigating the dynamic digital landscape.
Version: 4.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moocommerce
Template: astra
*/

/*Global*/
.main-header-bar.ast-header-breadcrumb{
	border-bottom:none;
}
header.site-header {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.0626912);
}

/* MooCommerce Category Filter Styles */
.moo-commerce-category-filter ul.children {
    display: none;
    padding-left: 20px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.moo-commerce-category-filter li.opened > ul.children {
    display: block;
}

.moo-commerce-category-filter li.closed > ul.children {
    display: none;
}

.moo-commerce-category-filter li.current-cat > ul.children {
    display: block; /* Automatically open the subcategories when the category is active */
}

.moo-commerce-category-filter li.current-cat > a {
    color: #0088cc; /* Highlight active category */
}

.moo-commerce-category-filter li a {
    text-decoration: none;
    color: #333;
    display: inline-block;
    width: calc(100% - 20px); /* Ensure the arrow stays on the right */
}

.moo-commerce-category-filter li a:hover {
    text-decoration: underline;
}

.toggle-icon {
    cursor: pointer;
    margin-left: auto;
    display: inline-block;
}

.moo-commerce-category-filter li.closed .toggle-icon {
    transform: rotate(0deg); /* SVG for closed */
}

.moo-commerce-category-filter li.opened .toggle-icon {
    transform: rotate(180deg); /* SVG for opened */
}

.count {
    margin-left: 5px;
    color: #888;
}
ul.moocommerce-category-filter .moo-list-title {
    display: flex;
    justify-content: space-between;
}

ul.moocommerce-category-filter > li > .moo-list-title a {
    font-size: 18px;
    font-weight: 500;
}

ul.moocommerce-category-filter > li > .moo-list-title {
    line-height: 22px;
}

#secondary ul.moocommerce-category-filter > li, ul.moocommerce-category-filter > li {
    margin-bottom: 16px;
    display: block;
}

ul.moocommerce-category-filter > li > ul.children {
    padding-left: 20px;
    margin-top: 19px;
}

ul.moocommerce-category-filter .moo-list-title a {
    color: var(--ast-global-color-2);
}

ul.moocommerce-category-filter li.current-cat > .moo-list-title > a {
    color: var(--ast-global-color-0);
  	font-weight:500;
}

#secondary ul.moocommerce-category-filter > li > ul > li, ul.moocommerce-category-filter > li > ul > li {
    margin-bottom: 12px;
}


ul.moocommerce-category-filter li > ul > li > .moo-list-title > a {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

ul.moocommerce-category-filter span.count {
    display: none;
}
ul.moocommerce-category-filter > li > .moo-list-title > a{
	line-height:22px;
}
/*Footer*/
.site-primary-footer-wrap
 aside.footer-widget-area {
    margin-left: 0;
}

.site-primary-footer-wrap h5.uagb-heading-text, .site-primary-footer-wrap h2.widgettitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.site-primary-footer-wrap section.widget_block {
    margin-bottom: 0;
}
.site-primary-footer-wrap .widget_text p, .site-primary-footer-wrap aside.footer-widget-area a.menu-link {
    color: #111;
    font-size: 15px;
    line-height: 25px;
}
/* Mailchimp subscribe form STARTS */
.moo-section-subscription .mc4wp-form p {
    margin-bottom: 0px;
    display: flex;
    width: 100%;
}
.moo-section-subscription .mc4wp-form input[type=email] {
    background: #ffffff;
		border-color: #ffffff;
    border-radius: 0px;
}

p.moo-subscribe-form-field input[type="email"] {
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    height: 52px;
}
.moo-section-subscription {
    background: #DEF3ED;
    margin-left: 20px !important;
    margin-right: 20px !important;
    display: block;
}
/* Mailchimp subscribe form ENDS */
/* Logo Section STARTS */
.moocraft-brand-logo {
    display: flex;
    align-items: center !important;
    justify-content: center;
}
.moocraft-brand-logo figure.wp-block-image img {
    display: block;
    width: auto;
    max-height: 40px;
    opacity: 0.6;
}
/* Logo Section ENDS */
/* Header */
.site-header-primary-section-right .ast-site-header-cart-li span.ast-icon.icon-cart {
    position: relative;
}

.site-header-primary-section-right .ast-site-header-cart-li span.ast-icon.icon-cart:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg fill='none' height='28' viewBox='0 0 32 28' width='32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2'%3E%3Ccircle cx='23.1678' cy='24.7131' r='2.31347' stroke='%23fff'/%3E%3Ccircle cx='23.1678' cy='24.7131' r='2.31347' stroke='%23151515'/%3E%3Ccircle cx='11.6004' cy='24.7131' r='2.31347' stroke='%23fff'/%3E%3Ccircle cx='11.6004' cy='24.7131' r='2.31347' stroke='%23151515'/%3E%3Cpath clip-rule='evenodd' d='m5.81671 5.04858h24.02549c.8117 0 1.371.81432 1.0796 1.57199l-4.6087 11.98263c-.3436.8934-1.202 1.483-2.1593 1.483h-13.5343c-1.10921 0-2.06235-.7873-2.27183-1.8766z' fill-rule='evenodd' stroke='%23fff'/%3E%3Cpath clip-rule='evenodd' d='m5.81671 5.04858h24.02549c.8117 0 1.371.81432 1.0796 1.57199l-4.6087 11.98263c-.3436.8934-1.202 1.483-2.1593 1.483h-13.5343c-1.10921 0-2.06235-.7873-2.27183-1.8766z' fill-rule='evenodd' stroke='%23151515'/%3E%3Cpath d='m5.80097 5.0517-.43848-2.19201c-.2163-1.08134-1.16577-1.85969-2.26853-1.85969h-2.09396' stroke='%23fff'/%3E%3Cpath d='m5.80097 5.0517-.43848-2.19201c-.2163-1.08134-1.16577-1.85969-2.26853-1.85969h-2.09396' stroke='%23151515'/%3E%3Cpath d='m23.4292 8.51886h.8676' stroke='%23fff'/%3E%3Cpath d='m23.4292 8.51886h.8676' stroke='%23151515'/%3E%3Cpath d='m6.68427 8.51875h6.86963' stroke='%23fff'/%3E%3Cpath d='m6.68427 8.51875h6.86963' stroke='%23151515'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    display: inline-block;
    width: 35px;
    height: 30px;
    position: absolute;
    left: 0;
}

.site-header-primary-section-right .ast-site-header-cart-li span.ast-icon.icon-cart svg#ast-cart-svg {
    opacity: 0;
}

.site-header-primary-section-right .ast-site-header-cart-li .ast-addon-cart-wrap i {
    width: 35px;
    height: 30px;
    display: block;
}
.site-header-focus-item.ast-header-account .ast-header-account-wrap .ast-header-account-link span {
    position: relative;
}

.site-header-focus-item.ast-header-account .ast-header-account-wrap .ast-header-account-link span svg.account-icon {
    opacity: 0;
}

.site-header-focus-item.ast-header-account .ast-header-account-wrap .ast-header-account-link span:before {
    content: "";
    width: 35px;
    height: 26px;
		position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath clip-rule='evenodd' d='m15.9253 12.6545c1.6973.5857 3.253 1.5532 4.56 2.8602 2.2665 2.2665 3.5147 5.28 3.5147 8.4853h-1.1475c0-5.81-4.1149-10.6727-10.8525-10.6727-6.73759 0-10.79244 4.9746-10.79244 10.6727h-1.20756c0-3.2053 1.24823-6.2188 3.51473-8.4853 1.30702-1.307 2.86271-2.2745 4.56005-2.8602-1.81795-1.2521-3.01228-3.34756-3.01228-5.717 0-3.82533 3.11217-6.9375 6.9375-6.9375 3.8253 0 6.9375 3.11217 6.9375 6.9375 0 2.36944-1.1943 4.4649-3.0122 5.717zm-9.57846-5.717c0 3.1409 2.46595 5.4502 5.65316 5.4502 3.1872 0 5.6093-2.2531 5.6093-5.4502 0-3.19713-2.1835-5.68315-5.6313-5.68315-3.44768 0-5.63116 2.54224-5.63116 5.68315z' fill='%231b1b29' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

/* My account STARTS */
.woocommerce-account.logged-in .wp-block-uagb-container {
    padding-top: 0;
}

/* My account ENDS */

/* Checkout Thankyou */

.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview li strong {
    font-size: inherit;
    font-weight: 400;
    color: var(--ast-global-color-0);
}
.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview li strong {
    font-size: inherit;
    font-weight: 700;
    color: #111;
}

/* Checkout Thankyou ends */

/* Cart Page design Starts */
.woocommerce-cart table.shop_table thead{
	background-color: transparent;
}
.woocommerce-cart table.shop_table {
    border: none;
}
.woocommerce-cart.ast-single-post h1.entry-title {
    font-size: 40px;
    font-style: normal;
    font-weight: inherit;!im;!i;!;
    line-height: inherit;
    text-align: center;
}

.woocommerce-cart.ast-single-post header.entry-header {
    margin-bottom: 40px;
}
.cart_totals.calculated_shipping table.shop_table.shop_table_responsive {
    border-bottom: 1px solid;
    border-color: var(--ast-border-color);
}
.woocommerce-cart .cart-collaterals .cart_totals {
    border: none;
}
.woocommerce-cart .cart-collaterals .cart_totals>h2{
	background: transparent;
}
tr.order-total td,tr.order-total th {
    border-top: none !important;!i;!;
}

/* Cart page Design ENDS */

@media (max-width: 768px){
	.site-primary-footer-wrap .site-footer-section .wp-block-uagb-container {
    text-align: left;
	}

	.site-primary-footer-wrap .site-footer-section aside.footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner {
	    text-align: left;
	}
	.woocommerce-cart .woocommerce table.shop_table_responsive thead, .woocommerce-page table.shop_table_responsive thead{
		display: table-header-group;
	}
	.woocommerce-cart tr.woocommerce-cart-form__cart-item.cart_item :before {
    display: none;
}
	.woocommerce-cart.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
		display: table-cell !important;
		text-align: left;
	}
	.woocommerce-cart.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
        display: table-row;
    }
}
@media (max-width: 767px){
	/* Home cat */
	.wp-block-uagb-container.home-grid-4.kid-mob-4-grid{
		display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
	}
	/* Header search STARTS */
	.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row .site-header-primary-section-left {
    grid-area: 1 / 1 / 2 / 3;
}


.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row .site-header-primary-section-center {
    grid-area: 2 / 1 / 3 / 5;
}

.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row  .site-header-primary-section-right {
    grid-area: 1 / 3 / 2 / 5;
		margin-right: 15px;
}

.ast-mobile-header-wrap#ast-mobile-header .ast-main-header-wrap .ast-builder-grid-row-mobile-layout-default {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}
.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row .site-header-primary-section-center .ast-header-search {
    width: 100%;
    height: 50px;
}

.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row .site-header-primary-section-center .ast-header-search form.search-form {
    width: 100%;
    height: 55px;
}

.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row .site-header-primary-section-center .ast-header-search form.search-form input.search-field {
    width: 100%;
}

.ast-mobile-header-wrap#ast-mobile-header .ast-builder-grid-row .site-header-primary-section-center .ast-header-search .ast-search-menu-icon.search-box {
    width: 100%;
}
/* Header Search ENDS */
/* Logo design STARTS */
	.moo-section-logo figure.wp-block-gallery.has-nested-images.moocraft-brand-logo figure.wp-block-image.size-full img {
			display: flex;
			justify-content: center;
			align-items: center;
			max-width: 112px !important;
			flex-wrap: nowrap;
			width: 100%;
		}
		.moo-section-logo figure.wp-block-gallery figure.wp-block-image.size-full {
				display: flex !important;
				justify-content: center;
				align-items: center;
				width: 100%;!;!i;!;
		}
		.moo-section-logo figure.wp-block-gallery {
				display: flex;
				justify-content: center;
				align-items: center;
				width: 100%;
				padding-left: 20px;
				padding-right: 20px;
				flex-wrap: wrap;
				row-gap: 30px;
				column-gap: 10px;
		}
		.moocraft-brand-logo figure.wp-block-image {
			max-height: 40px;
			width: auto !important;
			display: block !important;
		}
		.moo-section-logo.is-layout-constrained.wp-block-group-is-layout-constrained {
	    padding: 0;
		}

/* Logo design ENDS */
}
