/*
Theme Name: Tropic Traffic Theme
Theme URI: https://tropictraffic.com/
Description: Custom theme by Tropic Traffic
Author: Tropic Traffic
Author URI: tropictraffic.com
Version: 1.1.84
Text Domain: tropictraffic-theme
*/

/* Static fallback for the Customizer-driven vars in functions.php's
   wp_head output (tt_content_width / tt_primary_color) — keeps existing
   var(--tt-primary, #009688) references correct even if that inline
   <style> tag is ever stripped (e.g. by an aggressive minifier). */
:root {
    --tt-content-width: 900px;
    --tt-primary: #009688;
}

/* Self-hosted (not linked to Google's CDN — avoids sending EU visitor IPs
   to Google on every page load). Single variable-font file covering the
   400/600/700 weights actually used across the site; the "latin" Google
   Fonts subset already covers Danish æ/ø/å (U+0000–00FF range), so no
   latin-ext file is needed. */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('assets/fonts/open-sans-latin-var.woff2') format('woff2');
}

html, body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Search results page background. Domain-relative path (not the staging
   URL it was given as) so it resolves correctly on live too, assuming
   the uploads folder is in sync there — same file, same path either way.
   No background-attachment:fixed — that's a known scroll-jank/repaint
   cost on iOS Safari, not worth it for a background image. */
