/* Header skygge ved scroll */
.item-is-stuck .site-bottom-header-wrap.site-header-row-container.site-header-focus-item.site-header-row-layout-standard {
    box-shadow: rgba(149, 157, 165, 0.1) 0px 4px 20px;
}

/* Menu dropdown styling */
.header-navigation .header-menu-container ul ul li.menu-item > a:hover {
	background: transparent !important;
	border-radius: 1em !important;
}

/* Mega menu */
.header-navigation ul.sub-menu, .header-navigation ul.submenu {
	border-radius: 1.1em !important;
}
.mega-menu .product-card-titel {
  max-height: 46px !important;
}
.mega-menu .product-card-price-button .woocommerce-Price-amount.amount {
  font-size: 16px !important;
}
.mega-menu .product-card-button {
  display: none !important;
}
.mega-menu .product-card-desc {
  display: none !important;
}
.mega-menu .product-card-titel .woocommerce-loop-product__title.entry-title {
  font-size: 16px !important;
}
.mega-menu .woocommerce span.onsale {
  font-size: 11px !important;
}
.mega-menu .kb-splide[data-slider-dots="true"] {
	margin-bottom: 0px !important;
}
.mega-menu.theme-kadence .kt-product-carousel-wrap:not(.content-style-unboxed) .woocommerce ul.products li.product {
  margin-bottom: 0px !important;
}
.mega-menu-icon .kb-svg-icon-wrap {
	background-color: var(--global-palette8);
	padding: 12px !important;
	border-radius: 100px;
	margin-right: 6px;
}

/* Ensartede artikelbilleder i mega-menuen */
.header-menu-container ul.menu > li.kadence-menu-mega-enabled > ul ul {
	display: flex !important;
}
.mega-menu ul.kb-posts > li.kb-post-list-item {
    flex: 1 1 0;
    min-width: 0;
}
.mega-menu .kb-post-list-item .post-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2; 
    overflow: hidden;
    border-radius: 8px;   
}
.mega-menu .kb-post-list-item .post-thumbnail-inner {
    width: 100%;
    height: 100%;
}
.mega-menu .kb-post-list-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fokusskygge for mega menu */
li.kadence-menu-mega-enabled > ul {
    -webkit-box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
    -moz-box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
    box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
    border-radius: 30px !important;
}


/* Forside slider */
.kb-splide .splide__arrow {
	background: #000 !important;
	border-radius: 99px !important;
	width: 3em !important;
	opacity: 1 !important;
	color: #fff !important;
}



/* Topbar trustpilot */
.trustpilot-rating {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: "Quicksand", sans-serif;
  color: #334651;
  line-height: 1;
}

.trustpilot-rating .tpr-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trustpilot-rating .tpr-score {
  font-size: 20px;
  font-weight: 700;
  color: #334651;
}

.trustpilot-rating .tpr-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.trustpilot-rating .tpr-star {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background-color: #0abe82;
  box-sizing: border-box;
  overflow: hidden;
}

.trustpilot-rating .tpr-star::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-1 3h-3l2.5 2-1 3 2.5-2 2.5 2-1-3 2.5-2h-3l-1-3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-1 3h-3l2.5 2-1 3 2.5-2 2.5 2-1-3 2.5-2h-3l-1-3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.trustpilot-rating .tpr-star--partial {
  background-color: #dcdcdc;
}

.trustpilot-rating .tpr-star--partial .tpr-green {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--tpr-fill, 60%);
  background-color: #0abe82;
}

.trustpilot-rating .tpr-reviews {
  font-size: 12px;
  font-weight: 500;
  color: #6b7780;
  margin-top: 9px;
}


/* Produkt card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	border-radius: 1em;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	transform: scale(1);
	transform-origin: center;
	will-change: transform;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	transform: scale(1.02);
}
@media (max-width: 480px) {
  .woocommerce a.button.add_to_cart_button,
  .woocommerce ul.products li.product a.add_to_cart_button {
    font-size: 16px !important;
    white-space: nowrap !important;
  }
}

/* Forside produkt slider */
.kt-product-carousel-wrap:not(.content-style-unboxed) .woocommerce ul.products li.product {
  border-radius: 10px !important;
}
.button.product_type_variable.add_to_cart_button {
  border-radius: 0 0 10px 10px !important;
}
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
  border-radius: 0 0 10px 10px !important;
}

