/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 4.7.4.1611324239
Updated: 2021-01-22 14:03:59

*/

/* Hide the default cart icon */
#et-top-navigation > .et-cart-info {
	display: none;
}

/* Cart icon in header - START */
.cart-badge-menu-item {
	position: relative;
	vertical-align: middle;
}

.cart-link {
	display: inline-block;
	position: relative;
	
}

.et_header_style_left #et-top-navigation .cart-link {
	padding-bottom: 0 !important;
}

.cart-icon {
	font-size: 24px;
	color: #193816 !important;
}

/* Badge-stil */
.cart-badge {
	position: absolute;
	top: -6px;       /* Juster vertikal posisjon */
	right: -10px;    /* Juster horisontal posisjon */
	background: #e60023;
	color: white;
	padding: 2px 6px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: bold;
	min-width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
/* Cart icon in header - END */

/* BugFix: On mobile devices, an icon appears when the buy button is clicked upon */
body #page-container .et_pb_section .et_pb_wc_add_to_cart_0 .button:hover:after {
	display: none;
}