body.search {
    background-image: url('/wp-content/uploads/2026/03/search-sky-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Width control is opt-in only — plain paragraphs/blocks are NOT
   auto-boxed. Applies only when explicitly requested: the native block
   "Wide"/"Full width" alignment (enabled via add_theme_support(
   'align-wide' ), still useful for e.g. a full-width image in an
   article), the [tt_full]/[tt_boxed] shortcodes, or the "BT Section"
   custom block below (assets/js/section-block.js) — all three share the
   same .tt-width-full/.tt-width-boxed classes. */
.entry-content > .alignwide {
    max-width: calc(var(--tt-content-width, 900px) + 240px);
    margin-left: auto;
    margin-right: auto;
}

.entry-content > .alignfull,
.tt-width-full {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.tt-width-custom {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .tt-width-custom {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* The 100vw negative-margin trick above doesn't translate reliably
   inside the block editor's iframe (its sidebar/padding gives 50vw a
   different reference frame than the real page has) — approximate with
   a simple "fill available space" instead. Front end is untouched; this
   only loads inside the editor via add_theme_support('editor-styles'). */
.editor-styles-wrapper .tt-width-full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.tt-width-boxed {
    max-width: var(--tt-content-width, 900px);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .tt-width-boxed {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/***Product Anchors***/
.product-anchor-list li {
    margin: 5px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.2s ease, border 0.2s ease;
}

.dfrcs .dfrcs_no_results_message {
    text-align: center;
    margin-top: 15px;
}

.product-anchor-list li:hover {
    background-color: #F4FAF0;
    border: solid 1px #009688;
}

.footer-link-text li a {
    padding: 5px;
}

.product-anchor-list li a.product-anchor {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    flex-grow: 1;
    min-height: 75px;
    width: 100%;
}

.product-anchor-list li a .product-marker-image {
    width: 70px;   /* Allow width to adjust to container */
    height: auto;  /* Allow height to adjust according to the aspect ratio */
    object-fit: contain;  /* Ensure the image fits within the container while maintaining aspect ratio */
    aspect-ratio: 70 / 50;  /* Set the desired aspect ratio of 70:50 */
    margin-left: 15px;  /* Adds space between text and image */
}

.product-anchor-list li a div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-right: auto;  /* Ensures the text stays to the left */
}

.product-anchor-list li a .product-title {
    font-weight: bold;
	text-decoration: underline;
}

.product-anchor-list li a .product-tagline {
    font-size: 0.9rem;
    color: #009688;
}

/* Mobile-specific styles for width 390px and below */
@media (max-width: 390px) {
    .product-anchor-list li {
        flex-direction: column; /* Stack elements vertically */
        align-items: flex-start;
    }

    .product-anchor-list li a.product-anchor {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }

    .product-anchor-list li a .product-marker-image {
        width: 70px;
        height: auto;
        margin-left: 10px;
        aspect-ratio: 70 / 50;  /* Keep the aspect ratio on mobile as well */
    }

    /* Adjust product title and tagline styling */
    .product-anchor-list li a .product-title {
        font-size: 15px;
        line-height: 20px;
        max-width: 80%;
    }

    .product-anchor-list li a .product-tagline {
        font-size: 12px;
        color: #407c11;
        margin-top: 3px;
        line-height: 15px;
    }
}

@media (max-width: 768px) {
    .product-anchor-list li a.product-anchor {
        font-size: 1rem;
    }

    .product-anchor-list li a .product-marker-image {
        width: 70px;  /* Ensure full width on smaller screens */
        height: auto;
        aspect-ratio: 70 / 50;  /* Maintain the aspect ratio */
        margin-left: 10px;
    }
}

.product-anchor-list {
    margin-left: unset;
    padding-bottom: 20px;
}

/*** Product Anchors End ***/

/* DATA FEED STYLE */
.product-template .dfrcs ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action {
	margin-right: 10px;
}

.product-template ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action {
	background-color: #ff9800 !important;
}

.product-preview-list ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action {
	background-color: #009688 !important;
}

.dfrcs h2 {
    display: none;
}
.product-feed .dfrcs ul.dfrcs_compset li:first-of-type .item div.dfrcs_link .dfrcs_action
{
    animation: shake 5s linear infinite;
}

.product-feed .dfrcs ul.dfrcs_compset li {border-radius: 4px !important;}

/***DATAFEED STYLE***/
.dfrcs_logo.dfrcs_missing_logo span {
    color: black;
}

@keyframes pulseShadow {
    	0% {
			box-shadow: 0px 0px 3.6px 0px rgba(0, 150, 136, 0.42);
		}
		50% {
			box-shadow: 0px 0px 12px 3px rgba(0, 150, 136, 0.6);
		}
		100% {
			box-shadow: 0px 0px 3.6px 0px rgba(0, 150, 136, 0.42);
		}

}

.product-feed .dfrcs_compset li:first-child .item, .pr-widget-app li:first-child {
    box-shadow: 0px 0px 3.6px 0px rgba(0, 150, 136, 0.42); /* Adjusted base shadow */
    animation: pulseShadow 2s infinite ease-in-out;
} 

 .product-feed .dfrcs_compset .item {
    box-shadow: 0px 0px 3.6px 0px rgba(0, 150, 136, 0.42); /* Adjusted base shadow */

} 

.item span.amount {
/*     padding-left: 20px; */
	font-size: 14px;
}

ul.dfrcs_compset,.item {
    border-radius: 4px;
}

.dfrcs_logo {
    padding-left: 20px !important;
}


.dfrcs ul.dfrcs_compset, .dfrcs ul.dfrcs_compset li {
    border: none !important;
}

@media only screen and (max-width: 390px) {
    .product-template .dfrcs_link {
        padding: 10px !important;
    }

    span.dfrcs_action {
        padding: 0 1rem !important;
    }
    
    .item span.amount {
    padding-left: 0px;
}

}

ul.dfrcs_compset .item {
    margin-bottom: 10px !important;
}

/***DATAFEED STYLE END***/

.product-review-style .jet-unfold__trigger,.product-review-style .jet-unfold__inner{
    border: none;
}
/** POST CONTENT **/
.elementor-element.elementor-element-f13264a.hide-feed.elementor-widget.elementor-widget-theme-post-content{
    display: none;
}

.dfrcs_price span {
    color: black !important;
}

.offer-price.font-primary,.offer-shipping.font-primary {
    color: black !important;
}

/* .content-before-post .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 100% !important;
} */
/** POST CONTENT END **/

/* Icons Pros and cons */

.ulemper-style .elementor-widget-container ul li::before,
.ulemper-style-mobile .elementor-widget-container ul li::before,
.fordele-style .elementor-widget-container ul li::before,
.fordele-style-mobile .elementor-widget-container ul li::before {
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
    font-family: inherit;
    color: currentColor;
}
.ulemper-style .elementor-widget-container ul li::before,
.ulemper-style-mobile .elementor-widget-container ul li::before {
    content: "✖";
    color: #ff4b33;
}
.fordele-style .elementor-widget-container ul li::before,
.fordele-style-mobile .elementor-widget-container ul li::before {
    content: "✔";
    color: #0C71C3;
}

.specifikationer-style li::marker {
  color: #009688;
}
.product-template .dfrcs ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action:hover {
    background: #FB8C00 !important;
}
.dfrcs ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action {
	border-radius: 10px !important;
	font-size: 1em !important; 
}

@media screen and (max-width: 460px) {
.dfrcs ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action {
	border-radius: 20px !important;
}
}

.btn-primary::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='14' width='15.75' viewBox='0 0 576 512'%3E%3Cpath fill='white' d='M0 24C0 10.7 10.7 0 24 0L69.5 0c22 0 41.5 12.8 50.6 32l411 0c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3l-288.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5L488 336c13.3 0 24 10.7 24 24s-10.7 24-24 24l-288.3 0c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}

/***Article BTN****/
.article-btn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.fas .fa-cogs {
	color: #fff;
}

.frontpage-post .elementor-posts__hover-gradient .elementor-post__card .elementor-post__thumbnail__link:after {
	  background-image: unset;
}
.btn-primary {
	text-transform: uppercase;
    font-weight: 500;
}

.clickout-button a span {
    background-color: #96000e !important;
}
.crp_related.crp-thumbs-grid ul {
    grid-template-columns: unset !important;
}

.product-template .btn-primary {
	background-color: #96000e;
	border-radius: 5px !important;
	animation: shake 5s linear infinite;
	font-weight: bold;
	padding: 10px 23px !important;
}

.compare-btn-animate {
	background-color: #96000e;
	border-radius: 5px !important;
	animation: shake 5s linear infinite;
}

.compare-btn {
	background-color: #96000e;
	border-radius: 5px !important;
}

.crp_related.crp_related_shortcode.crp-thumbs-grid ul {
    margin-top: -80px;
}

.crp_related.crp_related_shortcode.crp-thumbs-grid h4 {
    display: none;
}

.feat-btn .elementor-button-wrapper {
    animation: shake 5s linear infinite;
}


/***Nav Menu***/
.hfe-menu-toggle.sub-arrow.hfe-menu-child-0 i.fa {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23333' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 1em; /* Adjust width if necessary */
    height: 1em; /* Adjust height if necessary */
    font-style: normal;
    color: transparent; /* Hide any existing icon */
    filter: brightness(0) invert(1); /* This makes the SVG white */
}
/***Nav Menu END ***/



/* Mobile Icons Pros and cons END */

.btn-primary {
    color: #fff !important;
    background-color: #FF9800 ;
    border-color: #FF4500;
		box-shadow: 0px 3px #ebebeb;
		text-decoration: none !important;
	  padding: 10px;
    border-radius: 10px;
	  width: fit-content;
    display: block;
		text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.crp_related.crp-grid ul li img {
    max-width: 150px;
    height: 150px;
		background-size: cover !important;
}


.pr-widget-app .product-container {
    display: none !important;
}

.pr-widget-app .base-layout {
    padding: 0px 10px 0px 10px !important;
}

html, body {
max-width: 100% !important;
overflow-x: hidden !important;
}

.elementor-element.elementor-element-cd83212.dropdown-content.e-flex.e-con-boxed.e-con.e-parent.elementor-sticky.elementor-sticky--effects.e-lazyloaded.elementor-sticky--active.elementor-section--handles-inside.active {
    width: -webkit-fill-available !important;
}

a.wpil_keyword_link, a {
    color: inherit;
    text-decoration: underline;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    background: unset;
}
/*PR FEED STYLE*/
.clickout-button a span {
	background-color: #FF4B33 !important
}

/* PR FEED STYLE END */

.dfrcs ul.dfrcs_compset li a .item div.dfrcs_price span.amount, .dfrcs ul.dfrcs_compset li a .item div.dfrcs_logo {
    font-size: 14px !important;
    color: black !important;
}

/* Modern Contact Form 7 Styling */
.newsletter-popup .wpcf7-form {
    max-width: 400px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.newsletter-popup h2.form-header {
    text-align: center;
}

.newsletter-popup .wpcf7-form p {
    margin-bottom: 15px;
}

.newsletter-popup .wpcf7-form label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.newsletter-popup .wpcf7-form input[type="text"],
.newsletter-popup .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.newsletter-popup .wpcf7-form input[type="text"]:focus,
.newsletter-popup .wpcf7-form input[type="email"]:focus {
    border-color: #0073e6;
    background: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,115,230,0.3);
}

.newsletter-popup .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #009688;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter-popup .wpcf7-form input[type="submit"]:hover {
    background: #005bb5;
    transform: translateY(-2px);
}

.newsletter-popup .wpcf7-response-output {
    font-size: 14px;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
}

/* Success & Error Messages */
.newsletter-popup .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #e6ffed;
    color: #0a8a36;
    border: 1px solid #0a8a36;
}

.newsletter-popup .wpcf7-response-output.wpcf7-validation-errors,
.newsletter-popup .wpcf7-response-output.wpcf7-mail-sent-ng {
    background: #ffe6e6;
    color: #cc0000;
    border: 1px solid #cc0000;
}

/*Headers*/
.comparison-headers {
    display: flex;
    background: #f4f9f0;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
    color: #000000;
    border: 1px solid #eaeaea;
}

.comparison-headers span {
  flex: 1;
  text-align: left;
}

.product-feed .dfrcs_inner .dfrcs_row {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.product-feed .dfrcs_inner .dfrcs_row > div {
  flex: 1;
}
span.header-totalpris {
    padding-left: 20px;
}

span.header-til-butik {
    text-align: center;
    padding-right: 15px;
}

span.header-forhandler {
    padding-left: 10px;
}

.dfrcs_last_updated {
	display:none;
}

@keyframes shake
{
	0%, 100%, 89% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
90%, 94%, 98% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
}
92%, 96% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
}
}

/* TOC */

/* Target all products dynamically by class prefix */
.preview-feed-row .dfrcs_compset [class^="dfrcs_product_"] .dfrcs_link,
.product-sidebar-cards .dfrcs_compset [class^="dfrcs_product_"] .dfrcs_link {
    display: block !important;
}

.preview-feed-row .dfrcs_compset [class^="dfrcs_product_"] > a > .item > div,
.product-sidebar-cards .dfrcs_compset [class^="dfrcs_product_"] > a > .item > div {
    display: none;
}

.product-preview-list .dfrcs .dfrcs_compset_actions,
.product-sidebar-cards .dfrcs .dfrcs_compset_actions {
    display: none;
}

.product-sidebar-cards .item {
	height: auto !important;
}

.product-sidebar-cards .dfrcs ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action {
	font-size: .7em !important;
	width: -webkit-fill-available;
}


.preview-feed-row .dfrcs ul.dfrcs_compset li a .item div.dfrcs_link .dfrcs_action {
    font-size: .7em !important;
	  width: -webkit-fill-available;
}

.product-preview-list .dfrcs ul.dfrcs_compset li a .item {
	height: auto !important;
}

.preview-feed-row h3.preview-title-row {
		font-size: 1.1em !important;
}

.preview-feed-row a.preview-custom-button {
    font-size: 12px !important;
    font-family: Roboto !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 10px 32px !important;
    letter-spacing: 0.05em !important;
		border-radius: 10px !important;
}

.product-sidebar-cards a.product-card-button {
    font-family: Roboto !important;
    text-transform: uppercase !important;
    width: -webkit-fill-available;
    border-radius: 10px !important;
    font-size: .6em !important;
}


.pros-cons-icon img {
    filter: brightness(0) invert(1);
}

.star-rating {
  display: inline-block;
  font-size: 1.2rem;
  direction: ltr;
  user-select: none;
	text-align:center;
}

p.rating-label {
	margin: unset;
}

.star-rating .star {
  color: #ddd;
	font-size: 30px;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
  margin: 0 2px;
}

.star-rating .star:hover,
.star-rating .star.hovered,
.star-rating .star.active {
  color: #009688; /* gold yellow */
  transform: scale(1.2);
}

.star-rating .rating-result {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #333;
}

.star-rating .thank-you-message {
  margin-top: 4px;
  font-size: 0.95rem;
  color: green;
  font-weight: bold;
}
/***** PRODUCT TEMPLATE *****/

    .preview-feed-button.no-offer,
            .cheapest-button.no-offer {
                background-color: #ccc;
                color: #666;
                cursor: not-allowed;
                pointer-events: none;
                text-decoration: none;
            }

        .cheapest-offer a {
            color: #fff;
            font-family: roboto;
            background-color: #009688;
            text-align: center;
            letter-spacing: 0.05em;
            border-radius: 10px;
            padding: 0.7rem 2rem;
            text-transform: uppercase;
            width: 70%;
            display: flex;
            font-size: 0.8em;
            margin-top: 20px;
            font-weight: 700;
            justify-self: center;
            justify-content: center;
        }
        
        .cheapest-offer {
            display: flex;
            justify-content: center;
        }

     .newsletter-cta {
            margin-top: 15px !important;
            font-style: normal !important;
            font-weight: 500 !important;
        }
        
        .newsletter-popup-trigger {
            color: #009688;
            text-decoration: underline !important;
            cursor: pointer;
        }
        
        .newsletter-popup-trigger:hover {
            color: #00695c;
        }
        
        .newsletter-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            z-index: 10000;
            max-width: 500px;
            width: 90%;
        }
        
        .newsletter-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.7);
            z-index: 9999;
        }
        
        .newsletter-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            color: #999;
        }
        
        .newsletter-close:hover {
            color: #333;
        }
        .product-feed-notice {
            background: #fff3e0;
            border: 1px solid #ff9800;
            border-radius: 8px;
            padding: 20px;
            margin: 20px 0;
            position: relative;
        }
        
        .product-feed-notice::before {
            content: 'ℹ️';
            position: absolute;
            left: 15px;
            top: 15px;
            font-size: 20px;
        }
        
        .product-feed-notice p {
            margin: 0;
            padding-left: 30px;
            color: #5d4037;
            font-style: italic;
            line-height: 1.6;
        }
    
        .feed-brand {
            font-weight: bold;
        }
        
        /* Brand Image */
        .feed-brand-image {
            width: 20%;
        }
        
        .feed-brand-image img {
            max-width: 100%;
            height: auto;
        }
        
        .regular-price {
            font-size: 14px;
            color: #000;
            font-weight: normal;
        }
    
        .original-price {
            font-size: 14px;
            color: #999;
            text-decoration: line-through;
            font-weight: normal;
        }
        
        .discounted-price {
            font-size: 16px;
            color: #000;
            font-weight: bold;
        }
        
        
        .product-title-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        

        
        .product-template {
            margin-bottom: 20px;
            margin-top: 20px;
        }
        
        .product-title {
            color: #2c2c2c;
            margin: 5px !important;
        }
        
        .product-tagline {
            margin-top: 0;
            font-style: italic;
            color: #666;
        }
        
        .product-voucher {
            background-color: #f0f0f0;
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
        }
        
        .product-image-feed {
            display: flex;
            gap: 20px;
            margin: 20px 0;
            justify-content: center;
        }
        
        .product-image {
            flex: 0 0 30%;
            text-align: center;
            align-content: center;
        }
        
        .product-feed {
            flex: 1;
            height: fit-content;
            align-self: center;
            border-radius: 4px;
        }
        
        .custom-feed {
            display: flex;
            justify-content: space-between;
            background: white;
            padding: 10px;
            margin-top: 20px;
            margin-bottom: 10px;
            padding-right: 40px;
            border-radius: 4px;
            align-items: center;
            box-shadow: 0px 0px 3.6px 0px rgba(0, 150, 136, 0.42);
            animation: pulseShadow 2s infinite ease-in-out;
        }
        
        @keyframes pulseShadow {
            0% { box-shadow: 0px 0px 3.6px 0px rgba(0, 150, 136, 0.42); }
            50% { box-shadow: 0px 0px 8px 0px rgba(0, 150, 136, 0.42); }
            100% { box-shadow: 0px 0px 3.6px 0px rgba(0, 150, 136, 0.42); }
        }
        
        .feed-link {
            display: inline-flex;
            font-family: Roboto;
            align-items: center;
            background-color: #FF9800;
            color: white;
            padding: 5px 32px;
            border-radius: 10px;
            line-height: 2em;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s;
            animation: shake 5s linear infinite;
        }
        
        .feed-link:hover {
            background-color: #FB8C00;
        }
        
        .feed-price{
            font-size: 14px;
            font-family: Roboto;
        }
        
        .feed-price, .discounted-price {
            font-size: 14px;
            font-family: Roboto;
            font-weight: bold;
        }
        
        .cart-icon {
            margin-right: 8px;
            vertical-align: middle;
        }
        
        .pros-cons-container {
            display: flex;
            gap: 20px;
            margin-top: 16px;
            margin-bottom: 0;
        }
        
        .pros-cons-box.advantages-box {
            border: 1px solid #009688;
        }
        
        .pros-cons-box.disadvantages-box {
            border: 1px solid #e0a7a1;
        }
        
        .pros-cons-box.advantages-box .pros-cons-header {
            background: #009688;
        }
        
        .pros-cons-box.disadvantages-box .pros-cons-header {
            background: #e0a7a1;
        }
        
        .pros-cons-box {
            flex: 1;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .pros-cons-header {
            padding: 10px 15px;
            color: white;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            font-size: 22px;
            box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.29);
            transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
        }
        
        .pros-cons-icon img {
            filter: brightness(0) invert(1);
        }
        
        .pros-cons-content {
            padding: 15px;
            padding-left: 20px;
        }
        
        .advantages-list li {
            list-style-type: none;
            position: relative;
            padding-left: 25px;
            margin-bottom: 8px;
        }
        
        .advantages-list li:before {
            content: "✔︎";
            color: #009688;
            position: absolute;
            left: 0;
            font-size: 20px;
            font-weight: bold;
            font-family: inherit;
        }
        
        .disadvantages-list li {
            list-style-type: none;
            position: relative;
            padding-left: 25px;
            margin-bottom: 8px;
        }
        
        ul.advantages-list, ul.disadvantages-list, ul.specs-list, .anbefaler-list ul.repeater_css {
            padding-left: 0px !important;
            margin-top: 0px !important;
        }
        
        .disadvantages-list li:before {
            content: "✖︎";
            color: #e0a7a1;
            position: absolute;
            left: 0;
            font-size: 20px;
            font-weight: bold;
            font-family: inherit;
        }
        
        .product-description {
            margin: 20px 0;
        }
        
        .price-wrapper {
                display: flex;
                gap: 10px;
            }
            

        @media (max-width: 768px) {
            .product-image-feed {
                flex-direction: column;
            }
            
            .pros-cons-container {
                flex-direction: column;
            }
            
            .custom-feed {
                gap: 15px;
                align-items: center;
                padding-right: 10px;
            }
            
            .product-feed-notice {
                padding: 15px;
            }
            
            .product-feed-notice p {
                padding-left: 25px;
            }
            .feed-link {
                width: -webkit-fill-available;
                justify-content: center;
                align-self: center;
                font-size: 14px;
                border-radius: 20px;
                padding: 5px 20px;
            }
            .feed-price-container {
                width: -webkit-fill-available;
            }
            .price-wrapper {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
            }
            .product-feed {
                width: 100%;
            }
            .feed-brand-image {
                width: 120% !important;
            }
        }
    