/* Forside slider anmeldelser */
.kt-post-grid-layout-carousel .splide.kb-slider-arrow-position-outside-top-right .splide__arrows {
	top: -5rem !important;
}
.forside-anmeldelser .kb-splide .splide__arrow {
	background: transparent !important;
	border: 1px solid var(--global-palette1) !important;
	border-radius: 99px !important;
	width: 3em !important;
	color: var(--global-palette1) !important;
}

/* Footer links hover */
.wp-block-navigation-item__label:hover {
	color: var(--global-palette2) !important;
}


/* LIVE SØGEFELT */
.dgwt-wcas-search-form {
	width: 360px !important;
	/* max-width vinder over width: formularen maa aldrig blive bredere end sin
	   container - uden denne fik sidebaren (335px) en vandret scrollbar. */
	max-width: 100% !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
	background: none !important;
	padding: 10px;
	border-radius: 10px;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	border-radius: 10px !important;
	font-family: var(--global-heading-font-family) !important;
	background-color: #fff !important;
	padding: 8px 24px 8px 48px !important;
	line-height: 24px !important;
	font-size: 14px !important;
}
.dgwt-wcas-suggestions-wrapp {
	border-radius: 10px !important;
	border: unset !important;
}
/* Alle forslag er links: ingen understregning, og gruppeoverskrifter
   (Indlaeg/Varer/Klinikker...) uden versaler. */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion {
	text-decoration: none !important;
}
.dgwt-wcas-suggestion-headline .dgwt-wcas-st {
	text-transform: none !important;
}
.dgwt-wcas-search-submit {
	margin-top: -8px !important;
}
.dgwt-wcas-si img {
	border-radius: 10px !important;
	padding: 0px !important;
}
@media (min-width: 1025px) {
  .dgwt-wcas-search-wrapp {
    width: clamp(80px, calc(100vw - 955px), 360px) !important;
    min-width: 0 !important;
    max-width: 360px !important;
  }
  .dgwt-wcas-search-wrapp .dgwt-wcas-search-form,
  .dgwt-wcas-search-wrapp .dgwt-wcas-search-input {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Søgefelt i sidebar */
#dgwt-wcas-search-input-3 {
	border-radius: 10px;
	border: var(--kb-form-border-width, 1px) solid var(--kb-form-border-color, var(--global-gray-400, #cbd5e0)) !important;
	font-size: 15px !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding-top: 10px;
  padding-right: 14px;
  padding-bottom: 10px;
  padding-left: 14px;
}


/* WOOCOMMERCE BESKEDER */
.woocommerce .woocommerce-message {
	flex-direction: initial !important;
}

/* WOOCOMMERCE KURV */
.woocommerce-cart .cart-collaterals .cart_totals table small, .woocommerce-checkout .cart-collaterals .cart_totals table small, #add_payment_method .cart-collaterals .cart_totals table small {
	white-space: pre !important;
}
.woocommerce .woocommerce-notices-wrapper, .woocommerce-notices-wrapper {
	left: 1rem !important;
	right: 1em !important;
}
@media only screen and (max-width: 720px) { 
  .woocommerce-cart-form__cart-item.cart_item {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 5px !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin: 15px 0px !important;
    padding: 0px 10px 10px 10px !important;
  }
.woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
	background-color: rgba(0,0,0,0.0) !important;
}
.woocommerce table.shop_table td {
	border-top: 0px solid var(--global-gray-400);
	padding: 9px 12px;
	vertical-align: middle;
	line-height: 1.5em;
}
}
#payment #place_order {
	padding: 1em 1em;
	font-size: 20px;
	background: #089f41;
}
#payment #place_order:hover {
	background: #056128;
}
.woocommerce-cart-form__cart-item.cart_item {
	border: 2px solid #fff !important;
	background: #f3f1f0;
}
.woocommerce table.shop_table td {
	border-top: 0px solid var(--global-gray-400);
}
#coupon_code {
	border-radius: 10px !important;
}
.woocommerce-info {
	border-left: 0px solid #000 !important;
	border-radius: 10px !important;
}
.woocommerce form.login, .woocommerce form.checkout_coupon, .woocommerce form.register {
	padding: 20px 20px 5px 20px !important;
	border-radius: 10px !important;
	background-color: #fff !important;
}
@media only screen and (max-width: 720px) {
  .woocommerce-cart-form__cart-item.cart_item {
    box-shadow: none !important;
  }
}
.woocommerce-cart-form__cart-item.cart_item td:first-child {
	border: 0px solid #000 !important;
}

