/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.woocommerce-shop .elementor-widget-theme-archive-title {
	display: none;
}

/*
    * Header
*/

.elementor-sticky--effects {
	background-color: unset !important;
}

.elementor-sticky .e-con-inner {
	transition: all 0.2s;
}

.elementor-sticky--effects .e-con-inner {
	  background: #000000c7;
    border-radius: 5000px;
    padding-left: 32px;
    padding-right: 32px;
		margin-top: 10px;
}

@media (max-width: 767px) {
	.elementor-sticky--effects .e-con-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* Top menu: underline with a round endpoint. */
.elementor-element.elementor-element-24ac89a {
	--vigso-menu-line-height: 2px;
	--vigso-menu-dot-size: 8px;
	--vigso-menu-line-bottom: 2px;
}

.elementor-element.elementor-element-24ac89a .elementor-nav-menu--main .elementor-nav-menu > .menu-item > .elementor-item {
	position: relative;
}

.elementor-element.elementor-element-24ac89a .elementor-nav-menu--main .elementor-nav-menu > .menu-item > .elementor-item::before {
	content: none;
}

.elementor-element.elementor-element-24ac89a .elementor-nav-menu--main .elementor-nav-menu > .menu-item > .elementor-item::after {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	bottom: calc(var(--vigso-menu-line-bottom) - (var(--vigso-menu-dot-size) - var(--vigso-menu-line-height)) / 2);
	left: 0;
	width: auto;
	height: auto;
	margin: 0;
	padding-block: 0;
	/* Keep both ends aligned with the text, even when link padding changes. */
	padding-inline: inherit;
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	background-image:
		radial-gradient(circle closest-side, currentColor calc(100% - 0.5px), transparent 100%),
		linear-gradient(currentColor, currentColor);
	background-position:
		right bottom,
		left calc(100% - (var(--vigso-menu-dot-size) - var(--vigso-menu-line-height)) / 2);
	background-size:
		var(--vigso-menu-dot-size) var(--vigso-menu-dot-size),
		calc(100% - var(--vigso-menu-dot-size) / 2) var(--vigso-menu-line-height);
	background-repeat: no-repeat;
	background-origin: content-box;
	background-clip: content-box;
	transform: none;
	clip-path: inset(0 100% 0 0);
	opacity: 0;
	pointer-events: none;
	transition: clip-path 0.25s ease, opacity 0.15s ease;
}

.elementor-element.elementor-element-24ac89a .elementor-nav-menu--main .elementor-nav-menu > .menu-item:is(:hover, :focus-within, .current-menu-item, .current-menu-parent, .current-menu-ancestor) > .elementor-item::after,
.elementor-element.elementor-element-24ac89a .elementor-nav-menu--main .elementor-nav-menu > .menu-item > .elementor-item:is(.elementor-item-active, .highlighted)::after {
	clip-path: inset(0);
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.elementor-element.elementor-element-24ac89a .elementor-nav-menu--main .elementor-nav-menu > .menu-item > .elementor-item::after {
		transition: none;
	}
}

/**
    * Red Textbox Hover
*/

.red-textbox-hover:hover * {
	color: var(--e-global-color-primary) !important;
fill: var(--e-global-color-primary) !important;
}

/*
    * WooCommerce Product Price
*/

.elementor-widget-woocommerce-product-price .price,
.elementor-widget-woocommerce-product-price .price * {
	color: var(--e-global-color-primary) !important;
}

/*
    * WooCommerce Product Archive Images
*/

body.post-type-archive-product .e-loop-item .product-image,
body.tax-product_cat .e-loop-item .product-image,
body.tax-product_tag .e-loop-item .product-image,
.woocommerce ul.products li.product:not(.product-category) .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product:not(.product-category) > a img,
.woocommerce-page ul.products li.product:not(.product-category) .woocommerce-LoopProduct-link img,
.woocommerce-page ul.products li.product:not(.product-category) > a img {
	aspect-ratio: 1 / 1;
}

body.post-type-archive-product .e-loop-item .product-image > .elementor-widget,
body.tax-product_cat .e-loop-item .product-image > .elementor-widget,
body.tax-product_tag .e-loop-item .product-image > .elementor-widget {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

body.post-type-archive-product .e-loop-item .product-image img,
body.tax-product_cat .e-loop-item .product-image img,
body.tax-product_tag .e-loop-item .product-image img,
.woocommerce ul.products li.product:not(.product-category) .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product:not(.product-category) > a img,
.woocommerce-page ul.products li.product:not(.product-category) .woocommerce-LoopProduct-link img,
.woocommerce-page ul.products li.product:not(.product-category) > a img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}

/*
    * WooCommerce Archive Navigation
*/

.woocommerce .widget_product_categories,
.elementor-widget-wp-widget-woocommerce_product_categories .woocommerce.widget_product_categories {
	background: transparent;
	border: 0;
	box-shadow: none;
	--jp-archive-indent: 0.9rem;
	--jp-archive-indent-compact: 0.7rem;
}

.woocommerce .widget_product_categories h5,
.woocommerce .widget_product_categories .widget-title,
.woocommerce .widget_product_categories .wp-block-heading {
	margin: 0 0 1.5rem;
	color: var(--e-global-color-secondary);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce .widget_product_categories .product-categories,
.woocommerce .widget_product_categories .product-categories li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce .widget_product_categories .count {
	display: none;
}

.woocommerce .widget_product_categories .product-categories .cat-item {
	position: relative;
}

.woocommerce .widget_product_categories .product-categories > .cat-item + .cat-item {
	margin-top: 0.2rem;
}

.woocommerce .widget_product_categories a {
	text-decoration: none;
}

.woocommerce .widget_product_categories .product-categories > .cat-item > a {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	min-height: 44px;
	padding: 0.45rem 2.25rem 0.45rem 0;
	color: var(--e-global-color-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.woocommerce .widget_product_categories:not(.jp-archive-category-widget) .product-categories > .cat-parent > a::after {
	content: "";
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px);
}

.woocommerce .widget_product_categories .product-categories > .current-cat > a,
.woocommerce .widget_product_categories .product-categories > .current-cat-parent > a,
.woocommerce .widget_product_categories .product-categories > .current-cat-ancestor > a,
.woocommerce .widget_product_categories .product-categories > .cat-item > a:hover {
	color: var(--e-global-color-primary);
}

.woocommerce .widget_product_categories .children {
	margin-left: 0.35rem;
	padding: 0.45rem 0 0 var(--jp-archive-indent);
	border-left: 1px solid #e6e6e6;
}

.woocommerce .widget_product_categories .children .children {
	margin-left: 0.2rem;
	padding-left: var(--jp-archive-indent-compact);
}

body.post-type-archive-product .widget_product_categories .children,
body.tax-product_cat .widget_product_categories .children,
body.tax-product_tag .widget_product_categories .children,
.woocommerce .widget_product_categories.jp-archive-category-widget .children {
	display: none;
}

body.post-type-archive-product .widget_product_categories .current-cat > .children,
body.post-type-archive-product .widget_product_categories .current-cat-parent > .children,
body.post-type-archive-product .widget_product_categories .current-cat-ancestor > .children,
body.tax-product_cat .widget_product_categories .current-cat > .children,
body.tax-product_cat .widget_product_categories .current-cat-parent > .children,
body.tax-product_cat .widget_product_categories .current-cat-ancestor > .children,
body.tax-product_tag .widget_product_categories .current-cat > .children,
body.tax-product_tag .widget_product_categories .current-cat-parent > .children,
body.tax-product_tag .widget_product_categories .current-cat-ancestor > .children,
.woocommerce .widget_product_categories.jp-archive-category-widget .cat-item.is-open > .children {
	display: block;
}

.woocommerce .widget_product_categories .children > .cat-item + .cat-item {
	margin-top: 0.3rem;
}

.woocommerce .widget_product_categories .children > .cat-item > a {
	display: block;
	padding: 0.45rem 1.8rem 0.45rem 0;
	color: #3b3b3b;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.woocommerce .widget_product_categories .children .children > .cat-item > a {
	font-size: 14px;
	font-weight: 500;
}

.woocommerce .widget_product_categories .children > .current-cat > a,
.woocommerce .widget_product_categories .children > .current-cat-parent > a,
.woocommerce .widget_product_categories .children > .current-cat-ancestor > a,
.woocommerce .widget_product_categories .children > .cat-item > a:hover {
	color: var(--e-global-color-primary);
}

.woocommerce .widget_product_categories .jp-archive-category-toggle,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle {
	all: unset;
	position: absolute;
	top: 8px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	font-size: 0;
	line-height: 1;
	color: var(--e-global-color-text) !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	z-index: 1;
}

.woocommerce .widget_product_categories .jp-archive-category-toggle::before,
.woocommerce .widget_product_categories .jp-archive-category-toggle::after,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle::before,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle::after {
	content: none !important;
	display: none !important;
}

.woocommerce .widget_product_categories .jp-archive-category-toggle__icon,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0.875rem;
	height: 0.875rem;
	pointer-events: none;
}

.woocommerce .widget_product_categories .jp-archive-category-toggle__icon svg,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle__icon svg {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	overflow: visible;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	transform: rotate(0deg);
	transform-origin: center;
	transition: transform 0.18s ease, stroke 0.18s ease;
}

.woocommerce .widget_product_categories .jp-archive-category-toggle:hover,
.woocommerce .widget_product_categories .jp-archive-category-toggle:focus,
.woocommerce .widget_product_categories .jp-archive-category-toggle:active,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle:hover,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle:focus,
.elementor-widget-wp-widget-woocommerce_product_categories .jp-archive-category-toggle:active {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	color: var(--e-global-color-primary) !important;
}

.woocommerce .widget_product_categories.jp-archive-category-widget .cat-parent > a::after {
	display: none;
}

.woocommerce .widget_product_categories.jp-archive-category-widget .cat-item.is-open > .jp-archive-category-toggle .jp-archive-category-toggle__icon svg {
	transform: rotate(180deg);
}

.woocommerce .widget_product_categories.jp-archive-category-widget .current-cat-parent > .jp-archive-category-toggle,
.woocommerce .widget_product_categories.jp-archive-category-widget .current-cat-ancestor > .jp-archive-category-toggle,
.woocommerce .widget_product_categories.jp-archive-category-widget .is-open > .jp-archive-category-toggle {
	color: var(--e-global-color-primary) !important;
}

.woocommerce .widget_product_categories .jp-archive-menu-toggle {
	display: none;
}

@media (max-width: 1024px) {
	.woocommerce .widget_product_categories .jp-archive-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 48px;
		padding: 12px 16px;
		border: 1px solid currentColor;
		border-radius: 4px;
		background: transparent;
		color: inherit;
		font: inherit;
		font-weight: 600;
		cursor: pointer;
	}

	.woocommerce .widget_product_categories .jp-archive-menu-toggle::after {
		content: '+';
		font-size: 1.4em;
		line-height: 1;
	}

	.woocommerce .widget_product_categories .jp-archive-menu-toggle[aria-expanded="true"]::after {
		content: '−';
	}

	.woocommerce .widget_product_categories .jp-archive-menu-toggle:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 3px;
	}

	.woocommerce .widget_product_categories.jp-archive-category-widget > .product-categories {
		display: none;
	}

	.woocommerce .widget_product_categories.jp-archive-category-widget.is-menu-open > .product-categories {
		display: block;
		margin-top: 16px;
	}
}

