/* Widget Title */
.widget-title {
	position: relative;
	font-size: 15px;
	line-height: 1.2;
	color: var(--sp-primary);
	margin-bottom: 10px;
	/* font-weight: 600; */
}

/* Search Form */
.widget_product_search form {
	display: flex;
}

.widget_product_search form .search-field {
	flex: 1;
	padding: 10px;
	border-radius: 4px 0 0 4px;
	font-size: 16px;
	color: var(--sp-black);
}

.widget_product_search form button[type='submit'] {
    border: none;
    padding: 5px 14px;
    color: var(--sp-white);
    border-radius: 0 4px 4px 0;
    background: var(--sp-primary);
}

.widget_product_search form .search-field::placeholder {
	color: var(--sp-gray);
}

/* Woocommerce Color List */
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item span {
	float: right;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a {
	display: inline-block;
	padding-bottom: 10px;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item {
	border-bottom: 1px solid;
	margin-bottom: 10px;
}

.woocommerce .woocommerce-widget-layered-nav-dropdown__submit {
	border: none;
	padding: 6px 16px;
	background-color: var(--sp-primary);
	color: var(--sp-white);
	border-radius: 4px;
}

/* categories List */
.widget_product_categories .product-categories .cat-item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.widget_product_categories .product-categories .cat-item::before,
.widget_product_categories .product-categories .cat-item ul.children::before {
	content: '';
	position: absolute;
	width: 100%;
	right: 0;
}

.widget_product_categories .product-categories .cat-item a {
	flex: 1;
	padding: 10px 0;
}

.widget_product_categories .product-categories .cat-item ul.children {
	width: 100%;
	padding-left: 2rem;
}

.widget_product_categories .product-categories .cat-item ul.children .cat-item::before {
	border-top: 1px solid var(--sp-border-dark);
	top: -3px;
}

.widget_product_categories .product-categories .cat-item ul.children .cat-item:last-child::before {
	border-bottom: none;
}

.widget_product_categories .product-categories .cat-item:not(ul.children li)::before {
	bottom: -3px;
	border-bottom: 1px solid var(--sp-border-dark);
}

ul.product_list_widget li {
	border-bottom: 1px solid;
}

/* Tag Clouds */
.widget_product_tag_cloud .tagcloud a {
	padding: 5px 10px;
	background: var(--sp-secondary);
	color: var(--sp-white);
	margin: 0px 0px 5px 1px;
	display: inline-block;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	position: relative;
	border-radius: var(--sp-radius);
	transition: var(--sp-transition);
}

.widget_product_tag_cloud .tagcloud a:hover {
	color: var(--sp-secondary);
	background: var(--sp-primary);
}

/* Archives */
.widget_archive select {
	padding: 10px;
	border: none;
	outline: none;
	width: 100%;
	color: initial;
}

.widget_archive,
.widget_archive a {
	color: var(--sp-white);
}

.widget_archive a {
	width: calc(100% - 30px);
	display: inline-block;
	/* padding-bottom: 10px; */
}

.widget_archive li:last-child {
	border: none;
	margin-bottom: 0;
}

/* Categories */
.widget_categories,
.widget_categories a {
	color: var(--sp-primary);
}

.widget_categories li.cat-item:last-child {
	border: none;
	margin-bottom: 0;
}

.widget_categories a {
	width: calc(100% - 40px);
	display: inline-block;
}

.widget_categories select {
	padding: 10px;
	border: 1px solid;
	outline: none;
	width: 100%;
	color: initial;
}

/* Widget Pages */
.widget_pages .page_item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.widget_pages .page_item::before {
	content: '';
	position: absolute;
	width: 100%;
	right: 0;
}

.widget_pages .page_item a {
	flex: 1;
	padding: 10px 0;
	color: var(--sp-primary);
}

/* .widget_nav_menu .page_item a:before, */
.widget_pages .page_item a:before {
	content: '\f00c';
	font-family: fontawesome;
	margin-right: 10px;
	color: var(--sp-white);
	background: var(--sp-primary);
	width: 17px;
	height: 17px;
	display: inline-block;
	border-radius: 100px;
	text-align: center;
	line-height: 17px;
	font-size: 11px;
	vertical-align: middle;
	margin-top: -1px;
}

.widget_pages .page_item::before {
	bottom: 0px;
	border-bottom: 1px solid var(--sp-border-dark);
}

.widget_pages .page_item:last-child::before {
	border: none;
}

/* Meta */
.widget_meta a {
	padding: 10px 0;
	color: var(--sp-white);
	border-bottom: 1px solid var(--sp-border-dark);
	display: block;
}

.widget_meta ul li:last-child a {
	border: none;
}

/* Nav Menu */
.widget_nav_menu .menu-item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	position: relative;
	margin-bottom: 10px;
}

.widget_nav_menu .menu-item::before,
.widget_nav_menu .menu-item ul.sub-menu::before {
	content: '';
	position: absolute;
	width: 100%;
	right: 0;
}

.widget_nav_menu .menu-item a {
	flex: 1;
	color: var(--sp-primary);
	padding: 10px 0;
}

.widget_nav_menu .menu-item ul.sub-menu {
	width: 100%;
	padding-left: 10px;
}

.widget_nav_menu .menu-item ul.sub-menu .menu-item::before {
	border-top: 1px solid var(--sp-border-dark);
	top: -3px;
}

.widget_nav_menu .menu-item ul.sub-menu .menu-item:last-child::before {
	border-bottom: none;
}

.widget_nav_menu .menu-item:not(ul.sub-menu li)::before {
	bottom: -3px;
	border-bottom: 1px solid var(--sp-border-dark);
}

.widget_nav_menu .menu-item:last-child:not(ul.sub-menu li)::before {
	border: none;
}

/* Recent Commnets */
.widget_recent_comments .recentcomments {
	border: 1px solid var(--sp-border-dark);
	padding: 5px;
	margin-bottom: 16px;
}

.widget_recent_comments .recentcomments a {
	color: var(--sp-primary);
}

.widget_recent_comments .recentcomments a.url {
	font-size: 16px;
}

/* Recent Post Entry */
.widget_recent_entries li {
	border: 1px solid var(--sp-border-dark);
	padding: 5px;
	margin-bottom: 16px;
}

.widget_recent_entries li:last-child {
	margin-bottom: 0;
}

.widget_recent_entries li a {
	color: var(--sp-primary);
}

/* Rss */
.rss-widget-title {
	color: var(--sp-white);
}

.widget_rss li {
	border: 1px solid var(--sp-border-dark);
	padding: 5px;
	margin-bottom: 16px;
}

.widget_rss li:last-child {
	margin-bottom: 0;
}

.widget_rss li a {
	color: var(--sp-primary);
}

.widget_rss .rss-date {
	display: block;
	color: var(--sp-gray);
}

.sidebar .wp-caption p.wp-caption-text {
	color: var(--sp-black);
}

/*Search */
.widget_search label .search-field {
	width: 100%;
	padding: 5px 10px;
}

/* Custom Widget */
.widget img {
	max-width: 100%;
	height: auto;
	display: unset;
}

.widget .footer-badge img {
	margin-bottom: 3px;
}

/* Calendar */
.widget_calendar .wp-calendar-table caption {
	caption-side: top;
	background: var(--sp-primary);
	padding: 12px 15px;
	color: var(--sp-white);
	font-weight: 600;
}

/* Tag Cloud */
.widget_tag_cloud .tagcloud a {
	padding: 0 10px;
	background: var(--sp-primary);
	text-decoration: none;
	color: var(--sp-white);
	transition: 0.85s;
	line-height: 30px;
	margin-bottom: 2px;
	display: inline-block;
	border-radius: 25px;
	font-weight: 600;
	margin-right: 3px;
	font-size: 16px !important;
}

.widget_tag_cloud .tagcloud a:focus,
.widget_tag_cloud .tagcloud a:hover {
	background: var(--sp-secondary);
	color: var(--sp-white);
}

/* Legacy Cart */
.cart-footer .cart-ft-amt {
	color: var(--sp-white);
}

/*========
 Sidebar 
 =========*/

.sidebar .select2-container--default .select2-search--inline .select2-search__field {
	color: initial;
}

.sidebar select {
	color: var(--sp-primary);
	border: 1px solid var(--sp-border-dark);
}

/*========
 Footer 
 =========*/
.footer-section .widget_pages .page_item a,
.footer-section .widget_meta a {
	color: var(--sp-white);
}

.footer-section .widget_nav_menu li a {
	flex: none;
	width: fit-content;
	display: inline-block;
	color: var(--sp-white);
	padding: 0;
	position: relative;
	text-decoration: none;
	transition: padding-left 0.4s ease-in-out, color 0.4s ease-in-out;
}
.footer-content .widget_nav_menu li a {
	margin-bottom: 5px;
}

.footer-content .widget_nav_menu li a:focus,
.footer-content .widget_nav_menu li a:hover {
	color: var(--sp-primary);
	padding-left: 18px;
}

.footer-content .widget_nav_menu li a::before {
	content: '\f138';
	position: absolute;
	font-family: 'FontAwesome';
	top: 50%;
	left: 0;
	opacity: 0;
	border-radius: 50%;
	transform: translateY(-50%) scale(0);
	transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.footer-content .widget_nav_menu li a:focus::before,
.footer-content .widget_nav_menu li a:hover::before {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.footer-content .widget_nav_menu li a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 90%;
	height: 2px;
	margin-left: 18px;
	background-color: var(--sp-primary);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s ease-in-out;
}

.footer-content .widget_nav_menu li a:focus::after,
.footer-content .widget_nav_menu li a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.footer-section .widget_recent_comments .recentcomments,
.footer-section .widget_recent_entries li {
	border-color: var(--sp-primary);
}

.footer-section .widget_rss li,
.footer-section .widget_text {
	color: var(--sp-white);
}

.footer-section .widget_text .wp-caption-text {
	color: initial;
}

.footer-section .widget_search .search-submit {
	background-color: var(--sp-primary);
	padding: 4px 10px;
	border: none;
	border-radius: 4px;
	color: var(--sp-white);
}

.footer-content .widget_nav_menu .menu-item:not(ul.sub-menu li)::before {
	content: unset;
}

/*Woocommmerce */
.footer-section .woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item,
.footer-section .woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a {
	color: var(--sp-primary);
}

/* product select */
.footer-section .select2-container--default .select2-search--inline .select2-search__field {
	color: initial;
}

/* Price Filter */
.footer-section .widget_price_filter .price_label {
	color: var(--sp-white);
}

/* Categories */
.footer-section .widget_product_categories .product-categories .cat-item a {
	color: var(--sp-primary);
}

/* Product Widgets */
.footer-section ul.product_list_widget li a,
.footer-section ul.product_list_widget li {
	color: var(--sp-primary);
}

/* Widget title */
.footer-section .widget-contact .widget-title {
	display: none;
}


.widget_archive li,
.widget_categories li.cat-item {
	display: flex;
	margin-bottom: 10px;
	justify-content: space-between;
	border-bottom: 1px solid var(--sp-border-dark);
}

.page_item .children {
	position: absolute;
    top: 100%;
    background: white;
    width: 100%;
    z-index: 1;
    border: 1px solid var(--sp-border-dark);
	display: none;
	height: 0;
	transition: height 0.3s;
}

.page_item:hover .children, .page_item:focus-within .children {
	display: block;
	height: auto;
}
.page_item .children > li {
	padding: 0 0 0 10px;
}