/* PRODUKTSIDE */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  background-color: var(--global-palette7) !important;
	padding: 0em 0em !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	margin-right: -0.3em !important;
	background-color: var(--global-palette7) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-bottom: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 0px solid #fff !important;
	border-radius: 0px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 1.3em 2em !important;
	font-weight: normal !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #fff !important;
	background-color: var(--global-palette4) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 0px solid #fff !important;
	border-radius: 0px !important;
	font-family: var(--global-heading-font-family) !important;
	text-transform: uppercase;
	font-size: 18px !important;
	margin: 0px !important;
}
.product_meta {
	text-align: center !important;
}
.kadence-sticky-add-to-cart-action-wrap form.cart .quantity {
	border-radius: 10px !important;
}
@media screen and (min-width: 1025px) {
  form.checkout .col2-set {
    padding-right: 4em !important;
  }
}
@media screen and (min-width: 1025px) {
  form.checkout .woocommerce-checkout-review-order {
    padding-left: 4em !important;
  }
}
@media screen and (min-width: 1025px) {
  form.checkout #order_review_heading {
    padding-left: 3em !important;
  }
}
.woocommerce .woocommerce-checkout .shop_table {
	background: #f3f1f0 !important;
}
.woocommerce-privacy-policy-text {
	margin-bottom: 2em !important;
}
.woocommerce-terms-and-conditions-wrapper {
	background: #fff !important;
	padding: 1em !important;
	border-radius: 10px !important;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	border-radius: 10px !important;
}
#payment ul.wc_payment_methods li.wc_payment_method > label {
	border-left: 0px solid var(--global-gray-400) !important;
	padding: 10px 20px !important;
	margin-bottom: 8px !important;
	border-radius: 10px !important;
}
.woocommerce div.product form.cart .variations select {
	border-radius: 10px !important;
}
.kadence-product-gallery-thumbnails .kt-woo-gallery-thumbnail img, .woocommerce .product .kadence-product-gallery-thumbnails .kt-woo-gallery-thumbnail img {
    border-radius: 10px !important;
}
.woocommerce div.product div.images .kadence-product-gallery-main img {
    border-radius: 10px !important;
}
.woocommerce-product-attributes-item__label {
	text-align: left !important;
}

/* FJERN MÆRKE/BRAND PREFIX */
.product-brand-label {
	display: none !important;
}


/* Klinik logo */
.klinik-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
}

/* Social share knapper */
.kt_simple_share_container {
	gap: 8px !important;
}
.kt-socialstyle-style_01.kt-social-size-large a, .kt-socialstyle-style_02.kt-social-size-large a {
	font-size: 20px !important;
	width: 44px !important;
	height: 44px !important;
	line-height: 44px !important;
}

/* Pop-out kurv */
.woocommerce.widget_shopping_cart .cart_list li, .woocommerce .widget_shopping_cart .cart_list li {
	border-bottom: 1px solid var(--global-palette8) !important;
	padding: 10px 0 !important;
}

/* Relaterede produkter */
.kwt-related-wrap .related.products ul.products.grid-cols {
    column-gap: 1.5rem !important;
    row-gap: 1.5rem !important;
}
@media (max-width: 767px) {
    .kwt-related-wrap .related.products ul.products.grid-cols {
        gap: 1rem !important;
    }
}




/* Slå separate borders til, så hjørner kan afrundes */
.woocommerce-cart-form table.shop_table {
    border-collapse: separate;
    border-spacing: 0 12px; /* valgfrit: giver luft mellem rækkerne */
}

/* Afrund venstre hjørner på første celle */
.woocommerce-cart-form__cart-item.cart_item td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Afrund højre hjørner på sidste celle */
.woocommerce-cart-form__cart-item.cart_item td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Sidebar sticky */
@media screen and (min-width: 1025px) {
  .has-sticky-sidebar .sidebar-inner-wrap, .has-sticky-sidebar-widget .primary-sidebar .widget:last-child {
    top: 240px !important;
  }
}
.wp-block-search .wp-block-search__input {
	border: 0px solid #fff !important;
}
.wp-block-search__inside-wrapper {
	border-radius: 10px !important;
}