@media (max-width: 767px) {
	.woocommerce .widget_product_categories .product-categories > .cat-item > a,
	.woocommerce .widget_product_categories .children > .cat-item > a {
		font-size: 16px;
	}

	.woocommerce .widget_product_categories .product-categories > .cat-item > a {
		gap: 0.8rem;
		padding-right: 2rem;
	}

	.woocommerce .widget_product_categories .children > .cat-item > a {
		padding-right: 2rem;
	}
}

/*
    * WooCommerce Cart / Checkout
*/

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
	display: none;
}

.alignwide {
	margin-inline: unset;
}

main#content {
	padding-top: 64px;
	padding-bottom: 64px;
}

@media (max-width: 767px) {
	main#content {
		padding-top: 32px;
		padding-bottom: 32px;
	}
}

.wc-block-components-product-name {
	color: unset;
}

.wc-block-cart__submit-button.wc-block-components-button {
	background-color: var(--e-global-color-primary);
	font-size: var(--e-global-typography-accent-font-size);
	font-family: var(--e-global-typography-accent-font-family), Sans-serif;
	font-weight: var(--e-global-typography-accent-font-weight);
	text-transform: var(--e-global-typography-accent-text-transform);
	color: var(--e-global-color-ba06f24);
	border-style: solid;
	border-width: 2px;
	border-color: var(--e-global-color-primary);
	border-radius: 0;
	padding: 10px 20px;
}

