@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//www.nutravit.no/wp-content/themes/woodmart/fonts/woodmart-font-1-300.woff2?v=8.3.8") format("woff2");
	font-display:swap;
}

:root {
	--wd-header-banner-h: 60px;
	--wd-text-font: "ANewFont2025", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(71,71,71);
	--wd-text-font-size: 15px;
	--wd-title-font: "ANewFont2025", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "ANewFont2025", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(131, 183, 53);
	--wd-alternative-font: "ANewFont2025", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "ANewFont2025", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 17px;
	--wd-header-el-font: "ANewFont2025", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(91,128,40);
	--wd-alternative-color: rgb(131,183,53);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(91,128,40);
	--btn-accented-bgcolor-hover: rgb(131,183,53);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(61,87,30);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(91,128,40);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.header-banner {
	background-color: rgb(184,90,43);
	background-image: none;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(78,111,34);
	background-image: none;
}
html .product.wd-product del, html .product.wd-product del .amount {
	font-family: "ANewFont2025", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: rgb(79,79,79);
}
html .wd-product .price, html .wd-product .price > .amount, html .wd-product .price ins > .amount {
	font-family: "ANewFont2025", Arial, Helvetica, sans-serif;
	font-size: 18px;
}
html .product-image-summary-wrap .summary-inner > .price del, html .product-image-summary-wrap .summary-inner > .price del .amount, html .wd-single-price .price del .amount, .woocommerce-breadcrumb a {
	font-family: "ANewFont2025", Arial, Helvetica, sans-serif;
	color: rgb(99,99,99);
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "ANewFont2025", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 25px;
}
html .widget_product_categories .product-categories li a {
	font-family: "ANewFont2025", Arial, Helvetica, sans-serif;
	color: rgb(0,0,0);
}
.widget_product_categories .product-categories li a:hover, .widget_product_categories .product-categories li.current-menu-item a {
	color: rgb(91,128,40);
}
html .wd-page-content .wd-product .product-wrapper .wd-entities-title {
	font-family: "ANewFont2025", Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: rgb(0,0,0);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(0,0,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 980px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 60px;
	}
	html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
		font-size: 22px;
	}

}

@media (max-width: 768.98px) {
	html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
		font-size: 20px;
	}

}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #333;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1600px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1600px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}

rs-slides :is([data-type=text],[data-type=button]) {
font-family: ANewFont2025 !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: ANewFont2025 !important;
}

.wd-page-title {
background-color: #0a0a0a;
}

@font-face {
	font-family: "ANewFont2025";
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

/* ================================================= */
/* PART 1: LOGGED IN USERS (Hide Banner & Close Gap) */
/* ================================================= */
body.logged-in .header-banner {
    display: none !important;
}

body.logged-in .website-wrapper,
body.logged-in .whb-header,
body.logged-in {
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
}



.woocommerce-Price-amount .woocommerce-Price-decimal,
.woocommerce-Price-amount .woocommerce-Price-separator {
    display: none;
}

.product-labels.labels-rounded .out-of-stock { max-width: 68px; }
.product-tabs-wrapper table { max-width: 500px; }

/* Corrected: Targets ONLY table cells inside the product tabs wrapper */
.product-tabs-wrapper table th,
.product-tabs-wrapper table td { padding: 2px !important; }


/* Corrected: Targets ONLY table headers inside the product tabs wrapper */
.product-tabs-wrapper table th { font-weight: bold; }


/******hiding SKU on product page****************/
.product_meta .sku_wrapper { display: none !important; }

/* Use a more specific selector to override the light color scheme for footer widget links. */
[class*="color-scheme-light"] .footer-widget {
  --wd-link-color: #ffffff;       /* Sets a solid light gray for normal links */
  --wd-link-color-hover: #ffffff;  /* Sets a solid white for hovered links */
}


/*Truncates the Algolia autocomplete ingredient list to a single line and adds an ellipsis (...) if it's too long.*/
/*.suggestion-post-naeringsinnhold {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; 
    margin-top: 4px;} /* Adds a little space below the title */





/* --- 1. HIDES THE TABLE IF EMPTY (Safety Check) --- */
/* This ensures that if WoodMart outputs an empty container, nothing shows */
.wd-dynamic-discounts:empty {
    display: none;
}

/* --- 2. THE HEADING TEXT --- */
/* This text is attached to the table. No table = No text. */
.wd-dynamic-discounts::before {
    content: "KJØP FLER – SPAR MER (Rabatt legges til automatisk)"; 
    display: block;
    /*font-size: 16px;        Adjust text size */
    /*font-weight: 700;       Bold text */
    /*color: #333;            Text color */
    /*margin-bottom: 5px;   Space between text and boxes */
    /*text-transform: uppercase;  Optional: Makes it look like a header */
}

/* --- 3. LAYOUT GRID (The Boxes) --- */
.wd-dynamic-discounts tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wd-dynamic-discounts tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Box Appearance */
		/* Box sizing */
    flex: 0 0 120px;   /* fixed width boxes */
    max-width: 150px;
    
    border: 1px solid #e1e1e1;
    background: #ffffff;
    padding: 10px 5px;
    border-radius: 4px;
    text-align: center;
}

/* --- 4. DATA STYLING (Inside the boxes) --- */
.wd-dynamic-discounts td {
    display: block;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3;
}

/* Top text (Quantity) - e.g. "2 stk" */
.wd-dynamic-discounts td:first-child {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

/* Bottom text (Discount) - e.g. "-10%" */
.wd-dynamic-discounts td:last-child {
    font-weight: 600;
    color: #cc0000; /* Red color for discount */
    font-size: 14px;
}

/* --- 5. CLEANUP --- */
/* Hide the original table headers */
.wd-dynamic-discounts thead {
    display: none;
}
.wd-dynamic-discounts tr.wd-active {
    background: #eaf2df !important;  /* or any color you want */
}
.wd-dynamic-discounts tr:hover,
.wd-dynamic-discounts tr:hover td {
    background: #eaf2df !important;
}

@media (max-width: 576px) {
	

.wpb_wrapper td {
	padding: 0px;
	padding-left: 1px;
}
/********************************/

/*dont show logo carousel */
body .wd-prefooter {
display:none;
}


.wd-dynamic-discounts tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Box Appearance */
		/* Box sizing */
    flex: 0 0 80px;   /* fixed width boxes */
    max-width: 150px;
    
    border: 1px solid #e1e1e1;
    background: #ffffff;
    padding: 10px 5px;
    border-radius: 4px;
    text-align: center;
}

}