/* Single post */
.post-thumbnail.article-post-thumbnail.kadence-thumbnail-position-behind.alignwide.kadence-thumbnail-ratio-2-3 {
	border-radius: 10px !important;
}
@media screen and (min-width: 768px) {
  .kb-posts.kb-posts-style-unboxed.grid-lg-col-1.item-image-style-beside article.loop-entry {
    grid-gap: 1rem !important;
  }
}
@media screen and (min-width: 768px) {
  .grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
    grid-template-columns: 1fr 4fr !important;
  }
}
.wp-site-blocks .post-thumbnail:not(.kadence-thumbnail-ratio-inherit) img {
	border-radius: 10px !important;
}
.loop-entry .entry-header .entry-title {
	margin-top: -6px !important;
}
.loop-entry .entry-summary p, .loop-entry .entry-header .entry-meta {
	font-size: 12px !important;
	margin-top: 0.2em !important;
}
.sidebar-inner-wrap .grid-cols {
	row-gap: 0.5rem !important;
}
.posted-by {
	display: none !important;
}
.entry-related-inner-content.alignwide {
	background: var(--global-palette7);
	border-radius: 10px !important;
}
.entry.loop-entry {
	border-radius: 10px !important;
}
.entry-related-inner-content.alignwide {
	background: var(--global-palette7);
	border-radius: 10px !important;
	padding-top: 1.5em !important;
	padding-bottom: 2em !important;
}
.entry-related-inner #splide01-track {
	padding-bottom: 1em !important;
}
.sidebar-inner-wrap .kt-social-align-left {
	justify-content: center !important;
}
.plyr--video {
	border-radius: 10px !important;
}
@media only screen and (max-width: 767px) { 
    .hero-container.site-container {
	padding-top: 20px;
	padding-bottom: 20px;
}
}


/* Truspilot stjerne på single produkt */
.sidstestjerne {
	background: linear-gradient(to right, #0abe82 50%, #dcdce3 50%) !important;
}

/* Header menu styling */
.secondary-navigation .secondary-menu-container > ul > li.menu-item.current-menu-item > a {
	border-radius: 10px;
}
.secondary-navigation .secondary-menu-container > ul > li.menu-item > a:hover {
	color: var(--global-palette1);
	background: rgba(195,182,161,0.5);
	border-radius: 10px !important;
}
.secondary-navigation .secondary-menu-container > ul > li.menu-item > a:hover {
	background: rgba(195,182,161,0.25) !important;
	border-radius: 10px !important;
}

/* Currency switcher styling */
.trp-flag-image {
	border-radius: 3px !important;
}
.trp-menu-ls-label .trp-flag-image {
	border-radius: 3px !important;
}

/* Header logotitle fix*/
@media (max-width: 1024px) {
  .mobile-site-branding .site-title-wrap,
  .mobile-site-branding .site-title {
    display: block !important;
  }
}

/* Kategorioversigt */
.woocommerce-loop-category__title .count {
	display: none !important;
}
.woocommerce-loop-category__title {
	font-size: 20px !important;
	text-align: center !important;
	margin-top: 12px !important;
}
@media only screen and (max-width: 767px) { 
    .woocommerce-loop-category__title {
	font-size: 16px !important;
}
}

/* Skjul tags på single post */
.entry-tags .tags-links {
	display: none !important;
}

/* Produktkategori breadcrumb */
.product-archive-title .kadence-breadcrumbs {
	line-height: 0.3 !important;
}

/* Pagenation styling */
.kt-blocks-page-nav .nav-links > a, .kt-blocks-page-nav .nav-links > span {
	border: 0px solid var(--global-palette5,#aaa) !important;
}

/* Giver runde hjørner til Bunny Stream video-blokken */
.wp-block-bunnycdn-block-stream-video .bunny-stream-video {
    border-radius: 10px; /* Juster dette tal, så det matcher jeres overordnede design */
    overflow: hidden; 
    
    /* Et fix der tvinger Safari-browsere til at respektere de runde hjørner over iframes */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    isolation: isolate;
}
.wp-video .mejs-container,
.wp-video .mejs-container video,
.wp-video-shortcode {
    border-radius: 10px;
    overflow: hidden;
}

/* Mobil: TILBUD-badge centreret oeverst paa billedet, 9px.
   KUN i produktkort (ul.products) - badget paa selve produktsiden skal blive ved hoejre kant. */
@media (max-width: 767px) {
  .woocommerce ul.products li.product span.onsale {
    left: 50% !important;
    right: auto !important;
    top: -24px !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    font-size: 10px !important;
    z-index: 10 !important;
    min-width: 140px !important;
  }
}
@media (max-width: 767px) {
  li.product.entry { overflow: visible !important; }
}

/* Produktside: skjul Shop Kits svaevende play-knap over galleriet (den overlapper
   Tilbud/Pakketilbud-badget). Videoen afspilles stadig via video-thumbnailen. */
.kt-gallery-video-btn { display: none !important; }


/* Kadence pop-up video */
.gslide-media.gslide-video {
	border-radius: 10px !important;
}