/***** PREVIEW LIST *****/

    .product-preview-list { margin: 10px 0; }
    .preview-list-row { display: flex; flex-direction: column; gap: 15px; }
    .preview-item-row { display: flex; align-items: flex-start; background: white; border: 1px solid #e0e0e0; border-radius: 8px; padding: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .preview-item-row:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    .preview-image-row { flex: 0 0 80px; margin-right: 15px; }
    .preview-image-row img { width: 80px; height: 80px; object-fit: contain; border-radius: 4px; }
    .preview-content-wrap { flex: 1; display: flex; flex-direction: column; gap: 10px;}
    .preview-title-row-container { flex: 1; }
    .preview-title-row { margin: 0 0 5px 0; font-size: 16px !important; line-height: 1.4; font-weight: 600; max-width: 85%;}
    .preview-review-link a { font-size: 14px; color: #009688; text-decoration: none; }
    .preview-review-link a:hover { text-decoration: underline; }
    .preview-feed-row {position: absolute; top: 40%; flex: 0 0 auto; place-self: end; display:flex; gap: 10px; align-items: center;}
    .preview-feed-button { display: inline-flex; gap: 5px; align-items: center; background: #009688; color: white; padding: 10px 20px; border-radius: 10px; text-decoration: none; font-size: 14px; transition: background 0.3s ease; white-space: nowrap; font-family: roboto;}
    .preview-feed-button:hover { background: #00756a; color: white; }
    .preview-feed-button.no-link,.preview-feed-button.sold-out { background: #ccc; cursor: not-allowed; }
    .preview-toggle-container { text-align: center; margin-top: 20px; }
    .preview-toggle-button { background: #009688; color: white; text-transform: uppercase; border: none; padding: 12px 24px; border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.3s ease; }
    .preview-toggle-button:hover { background: #00766c; }
    .preview-remaining-products { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
    .preview-remaining-products.active { max-height: 2000px; padding-top: 15px; }
    @media (max-width: 768px) {
        .preview-item-row { flex-direction: row; text-align: center; align-items: center; gap: 5px; }
        .preview-image-row { margin-right: 0; margin-bottom: 10px; }
        .preview-content-wrap { flex-direction: column; gap: 10px; text-align: left; align-items: flex-start; }
        .preview-title-row { text-align: start; }
        .preview-title-row-container { order: 1; }
        .preview-feed-row { order: 2; position: unset;}
        .preview-review-link { order: 3; text-align: start; }
        .preview-feed-row a.preview-feed-button { font-size: 14px !important; border-radius: 5px !important; padding: 10px 15px !important; }
        h3.preview-title-row { font-size: 18px !important; }
    }
    
/***** SIDEBAR PRODUCTS ******/

.product-sidebar-cards { display: flex; flex-direction: column; gap: 12px; }
    .product-card { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 12px; text-align: center; transition: box-shadow 0.3s ease; position:relative; }
    .product-card:hover { box-shadow: 0 3px 8px rgba(0,0,0,0.08); }
    .product-card-image { margin-bottom: 8px; }
    .product-card-image img { max-width: 100%; height: 65px !important; object-fit: contain; border-radius: 4px; }
    .product-card-title { font-size: 14px; font-weight: 600; margin: 0 0 8px; line-height: 1.3; text-align:left;}
    .product-card-button {display: flex; gap: 5px; padding: 10px; align-items: center; justify-content: center; background: #009688; color: #fff;  border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 13px; transition: background 0.3s ease; }
    .product-card-button:hover { background: #00756a; }
    .product-card-button.no-link { background: #ccc; cursor: not-allowed; }
    .hidden-dfrc-feed { pointer-events:none; user-select:none; }
    .product-sidebar-cards .product-image-link {width: 40%;}
    
    
/***** EXPIRED PRODUCTS *****/
 /* ===========================
   Expired Products Section
   =========================== */
.expired-products-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.expired-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.expired-icon {
    width: 30px;
    height: 30px;
}

.expired-title {
    margin: 0;
    color: #d32f2f;
    font-size: 24px;
    font-weight: 700;
}

.expired-subtext {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

/* ===========================
   Expired Product Items
   =========================== */
.expired-product-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.expired-product-item:last-child {
    margin-bottom: 0;
}

/* Button header */
.expired-product-question {
    background: #fff;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-left: 4px solid #009688;
    border: none;       /* remove default button border */
    width: 100%;        /* full width */
    text-align: left;   /* left align text */
}

/* Hover effect */
.expired-product-question:hover {
    background: #fff;
}

/* Product name */
.expired-product-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #5d4037;
    flex: 1;
}

/* Toggle icon */
.expired-toggle-icon {
    font-size: 20px;
    font-weight: bold;
    color: #009688;
    transition: transform 0.3s ease;
}

/* Rotate icon when active */
.expired-product-item.active .expired-toggle-icon {
    transform: rotate(45deg);
}

/* Hidden details */
.expired-product-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

/* Show details when active */
.expired-product-item.active .expired-product-details {
    max-height: 1000px; /* high value ensures content is visible */
}

/* Inner content */
.expired-product-content {
    padding: 20px;
    border-top: 1px solid #eee;
}

.expired-product-content p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .expired-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .expired-title {
        font-size: 20px;
    }

    .expired-subtext {
        font-size: 14px;
        text-align: center;
    }

    .expired-product-question {
        padding: 15px;
    }

    .expired-product-name {
        font-size: 18px !important;
    }

    .expired-product-content {
        padding: 15px;
    }
}

    
/***** AUTHOR CSS *****/

.author-archive {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.author-archive h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.author-accordion {
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: 1px solid #ddd;
    outline: none;
    transition: background-color 0.3s ease;
    font-size: 18px;
    font-weight: bold;
}

.author-accordion:hover {
    background-color: #f1f1f1;
}

.author-panel {
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.author-panel a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    border-bottom: 1px solid #eee;
}

.author-panel a:last-child {
    border-bottom: none;
}

.author-panel a:hover {
    background-color: #f9f9f9;
}
/***** CUSTOM LOOP ITEM ******/

.custom-loop-item, .single-loop-item, .loop-grid-featured-link, .custom-review-loop {
    height: 100% !important;
}

.loop-item-style h3, .custom-review-loop-title h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.6em;
    line-height: 1.3em;
}

.header-nav .wp-caption {
     border: none !important;
    text-align: unset!important;
    background-color: unset!important;
    margin-bottom: 0px!important;
    max-width: unset!important;
    padding: 0px!important;
}

.dropdown-content {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.dropdown-content.active {
    display: block;
}
.search-box-menu input {
    background-color: #F4FAF0;
    width: 100%;
    margin: auto;
}

.search-box-menu .e-search-submit {
    margin: auto;
}

.search-box-menu form.e-search-form {
    margin: auto;
}


.footer-text a {
  text-decoration: none;
  color: #fff;
}



.anbefaler-image-con {
    background-color: white;
}

.anbefaler-image-con  {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.anbefaler-list {
    color: white;
}

.anbefaler-list ul.repeater_css {
    list-style: none;
    margin-left: unset;
    padding-left: 0px;
}
.anbefaler-list ul.repeater_css li:before {
    content: "✔︎"; /* ✔ + FE0E forces text presentation */
    color: #fff;
    margin-right: 10px;
    width: 10px;
    vertical-align: top;
    display: table-cell;
    text-align: right;
    padding-right: .3em;
}


.anbefaler-list ul.repeater_css li {
    color: white;
    list-style: none;
    counter-increment: foo;
    display: table-row;
}

.feat-btn .elementor-button .elementor-button-text {
    font-weight: inherit !important;
    font-family: Roboto;
}

.feat-btn a {
    text-decoration: none;
}

.single .post {
    padding-bottom: 0px !important;
}

.hero-date-text span {
    font-size: 16px !important;
    }

.hero-text-annonce span {
    font-size: 16px !important;
    text-align: center !important;
}

.intro-content-text  ul, .article-content-text ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 15px;
}

.intro-content-text ::marker, .article-content-text ::marker {
    color: #009688;
}

.intro-content-text .dynamic-content-for-elementor-acf, .article-content-text {
    width: 100%;
}

.intro-content-text a, .article-content-text a {
    color: #009688;
    text-decoration: underline;
}

.author-box-footer .elementor-author-box__button {
    margin-left: auto;
    display: inline-block;
    text-align: right;
}
.author-box-footer  .elementor-author-box__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-box-footer-mobile .elementor-author-box__avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensures it takes up full width to allow centering */
    margin-bottom: 15px; /* Optional spacing below the image */
}

.author-box-footer-mobile .elementor-author-box__avatar img {
    display: block;
    margin: 0 auto;
}

.author-box-footer-mobile .elementor-author-box__button {
    margin-left: auto;
    display: inline-block;
    text-align: right;
}
.author-box-footer-mobile .elementor-author-box__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mere-inspiration-h5 h5{
	text-align: center;
        font-size: 20px;
        border-radius: 4px !important;
}
.mere-inspiration-h5 .crp_related.crp-thumbs-grid ul li {
    border: 0px solid #009688;
	  width: 100%;
}

.mere-inspiration-h5 .crp_related.crp-thumbs-grid li {
    box-shadow: 0 1px 2px rgb(0 0 0 / 0%);
    border-radius: 0px;
}

.mere-inspiration-h5 .crp_related.crp-thumbs-grid .crp_title {
    padding: 5px;
    font-size: 1em;
    text-shadow: .1em .1em .2em #0000;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
		border-top-left-radius: 0px;
		border-top-right-radius: 0px;
}

.mere-inspiration-h5 .crp_related.crp-thumbs-grid li:hover {
    background: #fff;
}

.mere-inspiration-h5 .crp_related.crp-thumbs-grid li:hover .crp_title {
    background-color: #333;
}

.mere-inspiration-h5 .crp_related.crp-thumbs-grid ul li a.crp_link {
    border-radius: 4px !important;
}

.mere-inspiration-h5 .crp_related.crp-thumbs-grid ul li img {
    border-radius: 4px;
}
.mere-inspiration-h5 img.crp_featured.crp_thumb.medium {
    width: 100%;
}
.mere-inspiration-h5 h5 {
    background-color: #009688;
    padding: 10px;
		margin: auto;
    color: white;
    border-radius: 10px 10px 10px 10px;
}

.comparison-table-btn a {
 color: white !important;
 text-decoration: none !important;
}


/* custom.css */
.author-accordion {
    margin: 20px 0;
    border-radius: 10px;
}

.author-accordion details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.author-accordion summary {
    padding: 15px;
    cursor: pointer;
    background: #f7f7f7;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-accordion summary::-webkit-details-marker {
    display: none;
}

.author-accordion summary::after {
    content: "►";
    color: var(--e-global-color-primary);
    transition: transform 0.2s ease;
}

.author-accordion details[open] summary::after {
    transform: rotate(90deg);
}

.author-accordion details[open] summary {
    background: #e9e9e9;
}

.month-posts {
    padding: 15px;
    background: white;
}

.post-item {
    margin: 5px 0;
    padding: 8px 15px;
    border-left: 3px solid var(--e-global-color-primary);
}

.post-item a {
    text-decoration: none;
    color: var(--e-global-color-primary);
}
    .expired-products-section { margin: 40px 0; padding: 20px; background: #f8f9fa; border-radius: 8px; border: 1px solid #e0e0e0; }
    .expired-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px;}
    .expired-icon { width: 30px; height: 30px; }
    .expired-title { margin: 0; color: #d32f2f; font-size: 24px; font-weight: 700; }
    .expired-subtext { color: #666; font-size: 16px; line-height: 1.6; margin-bottom: 25px; font-style: italic; }
    .expired-product-item { border: 1px solid #ddd; margin-bottom: 10px; border-radius: 6px; overflow: hidden; background: white; }
    .expired-product-item:last-child { margin-bottom: 0; }
    .expired-product-question { background: #fff; padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease; border-left: 4px solid #009688; }
    .expired-product-question:hover { background: #fff; }
    .expired-product-name { margin: 0; font-size: 18px; font-weight: 600; color: #5d4037; flex: 1; }
    .expired-toggle-icon { font-size: 20px; font-weight: bold; color: #009688; transition: transform 0.3s ease; }
    .expired-product-item.active .expired-toggle-icon { transform: rotate(45deg); }
    .expired-product-details { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: white; }
    .expired-product-item.active .expired-product-details { max-height: 1000px; }
    .expired-product-content { padding: 20px; border-top: 1px solid #eee; }
    .expired-product-content p:last-child { margin-bottom: 0; }
    @media (max-width: 768px) {
        .expired-header { flex-direction: column; text-align: center; gap: 10px; }
        .expired-title { font-size: 20px; }
        .expired-subtext { font-size: 14px; text-align: center;}
        .expired-product-question { padding: 15px; }
        .expired-product-name { font-size: 18px !important; }
        .expired-product-content { padding: 15px; }
    }
    
    .companies-grid {
        display: grid;
        gap: 20px;
        margin: 30px 0;
    }
    
    .company-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .company-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }
    
    .company-card-header {
        text-align: center;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .company-card-logo {
        margin-bottom: 10px;
    }
    
    .company-card-logo img {
            max-width: 50%;
            height: 130px;
            border-radius: 4px;
            object-fit: contain;
    }
    
    .company-card-title {
        margin: 0;
        color: #2c3e50;
        font-size: 20px;
        font-weight: 600;
    }
    
    .company-card-content {
        margin-bottom: 20px;
        line-height: 1.5;
        color: #333;
        font-size: 14px;
    }
    
    .company-card-content p:last-child {
        margin-bottom: 0;
    }
    
    .company-card-button {
        text-align: center;
    }
    
    .company-button {
        display: flex;
        gap: 5px;
        width: fit-content;
        justify-self: center;
        background: #ff9800;
        color: white;
        padding: 10px 20px;
        border-radius: 4px;
        font-weight: bold;
        transition: background 0.3s 
    ease;
        font-size: 14px;
        flex-direction: row;
        align-items: center;
        text-decoration: none;
    }
    
    .company-button:hover {
        background: #df8500;
        color: white;
    }
    
    @media (max-width: 768px) {
        .companies-grid {
            grid-template-columns: 1 fr;
            gap: 15px;
        }
        
        .company-card {
            padding: 15px;
        }
    }
    
    
/* ===== Featured Product Box ===== */
/* NOTE: .comparison-featured-wrap below (a separate page-type wrapper) has
   its own overrides targeting the OLD .featured-main/.featured-buy-wrap
   markup — that markup no longer exists after this redesign, so those
   overrides are now inert there; that page falls back to the styles below
   like everywhere else. Not touched further since it's a separate template
   this redesign wasn't scoped to. */
.featured-product-box {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 15px 24px 10px;
    box-shadow: 0px 1px 20px 10px rgba(0, 0, 0, 0.13);
}
button.expert-guide-header span {
    color: #3F3F3F !important;
}

.category-archive-title-text a {
    color: #111;
    font-size: 18px !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-product-box .wpil_keyword_link {
	color: white !important;
}

/* 09-29: was position:absolute with negative top/left, deliberately
   popping the ribbon HALF above the box's own top edge (into the hero
   image area above the card) — now sits fully INSIDE the card instead,
   flush with the padding edge, no longer overflowing past the card's
   boundary. [featured_product_box] (shortcode-featured-product-box.php)
   no longer uses this wrapper at all — it switched to a standalone
   .featured-badge (see tt-hero.css) — this rule now only matters
   for [featured_company_box], which still wraps its own ribbon in
   .featured-badges-row unchanged. */
.featured-badges-row {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 0 15px;
}

/* Clips .featured-badge's top-left corner to follow the card's own
   border-radius (the badge sits at top:0;left:0, position:absolute,
   overlapping that exact corner) rather than showing a sharp square corner
   poking past the card's rounding. 09-30: [featured_company_box] switched
   from its own old ribbon design to the same .featured-badge as
   [featured_product_box] (per direct request — "same design"), so it needs
   this too now; was scoped to [data-featured="1"] only when the company
   box still used a different (non-overlapping-corner) ribbon shape. */
.featured-product-box[data-featured="1"],
.featured-product-box[data-featured-company="1"] {
    overflow: hidden;
}

/* [featured_company_box] only — its .featured-price-panel has just one
   child (the buy button, no trust-line/savings-row/trust-row/voucher that
   [featured_product_box]'s version has), so unlike that version it's fine
   to stretch the whole price column to match the row's height and center
   the button within it — no honesty-gated content to avoid leaving an
   empty gap around (that's specifically why .featured-grid's shared
   align-items:start exists, and why [featured_product_box] doesn't get
   this same treatment). Per direct request, so the button no longer sits
   pinned to the top with dead space below it whenever the USPs column
   next to it is taller. */
.featured-product-box[data-featured-company="1"] .featured-area-price {
    align-self: stretch;
}
.featured-product-box[data-featured-company="1"] .featured-price-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}
/* 09-30 follow-up: centering above had no visible effect on this specific
   page (/tv-pakker-test/) — traced to a completely unrelated rule,
   `.comparison-featured-wrap .featured-buy-button { align-self: flex-end }`
   further down this file, for a different "comparison" page-template
   component that happens to ALSO wrap this shortcode's output on THIS
   particular page type. A child's own align-self always wins over its
   parent's align-items for that child specifically, regardless of which
   rule is more specific or comes later — so the panel's own
   align-items:center above was correctly applied but silently had no
   effect on the button. Explicit override, scoped tightly enough
   (3-part selector) to beat that 2-class rule regardless of source order. */
.featured-product-box[data-featured-company="1"] .featured-buy-button {
    align-self: center;
}

/* [featured_company_box] RICH layout — opt-in per post (post meta
   tt_featured_rich, see shortcode-featured-company-box.php). Mirrors
   [featured_product_box]'s price panel: Trustpilot line, headline price,
   offer pill, full-width buy button, key-facts row; plus tagline and a
   full-width offer strip under the grid. Scoped to [data-featured-rich] so
   every other comparison post keeps its current look. Overrides the
   .comparison-featured-wrap button/title rules (0,2,0) with a 0,3,0 scope. */
.featured-product-box[data-featured-rich="1"] .featured-product-title a {
    color: #000 !important; /* beats .comparison-page .comparison-content a !important */
}
.featured-product-box[data-featured-rich="1"] .featured-product-tagline {
    margin: 4px 0 6px;
    font-size: 15px;
    font-style: italic;
    color: #6b7280;
}
.featured-product-box[data-featured-rich="1"] .featured-area-price {
    align-self: start;
}
.featured-product-box[data-featured-rich="1"] .featured-price-panel {
    display: block;
    height: auto;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-price {
    margin: 0;
    line-height: 1.1;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-from,
.featured-product-box[data-featured-rich="1"] .tt-fc-per {
    font-size: 13px;
    color: #6b7280;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-amount {
    margin: 0 4px;
    font-size: 30px;
    font-weight: 700;
    color: #0f6b63;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-per--block {
    display: block;
    margin-top: 4px;
    letter-spacing: 0.04em;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-note {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7280;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-pill {
    display: inline-block;
    margin: 10px 0 0;
    padding: 4px 12px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}
.featured-product-box[data-featured-rich="1"] .featured-buy-button {
    display: flex;
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 8px;
    align-self: auto;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-facts {
    display: flex;
    margin-top: 14px;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-fact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 6px;
    font-size: 11px;
    color: #6b7280;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-fact + .tt-fc-fact {
    border-left: 1px solid #c9e0dc;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-fact b {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-offer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 4px;
    padding: 9px 14px;
    background: #fff3e0;
    border: 1px solid #f2d6a8;
    border-radius: 10px;
    font-size: 14px;
    color: #6b4a14;
}
.featured-product-box[data-featured-rich="1"] .tt-fc-offer svg {
    flex-shrink: 0;
    color: #e8761a;
}

.featured-editorial-pill {
    display: inline-flex;
    align-items: center;
    background: #fdf6e3;
    color: #6b6153;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    /* Square on the left where it touches the ribbon, rounded on the right —
       together they read as one pill-shaped badge, not two separate ones. */
    border-radius: 0 999px 999px 0;
}

/* ===== Grid: image | title+usps (one area, stacked via normal flow — see
   .featured-area-info) | price panel, trust row below =====
   Title and USPs used to be two separate grid rows ("info-head"/"usps"),
   which meant their spacing was at the mercy of CSS Grid's row-track
   distribution: since .featured-area-image and .featured-area-price both
   span those same two rows, whichever of them was taller forced extra
   height into row 1, row 2, or (split) both — showing up as an awkward gap
   above and/or below the USPs list no matter how the tracks were capped.
   Merging title+USPs into one grid area (.featured-area-info) sidesteps the
   problem entirely: their spacing is now a plain margin in normal document
   flow, decoupled from the image/price column's height. */
.featured-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(240px, 320px);
    grid-template-areas:
        "image info price"
        "trust trust trust";
    /* .featured-badges-row is absolutely positioned (see its own comment)
       and so no longer reserves any space in flow — this margin is what
       keeps the content clear of it. Now that .featured-badge (the new
       09-29 badge design) is shorter than the old ribbon was, 25px is
       enough clearance again. */
    margin-top: 25px;
    column-gap: 32px;
    row-gap: 8px;
    /* `start` (not `center`) so .featured-area-price — shorter than its
       neighbors when the "Laveste pris..." trust line is absent, see
       .featured-trust-line's honesty-gated rendering in shortcode-
       featured-product-box.php — never gets an empty gap centered ABOVE
       its content. .featured-area-image/.featured-area-info override this
       with their own align-self:center below, since unlike price they
       have no reason to avoid centering. */
    align-items: start;
}

.featured-area-image     { grid-area: image; align-self: center; }
.featured-area-info      { grid-area: info; align-self: center; }
.featured-area-usps      { padding-left: 15px; margin-top: 8px; }
.featured-area-price     { grid-area: price; }
.featured-area-trust     { grid-area: trust; padding-top: 20px; border-top: 1px solid #eee; }

/* Product Image — a fixed box (not height:auto driven by each photo's own
   aspect ratio) so every card's image column is the same height regardless
   of the source photo's shape; object-fit:cover crops instead of stretching.
   Without this, a tall/portrait product photo forces extra height into the
   info/usps column next to it (see .featured-grid's row sizing), leaving an
   inconsistent gap that varies per product. */
.featured-product-box .featured-product-image {
    width: 220px;
    max-width: 220px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

p.featured-product-tagline {
    margin: 4px 0 0;
    font-style: italic;
    font-size: 16px;
}

/* Product Title */
.featured-product-box .featured-product-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.featured-product-box .featured-product-title a {
    color: #000;
    text-decoration: none;
}

.featured-product-box .featured-product-title a:hover {
    text-decoration: underline;
}

/* Advantages / Specifications (USPs) */
.featured-advantages {
    list-style: disc;
}

.featured-advantages li {
    margin-bottom: 4px;
}

/* ===== Price panel ===== */
.featured-price-panel {
    background: #eaf6f4;
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
}

/* [featured_product_box] only (data-featured="1") — mirrors .tt-compare-hero's
   design (product_template's per-product price panel, see
   product-compare-redesign.css): savings row, button-with-price, favicon +
   merchant row, trust line. [featured_company_box] (data-featured-company="1")
   has no price/merchant markup at all, so it's untouched by any of this. */
.featured-product-box[data-featured="1"] .featured-price-panel {
    display: flex;
    flex-direction: column;
}

.featured-product-box[data-featured="1"] .featured-savings-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 10px;
}

.featured-product-box[data-featured="1"] .featured-price-orig {
    margin: 0;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.featured-product-box[data-featured="1"] .featured-savings-badge {
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.featured-product-box[data-featured="1"] .featured-buy-button {
    font-size: 1rem;
    padding: 14px 16px;
    /* 09-25: briefly unified with the orange used elsewhere on the
       redesigned card, reverted back to the theme's own base teal
       (#009688, set on the bare .featured-buy-button rule above) the same
       day per direct request — no color override needed here any more. */
}

.featured-product-box[data-featured="1"] .featured-buy-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* 10-29: button text always on ONE line — featured-btn-fit.js shrinks the
   font-size until "Köp för endast 2 347,00 kr" fits the button's width
   (min 11px). Without JS the text is clipped with an ellipsis instead of
   wrapping. */
.featured-product-box[data-featured="1"] .featured-btn-text {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 09-29: "Hos {merchant}" row removed — merchant is now the 3rd icon-top
   item in .price-trust-row instead (see shortcode-featured-product-box.php
   and the shared, unscoped .price-trust-item rules in product-compare-
   redesign.css), matching the same icon-top/text-below pattern as the
   shipping and delivery/secure items next to it. .featured-merchant-name is
   kept as the exact class name on the merchant's own <a> specifically so
   product-voucher.js's injectVouchers() (which reads this class's .text()/
   .attr('href') to find + link this offer's voucher) keeps working
   unmodified — it doesn't care where in the DOM the class lives, only that
   its text is the bare merchant name and its href is the affiliate link,
   both still true here.
   09-29 follow-up: the real per-merchant favicon was swapped for a generic
   storefront glyph ($svg_store in the PHP) — same flat single-color icon
   language as the truck/clock/lock icons beside it, already covered by
   the shared, unscoped .price-trust-item svg rule (product-compare-
   redesign.css) that colors every trust-row icon — no dedicated CSS
   needed here for the icon itself any more. */

.featured-product-box[data-featured="1"] .price-trust-item--merchant .featured-merchant-name {
    font-size: 12px;
    font-weight: 400;
    color: #4b5563;
}

.featured-product-box[data-featured="1"] .price-trust-item--merchant .featured-merchant-name:hover {
    text-decoration: underline;
}

.featured-product-box[data-featured="1"] .featured-trust-line {
    margin-top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 10px;
}

.featured-product-box[data-featured="1"] .featured-trust-line::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%2316a34a' d='M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
}

/* Non-cheapest offers: the line stays reserved (see shortcode-featured-
   product-box.php, which always renders it now) but goes invisible —
   matching .tt-compare-hero .tt-hero-trust-line--reserved's exact
   treatment, so both components behave identically. */
.featured-product-box[data-featured="1"] .featured-trust-line--reserved {
    visibility: hidden;
}

/* No genuine discount on this offer: the row stays in the DOM (reserving
   its own height, same margin as always) but goes invisible — matching
   .featured-trust-line--reserved above and .ttpc-col-price's equivalent
   treatment on the product card (product-compare-redesign.css), so the
   panel's overall height never shrinks just because this particular
   offer has nothing to discount. */
.featured-product-box[data-featured="1"] .featured-savings-row--reserved {
    visibility: hidden;
}

/* Buy Button (full width inside the price panel) */
.featured-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: #009688;
    color: #fff !important;
    font-weight: 700;
    padding: 16px 18px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background 0.25s ease;
}

.featured-buy-button:hover {
    background-color: #00786d;
}

.featured-buy-button svg {
    vertical-align: middle;
    fill: #fff;
}

.featured-merchant-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 107, 99, 0.15);
}

.featured-merchant-row svg {
    flex-shrink: 0;
    color: #374151;
}

.featured-merchant-name {
    font-size: 17px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
}

.featured-merchant-name:hover {
    text-decoration: underline;
}

/* ===== Trust badges =====
   Now 0-2 items (only delivery time + shipping, whichever the merchant's
   feed actually has — no data source exists for a generic "returns" or
   "secure payment" claim, so those aren't shown at all rather than shown
   as an unbacked guess). space-between stretched a lone item all the way
   to the row's far edge; center + fixed gap reads fine at any count. */
.featured-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.featured-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 90px;
    text-align: center;
    color: #4b5563;
    font-size: .8rem;
}

.featured-trust-badge svg {
    color: #009688;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .featured-product-box {
        padding: 20px 16px 16px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "info-head"
            "price"
            "trust"
            "usps";
        row-gap: 16px;
    }

    /* Dissolves the desktop-only wrapper so its two children go back to
       being independent grid items — mobile needs "info-head" and "usps"
       in different named-area slots (see above), not adjacent. */
    .featured-area-info {
        display: contents;
    }

    .featured-area-image {
        justify-self: center;
    }

    .featured-area-info-head {
        grid-area: info-head;
        text-align: center;
    }

    .featured-area-usps {
        grid-area: usps;
        margin-top: 0;
    }

    .featured-product-box .featured-product-image {
        max-width: 180px;
        width: 180px;
        height: auto;
    }

    .featured-area-trust {
        margin-top: 0;
    }

    .featured-trust-badges {
        justify-content: center;
        gap: 24px;
    }

    /* Text sizes trimmed ~15% across the box — desktop sizing feels
       oversized once everything stacks into one narrow column. */
    .featured-product-box .featured-product-title {
        font-size: 1.6rem;
    }

    p.featured-product-tagline {
        font-size: 14px;
    }

    .featured-buy-button {
        font-size: 0.95rem;
    }
}

/* STAGING-ONLY layout experiment (2026-09-15) — compact 2-column mobile
   card, image+title/tagline sharing a top row, price info inline with no
   label, USPs list included below. For comparing against live's current
   mobile design (title moved above a full-width image) — the two are
   deliberately different right now. Do not carry this block over in a
   future "sync staging to live" push until one design is chosen; live
   has its own separate mobile overrides for this same component. */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 114px 1fr;
        grid-template-areas:
            "image info-head"
            "price price"
            "usps usps";
        column-gap: 14px;
        align-items: start;
    }

    .featured-area-image {
        justify-self: start;
    }

    .featured-product-box .featured-product-image {
        max-width: 114px;
        width: 114px;
        height: 114px;
        object-fit: cover;
    }

    .featured-area-info-head {
        text-align: left;
        align-self: center;
    }

    .featured-grid p.featured-product-tagline {
        display: none;
    }

    .featured-product-box .featured-product-title {
        font-size: 1.4rem;
    }

    .featured-price-panel {
        text-align: center;
        padding: 12px 14px;
    }

    .featured-merchant-row {
        justify-content: center;
    }
}

/* Product Advantages / Specifications */
.featured-advantages ul,
.featured-specifications ul {
    list-style: none; /* remove default bullets */
    padding-left: 0;
    margin: 0;
		margin-top: 8px;
}

.featured-advantages li,
.featured-specifications li {
    position: relative;
    padding-left: 28px; /* space for checkmark badge */
    margin-bottom: 6px;
    line-height: 1.5;
    font-size: 17px;
		color: black !important;
}

/* Same-specificity as the unconditional rule above, but declared later —
   source order is the tiebreak, so this must stay below it to actually win
   on mobile (an identical rule placed earlier in the file, like the rest of
   the ~15% mobile-size pass above, would lose that tiebreak and be ignored). */
@media (max-width: 768px) {
    .featured-advantages li,
    .featured-specifications li {
        font-size: 15px;
    }
}

/* Checkmark Marker — filled circle badge with a white check, replacing the
   plain text glyph used elsewhere on the page. */
.featured-advantages li::before,
.featured-specifications li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23009688'/%3E%3Cpath d='M9.6 16.2 6 12.6l1.4-1.4 2.2 2.2 5.6-5.6L16.6 9.2z' fill='%23fff'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.featured-box-readmore-wrap {
    margin-top: 5px;
    text-align: end;
}

.featured-box-readmore {
    display: inline-block;
    color: #000 !important;
    font-weight: 600;
		font-size: .7rem;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.featured-box-readmore:hover {
    color: #fff;
    text-decoration: none;
}

.product-description .alignleft {
    float: left;
    margin-right: 30px;
}

.product-description .alignright {
    float: right;
    margin-left: 30px;
}

/* ================================
   Udgåede modeller section
   ================================ */

.dfrcs-expired-products {
    margin-top: 48px;
    padding: 24px;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
}

.dfrcs-expired-title {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d32f2f; /* red title like screenshot */
}

.dfrcs-expired-subtext {
    margin: 0 0 24px 0;
    max-width: 850px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* ================================
   Per-product accordion styling
   ================================ */

.dfrcs-expired-item {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.dfrcs-expired-item-header {
    width: 100%;
    background: #fff;
    border: none;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #5a3e36; /* brown-ish title like screenshot */
    cursor: pointer;
    border-left: 4px solid #009688; /* teal accent bar */
}

.dfrcs-expired-item-icon {
    font-size: 1.4rem;
    color: #009688;
    font-weight: 700;
}

.dfrcs-expired-item-content {
    padding: 18px;
    background: #fff;
}

.dfrcs-expired-products h2.product-title, .dfrcs-expired-products .product-tagline, .dfrcs-expired-products .product-divider {
    display: none;
}


.tt-toc {
    border: 1px solid #009688;
    border-radius: 8px;
    overflow: hidden;
}

.tt-toc-toggle {
		width: 100%;
    background: #fff;
    padding: 14px 16px;
    font-size: 25px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tt-toc-content {
    display: none;
    padding: 12px 16px;
}

.tt-toc-content ul {
    margin: 0;
    padding-left: 18px;
}

.tt-toc-content li {
    margin-bottom: 8px;
}

.tt-toc.open .tt-toc-content {
    display: block;
}

.tt-toc.open .toc-icon {
    transform: rotate(45deg);
}

.product-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 35px 0;
		gap: 20px;
    position: relative;
}

.product-divider.intro {
    margin: 0;
}

.product-preview-list h2{
    margin: 0;	
		margin-bottom: 20px;
		margin-top: -5px;
}

.product-divider::before,
.product-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #009688;
}

.product-divider::before {
    margin-right: 16px;
}

.product-divider::after {
    margin-left: 16px;
}

.product-divider span {
    display: inline-flex;
    gap: 6px;
    color: #009688; /* your green */
    font-size: 16px;
}

.tt-product {
    border: 1px solid #ddd;
    margin-bottom: 12px;
    background: #fff;
}

.product-header {
    background: #f7f7f7;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.product-fields {
    padding: 10px;
}

.tt-product.collapsed .product-fields {
    display: none;
}


/* Override search dropdown positioning */
.home-nav-search-dropdown {
    right: 0;
    left: auto !important;
    width: 360px; /* adjust if you want wider */
}

.product-template .product-description {
    line-height: 30px;
    color: #3F3F3F;
}

/* =========================
   CRP – Card Grid Styling
========================= */

.crp_related h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Grid */
/* =========================
   CRP Grid – Full Width 4 Col
========================= */

.crp_related ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
    width: 100%;
		padding: 0;
}

/* Card */
.crp_related li {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.crp_related li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* Link wrapper */
.crp_related .crp_link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Image */
.crp_related figure {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.crp_related img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.crp_related li:hover img {
    transform: scale(1.05);
}

/* Title */
.crp_related .crp_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
		padding: 8px;
}



/* Category / term */
.crp_related .crp_primary_term {
    padding: 0 14px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #009688;
    display: block;
}

/* Clearfix removal */
.crp_clear {
    display: none;
}

.crp_related img {
    max-width: 100% !important;
    border-radius: 10px;
}

.crp_related h4 {
    margin: 0 !important;
		text-align: center;
		font-size: 24px;
}

/* =========================
   CRP Category Badge
========================= */

/* Make card positionable */
.crp_related li {
    position: relative;
	  width: 100%;
}

/* Hide category below title (old position) */
.crp_related .crp_primary_term {
    position: absolute;
    top: 10px;
    left: 15px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1;
    z-index: 3;
    text-transform: capitalize;
}

/* Ensure image is the anchor point */
.crp_related figure {
    position: relative;
}

/* =========================
   CRP Subtitle
========================= */

.crp_related h3::after {
    content: "Udvalgt for at give overblik over beslægtede emner og alternativer";
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
		margin-bottom: 15px;
}

.crp_related_shortcode h3 {
	text-align: center;
}

/* Optional: slight shadow for contrast */
.crp_related .crp_primary_term {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.crp_related {
    margin-top: -25px !important;
}
@media (max-width: 768px) {
	
	.tt-feat-hero {
    padding: 0 !important;
}
	
	.tt-hero-media {
		border-radius: 0;
	}
	
	.crp_related li:nth-child(3) {
    display: none !important;
}
	.crp_related ul {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

.article-content-text, .tt-article-intro {
	color: #3F3F3F;
	line-height:30px;
}

.tt-article-intro p:nth-child(1) {
    margin-top: 0 !important;
}

.author-metode {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    border: 1px solid #e1e1e1;
    padding: 10px;
    border-radius: 3px;
    justify-content: space-between;
}
.author-metode a {
    color: #009688;
}

/* ===============================
   FILTER BAR LAYOUT
================================ */
.tt-search-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

/* ===============================
   FILTER GROUPS
================================ */
.tt-filter-left,
.tt-filter-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Optional label styling */
.tt-filter-right span {
    font-size: 14px;
    color: #6b7280;
    margin-right: 6px;
}

/* ===============================
   FILTER BUTTONS (BASE)
================================ */
.tt-search-filters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    background: #f1f5f9;
    color: #0f172a;

    transition: 
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

/* ===============================
   HOVER
================================ */
.tt-search-filters a:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* ===============================
   ACTIVE STATE
================================ */
.tt-search-filters a.active {
    background: linear-gradient(135deg, #009688, #00b3a4);
    color: #ffffff;

    box-shadow:
        0 4px 10px rgba(0, 179, 164, 0.25),
        inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* ===============================
   ACTIVE HOVER
================================ */
.tt-search-filters a.active:hover {
    transform: none;
    box-shadow:
        0 6px 14px rgba(0, 179, 164, 0.35),
        inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* ===============================
   MOBILE POLISH
================================ */
@media (max-width: 768px) {
    .tt-search-filters {
        gap: 12px;
    }

    .tt-search-filters a {
        padding: 7px 12px;
        font-size: 13px;
    }
}

.tt-no-results {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: #6b7280;
}

.tt-no-results strong {
    display: block;
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 6px;
}

/* Mobile stack */
@media (max-width: 768px) {
	.dfrcs_price{
	flex: 1 1 200px !important;
	}
}
.dfrcs_price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tt-flag-dropdown {
  position: relative;
  display: inline-block;
}

.tt-flag-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.tt-flag-arrow {
  font-size: 11px;
}

.tt-flag-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  min-width: 140px;
  display: none;
  z-index: 999;
}

.tt-flag-dropdown.active .tt-flag-menu {
  display: block;
}

.tt-flag-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #000;
  text-decoration: none;
}

.tt-flag-menu a:hover {
  background: #f5f5f5;
}

.tt-flag-menu img {
  width: 20px;
  height: auto;
}



.crp_link:hover .crp_title::after {
  transform: translateX(4px);
}

.article-content-text h2:first-child {
    line-height: 35px;
    margin: 0;
}

.article-content-text p:last-child {
    margin-bottom: 0;
}

.product-divider.outro {
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
}

.faq-header-subtitle.date span {
    font-weight: normal;
    font-size: 15px;
}

.faq-header-subtitle.date {
    font-weight: 600;
}

/* Pagination wrapper */
.tt-pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

/* List */
.tt-pagination-list {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Base button */
.tt-pagination-list a,
.tt-pagination-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

/* Normal pages (filled) */
.tt-pagination-list a {
    background: #00a99d;   /* your green */
    color: #fff;
}

/* Hover */
.tt-pagination-list a:hover {
    background: #008f85;
}

/* Current page (outlined) */
.tt-pagination-list .current {
    background: transparent;
    border: 2px solid #00a99d;
    color: #00a99d;
    cursor: default;
}

.tt-category-search {
    margin-bottom: 24px;
}

/* ===============================
   Search Header
================================ */
.tt-search-header {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}

.tt-search-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tt-search-title span {
    color: var(--tt-primary, #009688);
}

.tt-search-meta {
    margin-bottom: 18px;
    color: #6b7280;
}

/* ===============================
   Search Form
================================ */
.tt-search-form {
    display: flex;
    justify-content: center;
}

/* Wrapper MUST be relative for icon */
.tt-search-input-wrap {
    position: relative;
    width: 100%;
		justify-self: center;
    max-width: 520px;
}

/* Input */
.tt-search-input-wrap input[type="search"] {
    width: 100%;
    padding: 14px 16px 14px 44px; /* space for icon */
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 16px;
    outline: none;
}

/* Placeholder */
.tt-search-input-wrap input::placeholder {
    color: #9ca3af;
}

/* Focus state */
.tt-search-input-wrap input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* Icon */
.tt-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9ca3af;
    pointer-events: none;
}

/* ===============================
   Category Description
================================ */
.tt-category-description p {
    margin: 0 0 20px;
    line-height: 25px;
    color: #3f3f3f;
}

.tt-related-categories {
    margin: 40px 0 24px;
}

.tt-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.tt-related-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.tt-related-header a {
    font-size: 14px;
    color: var(--tt-primary, #009688);
    text-decoration: none;
}

.tt-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.tt-related-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    font-weight: 600;
    color: #111;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tt-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.1);
}

/* ======================================================
   AUTHOR PROFILE
   ====================================================== */
.tt-author-card {
	margin-bottom: 32px;
}
/* HERO LAYOUT */
.tt-author-hero {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 32px !important;
}

/* LEFT CONTENT */
.tt-author-content {
    max-width: 640px;
}

.tt-author-content h1 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.tt-author-role {
    color: #6b7280;
    margin-bottom: 16px;
}

.tt-author-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.tt-author-highlights li {
    margin-bottom: 6px;
}

/* ACTION BUTTONS */
.tt-author-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.tt-btn {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.tt-btn-primary {
    background: #1a1a1a;
    color: #fff;
}

.tt-btn-secondary {
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb;
}

/* DESCRIPTION */
.tt-author-description {
    max-width: 800px;
    color: #374151;
}

.tt-author-description p {
    margin-bottom: 14px;
    line-height: 1.65;
}

/* AUTHOR IMAGE */
.tt-author-photo {
    max-width: 420px;
    margin-left: auto;
}

.tt-author-photo img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 18px;
}

/* INFO GRID */
.tt-author-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.tt-author-box {
    background: #f9fafb;
    padding: 40px;
    border-radius: 16px;
}

.tt-author-box h3 {
    margin:0;
}

.tt-author-box ul {
    padding-left: 18px;
}

.tt-author-box li {
    margin-bottom: 6px;
}

.author-latest-title {
    color: var(--tt-primary, #009688);
    margin: 40px 0 20px;
}

.tt-inline-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--tt-primary, #009688);
    text-decoration: none;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 900px) {

    .tt-author-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .tt-author-content {
        max-width: 100%;
    }

    .tt-author-photo {
        max-width: 300px;
        margin: 0 auto 24px;
    }

    .tt-author-photo img {
        max-height: 360px;
    }

    .tt-author-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .tt-author-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================
   404 PAGE
   ====================================================== */

/* FULL WIDTH HERO */

.bt404-hero{
    width:100vw;
    position:relative;
    left:50%;
    right:50%;
    margin-left:-50vw;
    margin-right:-50vw;
}
.bt404-image img {
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
    object-position: center 35%;
}

/* FADE EFFECT */

.bt404-hero:after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:200px;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,1) 100%
    );
}

/* CONTENT */

.bt404-content{
    text-align:center;
    padding-bottom:40px;
}

.bt404-content h1{
    font-size:32px;
    font-weight:700;
}

.bt404-sub{
    color:#6b7280;
    margin-top:10px;
}

/* SEARCH */

.bt404-search{
    margin-top:20px;
}

/* BUTTONS */

.bt404-buttons{
    margin-top:20px;
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.bt404-btn{
    background:#f3f4f6;
    padding:12px 18px;
    border-radius:8px;
    text-decoration:none;
    font-weight:500;
    color:#333;
}

.skip-link {
  position:absolute;
  left:-9999px;
}

/* =========================================================
   EKSTERNE BIDRAG (external contributions CPT) — archive +
   single templates. See archive-eksterne-bidrag.php and
   single-eksterne-bidrag.php.
========================================================= */

.eb-hero {
    position: relative;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    padding: 90px 20px;
    text-align: center;
    color: #fff;
}

.eb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.eb-hero-overlay {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.eb-hero-overlay h1 {
    font-size: 34px;
    margin-bottom: 16px;
}

.eb-hero-sub {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
}

.eb-hero-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.eb-layout {
    display: flex;
    gap: 40px;
    align-items: stretch; /* .eb-sidebar must match .eb-content's height, or
                              .tt-popular-sidebar's position:sticky has no
                              room within its parent to actually travel */
    padding-top: 30px;
    padding-bottom: 40px;
}

.eb-content {
    flex: 1;
    min-width: 0;
    line-height: 1.7;
}

.eb-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.tt-popular-sidebar {
    position: sticky;
    top: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    padding: 16px;
}

.tt-popular-sidebar-title {
    display: inline-block;
    background: var(--tt-primary, #009688);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 0 14px;
}

.tt-popular-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tt-popular-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
}

.tt-popular-sidebar-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
}

.tt-popular-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-popular-sidebar-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .eb-layout {
        flex-direction: column;
    }
    .eb-sidebar {
        width: 100%;
    }
    .tt-popular-sidebar {
        position: static;
    }
}

.eb-archive-header {
    text-align: center;
    padding: 30px 0 10px;
}

.eb-archive-header h1 {
    margin-bottom: 10px;
}

.eb-archive-sub {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.eb-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 30px 0;
}

.eb-archive-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.eb-archive-card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #eee;
}

.eb-archive-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eb-archive-card-body {
    padding: 16px;
}

.eb-archive-card-title {
    font-size: 17px;
    margin: 0 0 10px;
    line-height: 1.35;
}

.eb-archive-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.eb-archive-card-readmore {
    font-size: 13px;
    font-weight: 600;
    color: var(--tt-primary, #009688);
    text-decoration: none;
}

@media (max-width: 900px) {
    .eb-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .eb-archive-grid {
        grid-template-columns: 1fr;
    }
}

.skip-link:focus {
  left:10px;
  top:10px;
  background:#000;
  color:#fff;
  padding:8px 12px;
  z-index:9999;
}

.crp_title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.4em;
  max-height:2.5em;
}
.crp_link::after{
  content:"Læs mere →";
  display:block;
  font-size:13px;
  font-weight:600;
  margin-top:6px;
  text-align:right;
	padding: 10px;
}

.preview-review-link.mobile { display: none; }
 @media (max-width: 768px) {
    .preview-review-link.desk { display: none; }
    .preview-review-link.mobile { display: flex !important; }
	 
	 .comparison-content, .product-content {
max-width:90% !important;
}
	 .blank-div {
		 display: none; 
	 }

.comparison-featured-wrap .featured-product-box .featured-product-image {
        height: unset !important;
    }

	 .comparison-featured-wrap .featured-advantages {
		width: unset !important;
    margin: auto;
	 }

	 .comparison-featured-wrap .featured-buy-button {
		 align-self: center !important;
	 }

	 /* [featured_company_box]'s .featured-main was left row-flex with no
	    mobile override after the featured-product-box redesign removed the
	    old unscoped .featured-main mobile rule (this shortcode is a
	    separate, older component still using that markup — the redesign
	    wasn't scoped to it, see the note above .featured-product-box). */
	 .comparison-featured-wrap .featured-main {
		 flex-direction: column;
		 align-items: center;
		 gap: 16px;
		 text-align: center;
	 }
 }

.comparison-page p.tt-hero-sub.tt-hero-line {
    display: none !important;
}

.comparison-featured-wrap .featured-advantages {
    list-style: none;
    padding: 0;
    width: 80%;
}

.comparison-featured-wrap .featured-main {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Clears the ribbon's bottom half now that .featured-badges-row
       positions it absolutely (protruding 17px into the box — see its
       own rule) instead of sitting in normal flow above this row. */
    margin-top: 20px;
}
.comparison-featured-wrap .featured-product-box .featured-product-image {
	object-fit: contain !important;
}
.comparison-featured-wrap .featured-buy-button {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #009688;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 18px;
    font-size: .9rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.25s ease;
    justify-content: center;
}

.comparison-featured-wrap {
    margin-top: 15px;
}

.comparison-author-wrap {
	margin-bottom: 10px;
}
.comparison-content, .product-content {
    max-width: var(--tt-content-width, 900px);
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

/* Flex row's direct child(ren) default to min-width:auto, so unwrapped
   text anywhere inside (e.g. the featured-company-box headings) sizes
   the whole row to max-content instead of shrinking to fit — the row
   ends up wider than the viewport on mobile. */
.comparison-content > *,
.product-content > * {
    min-width: 0;
}

.tt-pagination-prev,
.tt-pagination-next {
    display: inline-flex;
    align-items: center;
    height: 44px;
    box-sizing: border-box;
    padding: 0 0.9em;
    border: 2px solid var(--color-primary, #00b8a9);
    border-radius: 999px;
    color: var(--color-primary, #00b8a9);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    width: fit-content !important;
}
.tt-pagination-prev:hover,
.tt-pagination-next:hover {
    background: var(--color-primary, #00b8a9);
    color: #fff;

}

.tt-category-h1 {
    margin: 0 !important;
}

span.tt-category-desc {
    display: none;
}

/* Pagination responsive fix */
.tt-pagination {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px; /* prevents clipping scroll shadow */
}

.tt-pagination-list {
    display: flex;
    flex-wrap: nowrap; /* keep on one line, let it scroll */
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 8px 16px; /* side padding so first/last items aren't flush */
    min-width: max-content; /* prevents squishing */
}

/* Shrink prev/next text on small screens */
@media (max-width: 480px) {
    .tt-pagination-prev,
    .tt-pagination-next {
        padding: 0.4em 0.65em;
        font-size: 0.85rem;
    }

    .tt-pagination-list .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .tt-pagination-list a, .tt-pagination-list span {
        height: 36px !important;
    }
}

.tt-category-description a {
    text-decoration: underline;
    color: #009688;
}


.comparison-hero.page-hero .tt-hero-meta.tt-hero-line {
    display: none !important;
}

.comparison-hero.page-hero .tt-hero-annoncelinks.tt-hero-line {
    display: none !important;
}

.comparison-hero.page-hero .tt-hero-title {
    text-align: center !important;
}

.comparison-page .comparison-content a {
    color: #009688 !important;
}


.product-author-inner {
    display: flex;
}

ul.product-author-credentials li {
    list-style: none;
    margin-bottom: 5px;
}

ul.product-author-credentials {
    padding: 0;
    font-size: 15px;
}

span.product-author-role {
    font-size: 15px;
}

.product-author-buttons {
    display: flex;
    flex-direction: column;
	font-size: 15px;
	gap: 10px
}

h2.product-author-published-by ,h3.product-author-name {
    margin: 0 !important;
}

h2.product-author-published-by {
    font-size: 23px !important;
    margin-bottom: 15px !important;
}

h3.product-author-name {
    font-size: 20px !important;
}

.product-author-details {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.product-author-wrap {
    box-shadow: 0 0 10px 0 rgba(222.7, 222.7, 222.7, .5);
    border-radius: 10px;
    padding: 20px;
margin-bottom: 20px;
}

a.product-author-btn {
    text-decoration: unset;
    color: #009688;
}

.product-author-image img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.product-author-image {
    flex-shrink: 0;
}

@media (max-width: 900px) {
.product-author-inner {
    flex-direction: column;
}

.product-author-details {
    flex-direction: column;
}

.product-author-buttons {
    place-self: flex-start;
}
}

.comparison-page a.featured-buy-button, .comparison-page .elementor-button-wrapper span, .comparison-page .company-button span {
    color: white !important;
}

span.crp_title {
    color: black !important;
}


.tt-editorial-note {
    text-align: center;
    font-size: 13px;
    color: #555;
    margin: 0 0 16px;
}

.tt-editorial-note a {
    color: inherit;
    text-decoration: none;
}

.tt-editorial-note a:hover {
    color: #009688;
}

.tt-footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tt-also-found {
    font-size: 13px;
    color: #555;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tt-company-address {
    font-size: 12px;
    color: #888;
    margin: 0;
}

@media (max-width: 640px) {
    .tt-footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .tt-trust-list {
        gap: 16px;
        justify-content: flex-start;
    }
    .tt-company-address {
        text-align: left;
    }
}

/* ---- Flag Dropdown ---- */
.tt-flag-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tt-flag-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #555;
    transition: border-color 0.15s;
}

.tt-flag-toggle:hover {
    border-color: #009688;
}

.tt-flag-toggle img {
    display: block;
}

.tt-flag-arrow {
    font-size: 10px;
}

.tt-flag-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 130px;
    z-index: 100;
    overflow: hidden;
}

.tt-flag-dropdown.open .tt-flag-menu {
    display: block;
}

.tt-flag-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    transition: background 0.15s;
}

.tt-flag-menu a:hover {
    background: #f5faf9;
    color: #009688;
}

/* ---- Back to Top ---- */
.tt-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tt-back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.tt-back-to-top img {
    display: block;
    width: 48px;
    height: 48px;
}

/* ---- Visually hidden utility ---- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   [el_provider_comparison] — native replacement for the
   [elementor-template id="..."] price-comparison rows. See
   tt-product-template/includes/
   shortcode-el-provider-comparison.php.
========================================================= */

.el-provider-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.el-provider-row {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    padding: 22px 32px;
    transition: box-shadow 0.2s ease;
}

.el-provider-row:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.el-provider-logo {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
}

.el-provider-logo img {
    max-width: 150px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.el-provider-logo-fallback {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}

.el-provider-price,
.el-provider-stat {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    border-left: 1px solid #e8e8e8;
}

.el-provider-price-value,
.el-provider-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.el-provider-price-label,
.el-provider-stat-label {
    display: block;
    font-size: 12px;
    color: var(--tt-primary, #009688);
    margin-top: 4px;
}

/* First stat/price column is the headline number — bigger, left-aligned,
   flush against the logo instead of boxed in with a divider like the rest. */
.el-provider-price:first-of-type,
.el-provider-stat:first-of-type {
    flex: 0 0 150px;
    text-align: left;
    border-left: none;
    padding-left: 0;
}

.el-provider-price:first-of-type .el-provider-price-value,
.el-provider-stat:first-of-type .el-provider-stat-value {
    font-size: 20px;
}

.el-provider-action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.el-provider-rate {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.el-provider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tt-primary, #009688);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}

.el-provider-btn:hover {
    background: #00756a;
    transform: translateY(-1px);
}

/* .comparison-page .comparison-content a sets all links teal with
   !important — outranks the base .el-provider-btn rule above, so the
   button text was rendering teal-on-teal. This beats it on specificity. */
.comparison-page .comparison-content a.el-provider-btn {
    color: #fff !important;
}

@media (max-width: 768px) {
    .el-provider-row {
        flex-wrap: wrap;
        row-gap: 14px;
        column-gap: 0;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .el-provider-logo {
        flex: 0 0 100%;
        justify-content: center;
    }

    .el-provider-price:first-of-type,
    .el-provider-stat:first-of-type {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .el-provider-price:not(:first-of-type),
    .el-provider-stat:not(:first-of-type) {
        flex: 1 1 0;
        min-width: 90px;
        padding: 0 10px;
    }

    .el-provider-action {
        flex: 0 0 100%;
        align-items: center;
        margin-top: 6px;
    }

    .el-provider-btn {
        width: 100%;
    }
}

/* Family 2 — Description rows (logo + paragraph + button, no stats) */
.el-description-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.el-description-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 26px 28px;
}

.el-description-logo {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
}

.el-description-logo img {
    max-width: 160px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.el-description-logo-fallback {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}

.el-description-text {
    flex: 1;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.5;
}

.el-description-action {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .el-description-row {
        flex-wrap: wrap;
        text-align: center;
        padding: 16px;
    }

    .el-description-logo {
        flex: 0 0 100%;
        justify-content: center;
    }

    .el-description-action {
        flex: 0 0 100%;
        margin-top: 8px;
        display: flex;
        justify-content: center;
    }
}

/* Family 3 — Stats row + promo banner */
.el-promo-comparison {
    gap: 0;
}

.el-promo-row {
    margin-bottom: 12px;
}

.el-promo-row .el-provider-row {
    border-radius: 10px 10px 0 0;
    padding: 14px 28px;
}

.el-promo-identity {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.el-promo-row .el-provider-logo img {
    max-width: 180px;
    max-height: 74px;
}

.el-promo-trustpilot {
    display: none;
}

.el-promo-banner {
    display: block;
    background: #fff3e0;
    color: #b45309 !important;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    padding: 8px 16px;
    border-radius: 0 0 10px 10px;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    /* .el-promo-identity wraps the logo (and used to wrap trustpilot) as
       a nested child rather than a direct .el-provider-logo flex item,
       so the generic Family-1 mobile rule that forces the logo to its
       own full-width row never matches it here — it keeps its fixed
       180px desktop width and ends up sharing a line with the first stat. */
    .el-promo-identity {
        flex: 0 0 100%;
        align-items: center;
    }

}


/* Family 4 — Rating rows (logo + star rating + button, no stats) */
.el-rating-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.el-rating-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 16px 24px;
}

.el-rating-value {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.el-star-rating {
    display: inline-flex;
    gap: 2px;
}

.el-rating-number {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .el-rating-row {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 16px;
    }

    .el-rating-row .el-provider-logo {
        flex: 0 0 100%;
        justify-content: center;
        margin-bottom: 4px;
    }

    .el-rating-row .el-provider-action {
        flex: 0 0 100%;
        align-items: center;
        margin-top: 8px;
    }

    .el-rating-row .el-provider-btn {
        width: 100%;
    }
}

/* Hardcoded comparison tables ([tt_hardcoded_table]) — logo, then a
   centered price header stacked above a divided 3-stat row, then a
   standalone rate, then button. One-off layouts too specific for the
   reusable admin-editable families to bother matching, e.g. billigste-elselskab. */
.el-hc-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.el-hc-row {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 16px 24px;
}

.el-hc-logo {
    flex: 0 0 140px;
    display: flex;
    align-items: center;
}

.el-hc-logo img {
    max-width: 140px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.el-hc-logo-fallback {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}

.el-hc-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.el-hc-price .value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

.el-hc-price .label {
    display: block;
    font-size: 12px;
    color: var(--tt-primary, #009688);
    text-align: center;
    margin-top: 2px;
}

.el-hc-stats {
    display: flex;
    justify-content: space-around;
}

.el-hc-stat {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0 16px;
    border-left: 1px solid #e8e8e8;
}

.el-hc-stat:first-child {
    border-left: none;
}

.el-hc-stat .value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.el-hc-stat .label {
    display: block;
    font-size: 11px;
    color: var(--tt-primary, #009688);
    margin-top: 2px;
}

.el-hc-rate {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .el-hc-row {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 16px;
    }

    .el-hc-logo {
        flex: 0 0 100%;
        justify-content: center;
    }

    .el-hc-middle {
        flex: 0 0 100%;
    }

    .el-hc-stat {
        padding: 0 8px;
    }

    .el-hc-rate {
        flex: 0 0 100%;
        margin-top: 4px;
    }

    .el-hc-btn {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 8px;
    }
}

/* Family 5 — Icon stats + rating + price row */
.el-icon-stat-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.el-icon-stat-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 16px 24px;
}

.el-icon-stat-identity {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.el-icon-stat-identity .el-provider-logo img {
    max-width: 110px;
    max-height: 42px;
}

.el-icon-stat-subtitle {
    font-size: 16px;
    color: #6b7280;
    font-weight: bold;
}

.el-icon-stat-list {
    flex: 1;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.el-icon-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.el-icon-stat-icon {
    display: inline-flex;
    color: var(--tt-primary, #009688);
    margin-bottom: 4px;
}

.el-icon-stat-icon svg {
    display: block;
}

.el-icon-stat-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.el-icon-stat-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.el-icon-stat-price {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 700;
    color: #b91c1c;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .el-icon-stat-row {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 16px;
    }

    .el-icon-stat-identity {
        flex: 0 0 100%;
        align-items: center;
    }

    .el-icon-stat-list {
        flex: 0 0 100%;
        flex-wrap: wrap;
    }

    .el-icon-stat-price {
        flex: 0 0 100%;
    }

    .el-icon-stat-row .el-provider-action {
        flex: 0 0 100%;
        align-items: center;
        margin-top: 8px;
    }

    .el-icon-stat-row .el-provider-btn {
        width: 100%;
    }
}



/* Native logo/offer grid (replaces the Elementor "Black friday gallery" template): 4 cards per row,
   2 on phones. Markup lives in the post content: <div class="tt-logo-grid"><a class="tt-logo-grid__item">… */
.tt-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 30px;
}
.tt-logo-grid .tt-logo-grid__item {
    display: block;
    background: #fff;
    border: 1px solid #CACACA;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.tt-logo-grid .tt-logo-grid__item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}
.tt-logo-grid .tt-logo-grid__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 242 / 146;
    object-fit: contain;
    margin: 0;
    border: 0;
    border-radius: 0;
}
@media (max-width: 767px) {
    .tt-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
