/*
Theme Name: MyRitual Child
Theme URI: https://myritual.qodeinteractive.com
Description: A child theme of MyRitual
Author: Elated Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: myritual
Template: myritual
*/


.term-description .full-description {
    display: none;
}
.term-description .button {
	float: right;
}

@media only screen and (max-width: 767px) {
    div[data-block-name="woocommerce/product-categories"] .wc-block-product-categories-list {
        display: none;
    }
	.widget.widget_myritual_core_title_widget h4.qodef-widget-title {
    display: none;
	}
	.widget .wc-block-product-categories .qodef-view-less, .widget .wc-block-product-categories .qodef-view-more {
		display: none;
	}
	.term-description {
		margin-top: 40px;
	}
}


/*mobilki kategorie*/
@media only screen and (max-width: 767px) {
    .wc-block-product-categories-dropdown {
        display: none;
        list-style-type: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
    }

    .wc-block-product-categories-dropdown.show {
        display: block;
    }

    .wc-block-product-categories-button {
        cursor: pointer;
        width: 100%;
        text-align: left;
        font-size: 16px;
        position: relative;
        overflow: hidden;
        padding: 7px 12px;
        line-height: 1.5;
        font-weight: 400;
        font-family: inherit;
        background: transparent;
        color: #333;
        border: 1px solid #2c2d33;
        padding-left: 40px;
    }
	
	.widget .wc-block-product-categories .wc-block-product-categories-list {
		overflow: auto;
	}
	
    .wc-block-product-categories-button::before {
        content: url(/wp-content/themes/myritual/assets/img/arrow-down.svg);
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg); /* Początkowy obrót */
        transition: transform 0.3s ease-in-out; /* Płynny obrót */
    }
	
	.wc-block-product-categories-button.open {
		color: #56634f;
	}
	
    .wc-block-product-categories-button.open::before {
        transform: translateY(-50%) rotate(180deg); /* Obrót o 180 stopni */
		color: #56634f;
    }

    .wc-block-product-categories-dropdown li {
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    .wc-block-product-categories-dropdown li ul {
        display: none;
        padding-left: 15px;
    }

    .wc-block-product-categories-dropdown li.open ul {
        display: block;
    }

    .wc-block-product-categories-dropdown li a {
        text-decoration: none;
        color: #333;
        display: block;
    }

    .wc-block-product-categories-dropdown li a:hover {
		color: #56634f;
    }
	#qodef-page-sidebar .widget a:hover {
		color: #56634f!important;
	}
}
.qodef-page-title:not(.qodef-title--breadcrumbs) {
    background-color: #fff!important;
}


@media only screen and (min-width: 768px) {
.entry-summary .add_to_cart_button, .single_add_to_cart_button {
    position: relative;
    padding-left: 25px; /* Ustala miejsce na ikonę */
}

.entry-summary .add_to_cart_button::before, .single_add_to_cart_button::before {
    content: '';
    position: absolute;
    left: 28%;
    top: 49%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="19" zoomAndPan="magnify" viewBox="0 0 850.5 850.499973" height="19" preserveAspectRatio="xMidYMid meet" version="1.0"%3E%3Cpath stroke-linecap="round" transform="matrix(45.461001, 0, 0, 45.444866, -77569.633517, -5460.470086)" fill="none" stroke-linejoin="round" d="M 1711.724983 125.570028 L 1709.163034 125.570028 L 1707.770013 136.446016 C 1707.770013 137.304027 1708.353961 138.000011 1709.072984 138.000011 L 1722.197042 138.000011 C 1722.91701 138.000011 1723.500959 137.304027 1723.500959 136.446016 L 1722.108024 125.568996 L 1711.724983 125.568996 Z M 1711.724983 125.570028 " stroke="%23FFF" stroke-width="1.5" stroke-opacity="1" stroke-miterlimit="4"/%3E%3Cpath stroke-linecap="round" transform="matrix(45.461001, 0, 0, 45.444866, -77569.633517, -5460.470086)" fill="none" stroke-linejoin="round" d="M 1712.770006 124.570018 C 1712.770006 122.59802 1713.969008 121.000016 1715.44804 121.000016 C 1716.928017 121.000016 1718.125988 122.59802 1718.125988 124.570018 " stroke="%23FFF" stroke-width="1.5" stroke-opacity="1" stroke-miterlimit="4"/%3E%3Cpath stroke-linecap="round" transform="matrix(0.800965, 0, 0, 0.800965, 233.275893, 494.61556)" fill="none" stroke-linejoin="miter" d="M 42.001954 42.002174 L 436.599439 42.002174 " stroke="%23FFF" stroke-width="84" stroke-opacity="1" stroke-miterlimit="4"/%3E%3Cpath stroke-linecap="round" transform="matrix(0, -0.800965, 0.800965, 0, 391.303693, 719.924399)" fill="none" stroke-linejoin="miter" d="M 41.998417 42.001385 L 436.600779 42.001385 " stroke="%23FFF" stroke-width="84" stroke-opacity="1" stroke-miterlimit="4"/%3E%3C/svg%3E') no-repeat center center;
    background-size: contain;
}
.entry-summary .add_to_cart_button:hover::before, .single_add_to_cart_button:hover::before {
	background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="19" zoomAndPan="magnify" viewBox="0 0 850.5 850.499973" height="19" preserveAspectRatio="xMidYMid meet" version="1.0"%3E%3Cpath stroke-linecap="round" transform="matrix(45.461001, 0, 0, 45.444866, -77569.633517, -5460.470086)" fill="none" stroke-linejoin="round" d="M 1711.724983 125.570028 L 1709.163034 125.570028 L 1707.770013 136.446016 C 1707.770013 137.304027 1708.353961 138.000011 1709.072984 138.000011 L 1722.197042 138.000011 C 1722.91701 138.000011 1723.500959 137.304027 1723.500959 136.446016 L 1722.108024 125.568996 L 1711.724983 125.568996 Z M 1711.724983 125.570028 " stroke="%2345503F" stroke-width="1.5" stroke-opacity="1" stroke-miterlimit="4"/%3E%3Cpath stroke-linecap="round" transform="matrix(45.461001, 0, 0, 45.444866, -77569.633517, -5460.470086)" fill="none" stroke-linejoin="round" d="M 1712.770006 124.570018 C 1712.770006 122.59802 1713.969008 121.000016 1715.44804 121.000016 C 1716.928017 121.000016 1718.125988 122.59802 1718.125988 124.570018 " stroke="%2345503F" stroke-width="1.5" stroke-opacity="1" stroke-miterlimit="4"/%3E%3Cpath stroke-linecap="round" transform="matrix(0.800965, 0, 0, 0.800965, 233.275893, 494.61556)" fill="none" stroke-linejoin="miter" d="M 42.001954 42.002174 L 436.599439 42.002174 " stroke="%2345503F" stroke-width="84" stroke-opacity="1" stroke-miterlimit="4"/%3E%3Cpath stroke-linecap="round" transform="matrix(0, -0.800965, 0.800965, 0, 391.303693, 719.924399)" fill="none" stroke-linejoin="miter" d="M 41.998417 42.001385 L 436.600779 42.001385 " stroke="%2345503F" stroke-width="84" stroke-opacity="1" stroke-miterlimit="4"/%3E%3C/svg%3E')
}
}

#qodef-woo-page.qodef--single .qodef-product-single-additional-items .qodef-m-product-items .qodef-m-value {
	color: #82A46F;
}
#qodef-woo-page.qodef--single .product_meta .tagged_as a {
	background: #e9ebe3;
}