.wc-block-components-checkout-place-order-button:hover .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button:hover .wc-block-components-checkout-place-order-button__text {
	color: var(--e-global-color-primary);
}

/*
	* Responsive fonts
*/

@media (max-width: 768px) {
	.mb-font-black, .mb-font-black * {
		color: var(--e-global-color-secondary) !important;
	}

	.mb-font-red, .mb-font-red * {
		color: var(--e-global-color-primary) !important;
	}

	.mb-font-white, .mb-font-white * {
		color: var(--e-global-color-ba06f24) !important;
	}
	
	.mb-hide-btn-text .elementor-button-text {
		display: none;
	}
}

/*
	* Global 
*/

.text-whitespace-nowrap, .text-whitespace-nowrap * {
	white-space: nowrap;
}

/*
	* Elementor form
*/

.e-form__indicators__indicator__separator {
    display: flex;
    flex-direction: row-reverse;
    background-color: var(--e-global-color-secondary);
}

.e-form__indicators__indicator__separator::before {
    content: '';
    height: 10px;
    width: 10px;
    background: black;
    display: block;
    margin-top: -5px;
    border-radius: 500px;	
}

/*
	* Minicart
*/

/* Selve knappen */
#elementor-menu-cart__toggle_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 38px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* REQUEST LIST tekst */
#elementor-menu-cart__toggle_button::before {
    content: "REQUEST LIST";
    display: block;

    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);

    color: var(--e-global-color-ba06f24);
    fill: var(--e-global-color-ba06f24);

    white-space: nowrap;
    line-height: 1.2;
}

/* Skjul WooCommerce-prisen */
#elementor-menu-cart__toggle_button
.elementor-button-text {
    display: none !important;
}

/* Skjul eventuelt kurveikon */
#elementor-menu-cart__toggle_button
.elementor-button-icon > i,
#elementor-menu-cart__toggle_button
.elementor-button-icon > svg {
    display: none !important;
}

/* Ikon-container */
#elementor-menu-cart__toggle_button
.elementor-button-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    flex: 0 0 38px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Grå cirkel med antal */
#elementor-menu-cart__toggle_button
.elementor-button-icon-qty {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border-radius: 50% !important;
    background: #606266 !important;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    color: var(--e-global-color-ba06f24);
    fill: var(--e-global-color-ba06f24);
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* Hover */
#elementor-menu-cart__toggle_button:hover::before {
    color: var(--e-global-color-ba06f24);
}

#elementor-menu-cart__toggle_button:hover
.elementor-button-icon-qty {
    background: #606266 !important;
}

@media (max-width: 767px) {
    #elementor-menu-cart__toggle_button::before,
    #elementor-menu-cart__toggle_button .elementor-button-icon-qty {
        font-size: 11px;
    }
}
