/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.1
 Text Domain:  woodmart
*/

#zavepower_copyright_footer
{
	color:#fff !important;
}

.wd-nav[class*="wd-style-"]>li:hover>a
{
	color:#082945;
}
.wd-nav[class*="wd-style-"]>li:is(.current-menu-item,.wd-active,.active)>a
{
	color:#082945;	
}

.border-radius-5 a.btn
{
	border-radius:5px;
}

#zavepower-footer-menu .woodmart-nav-link
{
	color:#fff !important;
}

h1.woodmart-title-container
{
	word-break:break-word;
}


@media only screen and (max-width: 768px) 
{
	#zavepower_social_icons_footer .wd-social-icons
	{
		text-align:left !important;
	}
}

@media only screen and (max-width: 767px) 
{
	#example_text_frontpage .wd-text-block
	{
		text-align:left !important;
	}
}

@media only screen and (max-width: 767px)
{
	.labels-rectangular .product-label 
	{
		word-break:break-word;
	}
}


#welcome_page .info-box-icon
{
	font-family:var(--wd-title-font);
}
@media only screen and (max-width: 767px) 
{
	#welcome_page .box-with-text.text-size-default
	{
		font-size:36px !important;
	}
}


.wd-dropdown-menu ul.wd-sub-menu a.woodmart-nav-link
{
	color:#000 !important;
	font-size:16px !important;
}


/*.ur-frontend-form.login*/
.ur-frontend-form.login-registration
{
	max-width:600px;
	padding-left:0px !important;
	/*margin-left:auto;
	margin-right:auto;*/
}
.ur-frontend-form.login-registration .ur-form-grid
{
	padding-left:0px !important;
}

.margin-above-user-registration-title
{
	margin-top:30px;
}
.margin-above-user-registration-title h3
{
	margin-bottom:10px;
}
.user-registration-form-website p
{
	margin-bottom:0px !important;
}
.user-registration-Button
{
	margin-top:15px;
}

.wd-shipping-progress-bar .progress-area
{
	display:none !important;
}

.top-bar-menu-item a
{
	font-size:15px !important;
	text-transform:none !important;
}

.contact_person .member-image-wrapper
{
	display:none;
}
.contact_person .member-name
{
	font-size:22px;
}

#menu-top-bar-right .menu-item a
{
	font-size:15px !important;
	text-transform:none !important;
}

.single-product-page #woocommerce_products-13
{
	display:none !important;
}

.products .product-wrapper .wd-buttons
{
	display:none !important;
}
add_action('woocommerce_before_order_object_save', function($order) {
    if (is_admin() && $order instanceof WC_Order && !$order->get_payment_method()) {
        $order->set_payment_method('stripe_checkout'); // Ställ in Stripe Checkout
    }
});

