/*
 Theme Name:   Climaco
 Theme URI:    https://joolo.se 
 Description:  Barn-/childtema med tydlig struktur och laddning av child style.css sist.
 Author:       Joolo
 Author URI:   https://joolo.se
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  joolo-webbdesign
 Tags:         child-theme, clean, starter
*/



/* ==========================================================
   CLIMACO – GLOBAL DESIGN SYSTEM
   Version 1.0

   Shared variables for:
   - Divi child theme
   - Heat Pump Finder
   - Heat Pump Recommendations (HPR)
   - Installer Guide
   - Other Climaco shortcodes
   ========================================================== */

:root {

    /* ======================================================
       BRAND COLORS
       ====================================================== */

    --climaco-blue: #2EA3F2;
    --climaco-blue-hover: #1688D3;
    --climaco-blue-light: #E8F5FF;
    --climaco-blue-pale: #F2FAFF;

    --climaco-white: #FFFFFF;


    /* ======================================================
       TEXT COLORS
       ====================================================== */

    --climaco-text: #10183E;
    --climaco-text-secondary: #4C5875;
    --climaco-text-muted: #697498;


    /* ======================================================
       BACKGROUND COLORS
       ====================================================== */

    --climaco-background: #FFFFFF;
    --climaco-background-light: #F5F8FA;
    --climaco-background-blue: #E8F5FF;


    /* ======================================================
       BORDER COLORS
       ====================================================== */

    --climaco-border: #E0EAF3;
    --climaco-border-light: #EDF1F3;
    --climaco-border-blue: #CFE4F8;


    /* ======================================================
       STATUS & PRODUCT COLORS
       ====================================================== */

    --climaco-green: #62A44E;
    --climaco-green-hover: #4E8E3C;
    --climaco-green-light: #E4F5E2;

    --climaco-gray: #9A9FA8;
    --climaco-gray-light: #F2F3F5;

    --climaco-red: #E65A50;
    --climaco-orange: #F2A33A;
	
	--climaco-navy: #071556;
--climaco-success: #49A969;
--climaco-danger: #E45137;
--climaco-danger-light: #FFF7F5;


    /* ======================================================
       TYPOGRAPHY
       ====================================================== */

    --climaco-font: "Open Sans", Arial, sans-serif;

    --climaco-font-size-small: 13px;
    --climaco-font-size-body: 15px;
    --climaco-font-size-button: 15px;

    --climaco-font-weight-normal: 400;
    --climaco-font-weight-medium: 500;
    --climaco-font-weight-semibold: 600;
    --climaco-font-weight-bold: 700;


    /* ======================================================
       LAYOUT
       ====================================================== */

    --climaco-max-width: 1400px;

    --climaco-radius-small: 5px;
    --climaco-radius: 8px;
    --climaco-radius-pill: 50px;

    --climaco-card-gap: 16px;
    --climaco-section-gap: 24px;


    /* ======================================================
       BUTTONS
       ====================================================== */

    --climaco-button-background: var(--climaco-blue);
    --climaco-button-hover: var(--climaco-blue-hover);
    --climaco-button-color: var(--climaco-white);

    --climaco-button-font: var(--climaco-font);
    --climaco-button-font-size: var(--climaco-font-size-button);
    --climaco-button-font-weight: var(--climaco-font-weight-semibold);

    --climaco-button-radius: var(--climaco-radius-small);
    --climaco-button-padding: 11px 14px;


    /* ======================================================
       TRANSITIONS
       ====================================================== */

    --climaco-transition: 0.2s ease;

}

h1.entry-title, h1, h2, h3, h4 {
  font-family: "Open Sans", sans-serif;
  line-height: 1.2em;
	 
}

h1 {
  font-size: 40px!important;
  font-weight: 800;
}

h2 {
  font-size: 30px!important;
  font-weight: 800; 	
}

h3 {
  font-size: 25px!important;
  font-weight: 600;
}

h4 {
  font-size: 19px!important;
  font-weight: 500;
}

.et_pb_row {
	width: 90%!important;}

@media (min-width: 981px) {
    .et_pb_section {
        padding: 2% 0;
	}}

@media (max-width: 768px) {
  h1 { font-size: 30px!important; }
  h2 { font-size: 26px!important; }
  h3 { font-size: 22px!important; }
  h4 { font-size: 18px!important; }
}

/* Liten kategorietikett ovanför rubriken */
.climaco-category-label .et_pb_text_inner {
    display: inline-block;
    background: var(--label-color, var(--climaco-blue));
    color: #fff;
    padding: 5px 12px !important;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

/* Avstånd mellan kategorietiketten och rubriken */
.et_pb_module.et_pb_text.climaco-category-label {
    margin-bottom: 10px !important;
}


/* Bild galleri */

@media only screen and (min-width: 768px) {
.et_pb_gallery_grid .et_pb_gallery_image {
padding-top: 56.25%; /* Change this value to be whatever aspect ratio you want, for example if you wanted portrait - try 180% | or square would be 100% */
display: block;
}
.et_pb_gallery_grid .et_pb_gallery_item img {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
object-fit: cover;
}
}


.heat-pump-category-logos{
  display:flex;
  gap:10px;
  align-items:center;
}
.heat-pump-category-logo{
  width:120px;
  height:auto;
  display:block;
}

/* Dropdown språkmenyn: höjdjustering samt padding på högerkanten */
#et-secondary-nav li li {
	padding: 0em;
	padding-right:12px;
	}
/* Bredda/minska dropdown språkmenyn */
#et-secondary-nav li>ul {
    width: 146px;
}
/* Dropdown språkmenyn: Vänsterjustering */
#et-secondary-nav li {
	position: relative;
    text-align: left;
}
/* Ta bort bildnamnen från gallerierna */
.mfp-title {
	display: none;
}

/* Plopparna i bildgalleriet */
.et-pb-controllers a {
background-color: rgba(137, 137, 137, 0.5);
}


/* Bara där .climaco-flex finns, ex arkiv för produktkategorier */
.climaco-flex .grid-col,
.climaco-flex .grid-item-cont,
.climaco-flex .bc-link-whole-grid-card,
.climaco-flex .bc-link-whole-grid-card .et_pb_section {
  height: 100%;
}

.climaco-flex .bc-link-whole-grid-card .et_pb_section {
  display: flex;
  flex-direction: column;
}

/* Bildyta med samma proportion */
.climaco-flex .et_pb_de_mach_thumbnail .et_pb_module_inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Bilden fyller ytan */
.climaco-flex .et_pb_de_mach_thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* byt till cover om du vill */
}

/* Jämn spacing */
.climaco-flex .et_pb_row {
  margin-bottom: 10px;
}

.climaco-flex .et_pb_text,
.climaco-flex .et_pb_de_mach_title,
.climaco-flex .et_pb_de_mach_content,
.climaco-flex .et_pb_de_mach_acf_item {
  margin-bottom: 10px;
}

/* Knappen längst ner */
.climaco-flex .bc-link-whole-grid-card .et_pb_row:last-child {
  margin-top: auto;
}

.climaco-flex .et_pb_button_module_wrapper {
  margin-top: 10px;
}



/* Visa modeller i tabellform  */

/* ACF-fält i två kolumner:
   etikett till vänster, värde till höger */

.climaco-table .dmach-acf-item-content .dmach-acf-value,
.climaco-list .dmach-acf-item-content .dmach-acf-value {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr);
  column-gap: 6px;
  align-items: start;
  margin: 0 !important;
}

/* Etiketter */

.climaco-table .dmach-acf-label,
.climaco-list .dmach-acf-label {
  grid-column: 1;
  font-weight: 600;
  margin: 0 !important;
}

/* Dölj kolon/separator */

.climaco-table .dmach-seperator,
.climaco-list .dmach-seperator {
  display: none;
}

/* Listvärden placeras i höger kolumn */

.climaco-table .dmach-acf-value > ul,
.climaco-list .dmach-acf-value > ul {
  grid-column: 2;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Ta bort standardindrag och punkter */

.climaco-table .dmach-acf-value > ul > li,
.climaco-list .dmach-acf-value > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Behagligt radavstånd vid radbrytning i värden */

/* Normal radhöjd på själva raden */
.climaco-table .dmach-acf-value,
.climaco-list .dmach-acf-value {
  line-height: 1.15;
}

/* Lite luftigare endast inne i listor */
.climaco-table .dmach-acf-value li,
.climaco-list .dmach-acf-value li {
  line-height: 1.4;
}

/* ==========================================================
   CLIMACO – ACF FULLWIDTH OVERRIDE
   Skärm och print
   ========================================================== */

/* Återställ grid för enskild ACF-modul */

body .climaco_table_fullwidth .dmach-acf-item-content > p.dmach-acf-value {
    display: block !important;
    grid-template-columns: none !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Säkerställ att innehållet inte begränsas */

body .climaco_table_fullwidth .dmach-acf-item-content {
    width: 100% !important;
    max-width: 100% !important;
}




/* Visa innehåll i toggle i 2 kolumner */
.brand-toggle.et_pb_toggle_open .et_pb_toggle_content{
    column-count: 2;
    column-gap: 30px;
}

/*.external-store-links{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px 16px;
}

.external-store-link{
  display:flex;
  align-items:center;
  justify-content:center;
}

.external-store-link img{
  max-width:100%;
  height:auto;
  max-height:40px;  
  width:auto;
  object-fit:contain;
}
*/



/* ==========================================================
   CLIMACO – BUY HERE DIVI TOGGLES
   Version 3.3

   Description:
   Styled Divi Toggle modules for consumers and installers.

   Features:
   - Blue installer / green consumer
   - SVG category icons
   - Subtitle below heading
   - Colored action bar always visible
   - Distributor logos below action bar when expanded
   - Responsive layout
   - Language-specific text for SV / EN / NO

   Divi CSS classes:
   climaco-buy-installer
   climaco-buy-consumer
   ========================================================== */


/* ==========================================================
   1. SHARED DESIGN
   ========================================================== */

.et_pb_toggle.climaco-buy-installer,
.et_pb_toggle.climaco-buy-consumer {

    --buy-color: #62A44E;
    --buy-bg: #E4F5E2;
    --buy-description: "Hitta återförsäljare i hela Sverige.";
    --buy-button: "Konsument hittar butiker här";

    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;

    background: var(--buy-bg) !important;
    border: none !important;
    border-radius: 10px;

    padding: 16px !important;
    margin-bottom: 0 !important;

    position: relative;
    overflow: hidden;
    box-sizing: border-box;

    transition: background .2s ease;
}


/* ==========================================================
   2. INSTALLER COLORS
   ========================================================== */

.et_pb_toggle.climaco-buy-installer {

    --buy-color: #2EA3F2;
    --buy-bg: #E8F5FF;
    --buy-description: "Beställ via våra distributörer.";
    --buy-button: "Installatör beställer här";
}


/* ==========================================================
   3. TOGGLE HEADING
   ========================================================== */

.et_pb_toggle.climaco-buy-installer .et_pb_toggle_title,
.et_pb_toggle.climaco-buy-consumer .et_pb_toggle_title {

    grid-column: 1;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 68px;

    padding: 0 34px 0 84px !important;
    margin: 0 0 16px !important;

    color: #10183E !important;
    font-family: "Open Sans", sans-serif;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35;

    position: relative;

    background-repeat: no-repeat;
    background-position: left center;
    background-size: 68px 68px;

    box-sizing: border-box;
}


/* ==========================================================
   4. SUBTITLE
   ========================================================== */

.et_pb_toggle.climaco-buy-installer .et_pb_toggle_title::after,
.et_pb_toggle.climaco-buy-consumer .et_pb_toggle_title::after {

    content: var(--buy-description);

    display: block;
    margin-top: 4px;

    color: #4C5875;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}


/* ==========================================================
   5. INSTALLER SVG ICON
   ========================================================== */

.et_pb_toggle.climaco-buy-installer .et_pb_toggle_title {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 68'%3E%3Ccircle cx='34' cy='34' r='34' fill='%232EA3F2'/%3E%3Cg fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='34' cy='25' r='10'/%3E%3Cpath d='M17 53v-5c0-9 7-15 17-15s17 6 17 15v5M25 53V43M43 53V43M27 24h14'/%3E%3C/g%3E%3C/svg%3E");
}


/* ==========================================================
   6. CONSUMER SVG ICON
   ========================================================== */

.et_pb_toggle.climaco-buy-consumer .et_pb_toggle_title {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 68'%3E%3Ccircle cx='34' cy='34' r='34' fill='%2362A44E'/%3E%3Cg fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 16h7l7 27h23l6-19H24M29 49h23'/%3E%3Ccircle cx='32' cy='54' r='3'/%3E%3Ccircle cx='49' cy='54' r='3'/%3E%3C/g%3E%3C/svg%3E");
}


/* ==========================================================
   7. DIVI OPEN / CLOSE ICON
   ========================================================== */

.et_pb_toggle.climaco-buy-installer .et_pb_toggle_title::before,
.et_pb_toggle.climaco-buy-consumer .et_pb_toggle_title::before {

    content: "\33" !important;
    font-family: ETmodules !important;

    color: var(--buy-color) !important;
    font-size: 24px !important;
    font-weight: normal !important;

    right: 4px !important;
    margin-top: -12px;

    transition: transform .2s ease;
}

.et_pb_toggle_open.climaco-buy-installer .et_pb_toggle_title::before,
.et_pb_toggle_open.climaco-buy-consumer .et_pb_toggle_title::before {

    transform: rotate(180deg);
}


/* ==========================================================
   8. COLORED ACTION BAR
   Always visible below heading
   ========================================================== */

.et_pb_toggle.climaco-buy-installer::after,
.et_pb_toggle.climaco-buy-consumer::after {

    content: var(--buy-button) "  →";

    grid-column: 1;
    grid-row: 2;

    position: static !important;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 43px;

    padding: 10px 16px;
    box-sizing: border-box;

    background: var(--buy-color);
    color: #FFFFFF;

    border-radius: 6px;

    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;

    pointer-events: none;
}


/* ==========================================================
   9. EXPANDED TOGGLE CONTENT
   ========================================================== */

.et_pb_toggle_open.climaco-buy-installer,
.et_pb_toggle_open.climaco-buy-consumer {

    grid-template-rows: auto auto auto;
}

.et_pb_toggle.climaco-buy-installer .et_pb_toggle_content,
.et_pb_toggle.climaco-buy-consumer .et_pb_toggle_content {

    grid-column: 1;
    grid-row: 3;

    padding: 14px 0 0 !important;
    margin: 0 !important;

    min-width: 0;
}


/* ==========================================================
   10. DISTRIBUTOR LOGO GRID
   ========================================================== */

.climaco-buy-links {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.climaco-buy-link {

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 70px;
    padding: 12px;

    background: #FFFFFF;
    border: 1px solid #E0EAF3;
    border-radius: 6px;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        transform .2s ease;
}

.climaco-buy-link:hover {

    border-color: var(--buy-color);
    transform: translateY(-2px);
}

.climaco-buy-link img {

    display: block;

    width: 100%;
    max-width: 145px;
    height: 44px;

    object-fit: contain;
}


/* ==========================================================
   11. EMPTY STATE
   ========================================================== */

.climaco-buy-empty {

    background: rgba(255,255,255,.7);

    border-radius: 6px;
    padding: 14px;

    color: #4C5875;
    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================================
   12. WPML – ENGLISH
   ========================================================== */

html[lang^="en"] .climaco-buy-installer {

    --buy-description: "Order through our distributors.";
    --buy-button: "Installers order here";
}

html[lang^="en"] .climaco-buy-consumer {

    --buy-description: "Find retailers throughout Sweden.";
    --buy-button: "Consumers find stores here";
}


/* ==========================================================
   13. WPML – NORWEGIAN
   ========================================================== */

html[lang^="nb"] .climaco-buy-installer,
html[lang^="no"] .climaco-buy-installer {

    --buy-description: "Bestill via våre distributører.";
    --buy-button: "Installatører bestiller her";
}

html[lang^="nb"] .climaco-buy-consumer,
html[lang^="no"] .climaco-buy-consumer {

    --buy-description: "Finn forhandlere i hele Sverige.";
    --buy-button: "Forbrukere finner butikker her";
}


/* ==========================================================
   14. TABLET
   ========================================================== */

@media (max-width: 980px) {

    .et_pb_toggle.climaco-buy-installer .et_pb_toggle_title,
    .et_pb_toggle.climaco-buy-consumer .et_pb_toggle_title {

        min-height: 56px;

        padding-left: 70px !important;

        background-size: 56px 56px;

        font-size: 17px !important;
    }
}


/* ==========================================================
   15. MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .et_pb_toggle.climaco-buy-installer,
    .et_pb_toggle.climaco-buy-consumer {

        padding: 14px !important;
    }

    .et_pb_toggle.climaco-buy-installer .et_pb_toggle_title,
    .et_pb_toggle.climaco-buy-consumer .et_pb_toggle_title {

        font-size: 16px !important;
        margin-bottom: 14px !important;
    }

    .et_pb_toggle.climaco-buy-installer .et_pb_toggle_title::after,
    .et_pb_toggle.climaco-buy-consumer .et_pb_toggle_title::after {

        font-size: 12px;
    }

    .et_pb_toggle.climaco-buy-installer::after,
    .et_pb_toggle.climaco-buy-consumer::after {

        min-height: 40px;
        font-size: 13px;
        padding: 10px;
    }

    .climaco-buy-links {

        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.et_pb_toggle.climaco-buy-installer,
.et_pb_toggle.climaco-buy-consumer {
    cursor: pointer;
}

.climaco-buy-links,
.climaco-buy-link {
    cursor: auto;
}

.climaco-buy-link {
    cursor: pointer;
}

/* Gör alla knappar till flex så text och ikon separeras */
.yt-video-btn .et_pb_button, .climaco-button .et_pb_button, a.et_pb_button.climaco-button, 
a.et_pb_button.yt-video-btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    padding-right:40px;
}

/* Placera ikonen till höger och centrera vertikalt */
.yt-video-btn .et_pb_button:after, .climaco-button .et_pb_button:after, a.et_pb_button.climaco-button:after,
a.et_pb_button.yt-video-btn:after{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    margin:0;
}

/* Neo ikoner*/ 

.neo-icons {
  display: flex;
  
} 

.neo-icons > * {
  width: 52px;
  height: 52px;
}

.neo-icons > * + * {
  margin-left: -8px; /* överlapp 2px */
}

@media (max-width: 767px){
	
.neo-icons > * {
  width: 40px;
  height: 40px;
}
  }


.new-icon{
    margin-top:8px;
}



/* ==========================================================
   CLIMACO – NEO PRODUCT ICONS
   Version 1.0

   Shortcode: [neo_product_icons]

   Horizontal icon groups with visible titles.
   Designed for placement above product titles.
   ========================================================== */

.neo-product-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;

    width: 100%;
    margin-bottom: 15px;

    font-family: 'Open Sans', sans-serif;
}

/* Individual icon + title */

.neo-product-icon-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    flex: 0 0 auto;
    max-width: 100%;
}

/* Icon image */

.neo-product-icons .neo-icon {
    display: block;
    width: 45px;
    height: 45px;

    max-width: none;
    object-fit: contain;

    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

/* Icon title */

.neo-product-icon-title {
    display: inline-block;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;

    color: var(--climaco-text, #10183E);

    white-space: normal;
}

/* Mobile */

@media (max-width: 767px) {

/* TAR BORT IKONER HÄR
   .neo-product-icons {
        gap: 10px 16px;
        margin-bottom: 12px;
    }

    .neo-product-icons .neo-icon {
        width: 38px;
        height: 38px;
    }

    .neo-product-icon-title {
        font-size: 14px;
    } */
}

/* ==========================================================
   CLIMACO – NEO PRODUCT ICONS
   Mobile: Show icons only
   ========================================================== */

@media (max-width: 767px) {

    /* Hide icon titles */
    .neo-product-icon-title {
        display: none !important;
    }

    /* Reduce spacing between icons */
    .neo-product-icons {
        gap: 10px;
    }

    /* Icon size */
    .neo-product-icons .neo-icon {
        width: 38px;
        height: 38px;
    }
}



/* ==========================================================
   CLIMACO – POPULAR BRANDS v1.0
   ========================================================== */

.climaco-popular-brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.climaco-popular-brands .climaco-brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;
    min-height: 46px;

    background: var(--climaco-blue-light, #E8F5FF);
    border: 1px solid var(--climaco-border-blue, #CFE4F8);
    border-radius: 10px;

    color: var(--climaco-blue-hover, #1688D3);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;

    transition: all .2s ease;
}

.climaco-popular-brands .climaco-brand-btn:hover {
    background: var(--climaco-blue, #2EA3F2);
    border-color: var(--climaco-blue, #2EA3F2);
    color: var(--climaco-white, #FFFFFF);
}

.climaco-popular-brands .climaco-brand-btn:focus-visible {
    outline: 2px solid var(--climaco-blue-hover, #1688D3);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .climaco-popular-brands {
        gap: 8px;
    }

    .climaco-popular-brands .climaco-brand-btn {
        padding: 10px 14px;
        min-height: 42px;
        font-size: 14px;
    }
}

/* CLIMACO – NUMBERED BLURBS */

.climaco-step-row {
    counter-reset: climaco-step;
}

.climaco-step-blurb {
    counter-increment: climaco-step;
    background: #EDF7FD;
    border: 1px solid #E0EAF3;
    border-radius: 6px;
    padding: 18px 16px;
}

.climaco-step-blurb .et_pb_blurb_content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.climaco-step-blurb .et_pb_blurb_content::before {
    content: counter(climaco-step);
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2EA3F2;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
}

.climaco-step-blurb .et_pb_blurb_container {
    padding: 0;
    flex: 1;
}

.climaco-step-blurb .et_pb_module_header {
    padding: 0;
    margin: 0;
    color: #10183E;
    font-size: 15px;
    font-weight: 700;
}


/* ==========================================
   CLIMACO – NUMBERED BLURBS
   Alternativ: Stora siffror ovanför rubriken
   ========================================== */

.climaco-step-blurb.climaco-step-large {
    padding: 25px 20px;
    text-align: center;
}

/* Vertikal layout */
.climaco-step-blurb.climaco-step-large
.et_pb_blurb_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* Större numrerad cirkel */
.climaco-step-blurb.climaco-step-large
.et_pb_blurb_content::before {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    background: #2EA3F2;
    color: #FFFFFF;
}

/* Rubrik och beskrivning */
.climaco-step-blurb.climaco-step-large
.et_pb_blurb_container {
    width: 100%;
    padding: 0;
    text-align: center;
}

.climaco-step-blurb.climaco-step-large
.et_pb_module_header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}






/* ==========================================================
   CLIMACO – PRODUCT GALLERY
   Version: 1.1.0

   Desktop: 8 columns
   Tablet:  5 columns
   Mobile:  5 columns

   Square thumbnails with object-fit: cover
   ========================================================== */

.climaco-product-gallery {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

/* Gallery items */
.climaco-product-gallery .climaco-gallery-item {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Clickable square */
.climaco-product-gallery .climaco-gallery-item a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: zoom-in;
}

/* Images */
.climaco-product-gallery .climaco-gallery-item img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    object-position: center;
    transition: transform 0.25s ease;
}

/* Hover */
@media (hover: hover) {
    .climaco-product-gallery .climaco-gallery-item a:hover img {
        transform: scale(1.05);
    }
}

/* Tablet and mobile */
@media (max-width: 980px) {
    .climaco-product-gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
    }
}




/* ==========================================================
   CLIMACO – PRODUCT SPECIFICATIONS
   Shortcode: [climaco_product_specs]
   Version: 1.0.0
   ========================================================== */

.climaco-product-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    font-family: "Open Sans", sans-serif;
    margin: 20px 0;
}

.climaco-product-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0 12px;
    min-width: 0;
}

/* Vertical dividers */
.climaco-product-spec:not(:first-child) {
    border-left: 1px solid var(
        --climaco-border-light,
        #EDF1F3
    );
}

/* Icons */
.climaco-product-spec-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

/* Text */
.climaco-product-spec-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.climaco-product-spec-title {
    color: var(--climaco-text, #10183E);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.climaco-product-spec-subtitle {
    color: var(--climaco-text, #10183E);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 980px) {

    .climaco-product-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .climaco-product-spec:nth-child(odd) {
        border-left: none;
    }

    .climaco-product-spec:nth-child(even) {
        border-left: 1px solid var(
            --climaco-border-light,
            #EDF1F3
        );
    }
}

/* Mobile */
@media (max-width: 480px) {

    .climaco-product-spec {
        padding: 0 8px;
    }

    .climaco-product-spec-title {
        font-size: 15px;
    }

    .climaco-product-spec-subtitle {
        font-size: 12px;
    }

    .climaco-product-spec-icon {
        margin-bottom: 8px;
    }
}


/* ==========================================================
   CLIMACO – PRODUCT SPECS: BENEFITS
   Version: 1.0
   ========================================================== */

.climaco-product-specs--benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 20px 0;
}

/* Each specification */
.climaco-product-specs--benefits .climaco-product-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-width: 0;
    padding: 0 12px;
}

/* Dividers */
.climaco-product-specs--benefits
.climaco-product-spec:not(:first-child) {
    border-left: 1px solid #EDF1F3;
}

/* SVG icons */
.climaco-product-specs--benefits
.climaco-product-spec-icon {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0 auto 8px;
}

/* Centered text */
.climaco-product-specs--benefits
.climaco-product-spec-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.climaco-product-specs--benefits
.climaco-benefit-text {
    color: #10183E;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Tablet and mobile */
@media (max-width: 767px) {

    .climaco-product-specs--benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .climaco-product-specs--benefits
    .climaco-product-spec:nth-child(odd) {
        border-left: none;
    }

    .climaco-product-specs--benefits
    .climaco-product-spec:nth-child(even) {
        border-left: 1px solid #EDF1F3;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .climaco-product-specs--benefits
    .climaco-product-spec {
        padding: 0 8px;
    }

    .climaco-product-specs--benefits
    .climaco-benefit-text {
        font-size: 12px;
    }
}




/* USP i produktkategorier */

.product-cat-usp-image{
  display:block;
  max-width:100%;
  height:auto;
	margin:0 auto;
}

.hide-toggle-if-empty, .hide-usp-if-empty {
    display:none;
}


/* Gör ACF-bilden klickbar */
.acf-image-modal img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.acf-image-modal img:hover {
  opacity: 0.9;
}

/* Modal */
.climaco-image-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: rgba(0,0,0,0.88);
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.climaco-image-modal.is-open {
  display: flex;
}

.climaco-image-modal img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border-radius: 4px;
}

.climaco-image-modal-close{
  position:absolute;
  top:40px;
  right:40px;
  font-size:42px;
  color:#ffffff;
  cursor:pointer;
  background:transparent;
  border:none;
  line-height:1;
  z-index:100000;
  transition:opacity .2s;
}

.climaco-image-modal-close:hover{
  opacity:0.7;
}

/* Relaterade produkter på produktkortet */

/* Fast 4:3-bildyta på related-produktkort */
.climaco-related .et_pb_de_mach_thumbnail .et_pb_module_inner {
    aspect-ratio: 4 / 3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.climaco-related .et_pb_de_mach_thumbnail .et_pb_module_inner > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.climaco-related .et_pb_de_mach_thumbnail img.featured-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Gör grid-raden stretchbar */
.climaco-related .grid-posts.loop-grid {
    display: grid !important;
    align-items: stretch;
}

/* Varje produktkort fyller cellens höjd */
.climaco-related .dmach-grid-item {
    height: 100%;
}

.climaco-related .grid-item-cont,
.climaco-related .bc-link-whole-grid-card {
    height: 100%;
}

/* Själva vita kortet */
.climaco-related .bc-link-whole-grid-card > .et_pb_section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Sista raden med Läs mer trycks längst ner */
.climaco-related .bc-link-whole-grid-card > .et_pb_section > .et_pb_row:last-child {
    margin-top: auto !important;
}

/* =========================================
   Climaco Steps v2
   ========================================= */

.climaco-steps-v2 {
    display: flex;
    align-items: center;

    width: 100%;
    max-width: var(--climaco-steps-max-width, 850px);

    margin: 0 auto;
    padding: 15px 0;

    box-sizing: border-box;
}

/* Each step */
.climaco-steps-v2 .climaco-step {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.climaco-steps-v2 .climaco-step:last-child {
    flex: 0 0 auto;
}

/* Content */
.climaco-steps-v2 .climaco-step__content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Circle */
.climaco-steps-v2 .climaco-step__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
    flex: 0 0 24px;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Label */
.climaco-steps-v2 .climaco-step__label {
    color: #687684;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
}

/* Active label */
.climaco-steps-v2
.climaco-step--active
.climaco-step__label {
    color: #3478dc;
    font-weight: 700;
}

/* Connector */
.climaco-steps-v2 .climaco-step__line {
    height: 2px;
    background: #dce3e8;

    flex: 1;
    min-width: 15px;
    margin: 0 14px;
}

/* =========================================
   Mobile
   ========================================= */

@media (max-width: 767px) {

    .climaco-steps-v2 {
        align-items: flex-start;
        width: 100%;
        padding: 12px 0;
        overflow: visible;
    }

    .climaco-steps-v2 .climaco-step,
    .climaco-steps-v2 .climaco-step:last-child {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
    }

    .climaco-steps-v2 .climaco-step__content {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 7px;
        position: relative;
        z-index: 2;
    }

    .climaco-steps-v2 .climaco-step__circle {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
    }

    .climaco-steps-v2 .climaco-step__label {
        width: 100%;
        padding: 0 3px;

        text-align: center;
        font-size: 10px;
        line-height: 1.25;

        white-space: normal;
        overflow-wrap: break-word;
    }

    .climaco-steps-v2 .climaco-step__line {
        position: absolute;

        top: 12px;
        left: calc(50% + 18px);
        width: calc(100% - 36px);
        height: 2px;

        margin: 0;
        min-width: 0;
        z-index: 1;
    }
}


/* =========================================
   Climaco Option Card
   ========================================= */

.climaco-option-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}


/* Image
----------------------------------------- */

.climaco-option-card__image-wrap {
    position: relative;
    overflow: hidden;
}

.climaco-option-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}


/* Number badge
----------------------------------------- */

.climaco-option-card__number {
    position: absolute;
    top: 12px;
    left: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: #2f8be6;
    color: #ffffff;

    border: 2px solid #ffffff;
    border-radius: 50%;

    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}


/* Content
----------------------------------------- */

.climaco-option-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 18px;
}


/* Eyebrow
----------------------------------------- */

.climaco-option-card__eyebrow {
    margin-bottom: 8px;

    color: #63a779;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* Title
----------------------------------------- */

.climaco-option-card__title {
    margin: 0 0 12px !important;
    padding: 0 !important;

    color: #102d5c;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}


/* Description
----------------------------------------- */

.climaco-option-card__description {
    margin-bottom: 15px;

    color: #687586;

    font-size: 14px;
    line-height: 1.5;
}

.climaco-option-card__description p {
    margin: 0;
    padding: 0;
}


/* Checklist
----------------------------------------- */

.climaco-option-card__checklist {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin: 0 0 18px !important;
    padding: 0 !important;

    list-style: none !important;
}

.climaco-option-card__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    color: #536172;

    font-size: 13px;
    line-height: 1.4;
}

.climaco-option-card__status {
    flex: 0 0 auto;

    font-weight: 700;
}

.climaco-option-card__item--positive .climaco-option-card__status {
    color: #48b77c;
}

.climaco-option-card__item--negative .climaco-option-card__status {
    color: #d95a5a;
}


/* Button
----------------------------------------- */

.climaco-option-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin-top: auto;
    padding: 11px 15px;

    background: #2f8be6;
    color: #ffffff !important;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;

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

.climaco-option-card__button:hover {
    background: #2078ce;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* =========================================
   Climaco Option Cards
   Divi 4-column row
   ========================================= */

/*
 * Låt Divi sköta själva kolumnlayouten.
 * Vi använder bara flex för att få lika höga kort.
 */

.climaco-option-grid {
    display: flex;
    align-items: stretch;
}


/* Varje Divi-kolumn */
.climaco-option-grid > .et_pb_column {
    display: flex;
    flex-direction: column;
}


/* Textmodulen fyller kolumnens höjd */
.climaco-option-grid .et_pb_text {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* Divis interna text-container */
.climaco-option-grid .et_pb_text_inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* Själva kortet */
.climaco-option-grid .climaco-option-card {
    width: 100%;
    height: 100%;
    flex: 1;
}


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 980px) {

    .climaco-option-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .climaco-option-grid > .et_pb_column {
        width: calc(50% - 10px) !important;
        margin: 0 !important;
    }

}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 767px) {

    .climaco-option-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .climaco-option-grid > .et_pb_column {
        width: 100% !important;
        margin: 0 !important;
    }

}

/* Mobile
----------------------------------------- */

@media (max-width: 767px) {

    .climaco-option-card__content {
        padding: 16px;
    }

    .climaco-option-card__title {
        font-size: 18px;
    }

}

/* =========================================
   Climaco Warning Card
   ========================================= */

.climaco-warning-card {
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;

    width: 100%;
    overflow: hidden;

    background: #fff7f6;

    border: 1px solid #ef9b94;
    border-radius: 12px;
}


/* Image
----------------------------------------- */

.climaco-warning-card__image-wrap {
    min-height: 260px;
    overflow: hidden;
}

.climaco-warning-card__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Content
----------------------------------------- */

.climaco-warning-card__content {
    display: flex;
    flex-direction: column;

    padding: 28px 32px;
}


/* Eyebrow
----------------------------------------- */

.climaco-warning-card__eyebrow {
    margin-bottom: 10px;

    color: #df3b2f;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;

    text-transform: uppercase;
}


/* Title
----------------------------------------- */

.climaco-warning-card__title {
    margin: 0 0 14px !important;
    padding: 0 !important;

    color: #a92f28;

    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}


/* Description
----------------------------------------- */

.climaco-warning-card__description {
    margin-bottom: 22px;

    color: #677286;

    font-size: 15px;
    line-height: 1.55;
}

.climaco-warning-card__description p {
    margin: 0;
    padding: 0;
}


/* Risks
----------------------------------------- */

.climaco-warning-card__risks {
    display: flex;
    flex-wrap: wrap;

    gap: 14px 28px;

    margin: 0 0 24px !important;
    padding: 0 !important;

    list-style: none !important;
}

.climaco-warning-card__risk {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #39475b;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.climaco-warning-card__risk-icon {
    color: #ef5b52;

    font-size: 16px;
}


/* Button
----------------------------------------- */

.climaco-warning-card__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    align-self: flex-start;

    min-width: 365px;

    padding: 13px 22px;

    background: #df382d;
    color: #ffffff !important;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;
}

.climaco-warning-card__button:hover {
    background: #c92f26;
    color: #ffffff !important;
}


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 980px) {

    .climaco-warning-card {
        grid-template-columns: 1fr;
    }

    .climaco-warning-card__image-wrap {
        min-height: 0;
    }

    .climaco-warning-card__image {
        height: auto;
        aspect-ratio: 16 / 8;
    }

}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 767px) {

    .climaco-warning-card__content {
        padding: 22px 18px;
    }

    .climaco-warning-card__title {
        font-size: 24px;
    }

    .climaco-warning-card__risks {
        flex-direction: column;
        gap: 10px;
    }

    .climaco-warning-card__button {
        align-self: stretch;
        min-width: 0;
        width: 100%;
    }

}

/* =========================================
   Climaco Comparison Table
   ========================================= */

.climaco-comparison-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    border-radius: 12px;
}

.climaco-comparison-table {
    width: 100%;
    min-width: 900px;

    border-collapse: separate;
    border-spacing: 0;

    background: #ffffff;

    color: #35435b;

    font-size: 14px;
    line-height: 1.25;
}


/* Header
----------------------------------------- */

.climaco-comparison-table thead th {
    padding: 14px 16px;

    background: #2563a6;
    color: #ffffff;

    border-right: 1px solid rgba(255,255,255,0.35);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;

    text-align: left;
    vertical-align: middle;
}

.climaco-comparison-table thead th:first-child {
    border-top-left-radius: 12px;
}

.climaco-comparison-table thead th:last-child {
    border-top-right-radius: 12px;
    border-right: 0;
}


/* Cells
----------------------------------------- */

.climaco-comparison-table tbody th,
.climaco-comparison-table tbody td {
    padding: 14px 16px;

    border-right: 1px solid #dbe4ed;
    border-bottom: 1px solid #dbe4ed;

    text-align: left;
    vertical-align: middle;
}

.climaco-comparison-table tbody td:last-child {
    border-right: 0;
}


/* First column
----------------------------------------- */

.climaco-comparison-table tbody th {
    width: 190px;

    color: #253553;

    font-weight: 700;
}


/* Alternating rows
----------------------------------------- */

.climaco-comparison-table tbody tr:nth-child(odd) th,
.climaco-comparison-table tbody tr:nth-child(odd) td {
    background: #eaf4fb;
}

.climaco-comparison-table tbody tr:nth-child(even) th,
.climaco-comparison-table tbody tr:nth-child(even) td {
    background: #ffffff;
}


/* Status values
----------------------------------------- */

.climaco-table-status {
    font-weight: 700;
}

.climaco-table-status--good {
    color: #3b9d73;
}

.climaco-table-status--medium {
    color: #cf941e;
}


/* Bottom corners
----------------------------------------- */

.climaco-comparison-table tbody tr:last-child th {
    border-bottom-left-radius: 12px;
}

.climaco-comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}


/* =========================================
   Tablet / Mobile
   ========================================= */

@media (max-width: 980px) {

    .climaco-comparison-table {
        font-size: 13px;
    }

    .climaco-comparison-table thead th,
    .climaco-comparison-table tbody th,
    .climaco-comparison-table tbody td {
        padding: 12px 14px;
    }

}


/* ==========================================
   CLIMACO – Compare Heat Cables
   EcoFlex vs IceFlex
   ========================================== */

.climaco_compare_heatcables {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #a8d5fa;
  border-radius: 9px;
}

/* Tabell */
.climaco_compare_heatcables table {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: none !important;
  margin: 0 !important;
  font-size: 14px;
  color: #10183e;
}

/* Alla celler */
.climaco_compare_heatcables th,
.climaco_compare_heatcables td {
  padding: 10px 14px !important;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
  border: none !important;
  border-right: 1px solid #a8d5fa !important;
  border-bottom: 1px solid #a8d5fa !important;
}

/* Rubrikrad */
.climaco_compare_heatcables thead th {
  background: #e8f5ff !important;
  font-size: 16px;
  font-weight: 700;
  color: #10183e;
}

/* Första kolumnen */
.climaco_compare_heatcables tbody th {
  width: 23%;
  font-weight: 700;
  background: #f2faff !important;
  white-space: nowrap;
}

/* Datakolumner */
.climaco_compare_heatcables td {
  width: 38.5%;
}

/* Varannan rad */
.climaco_compare_heatcables tbody tr:nth-child(even) td {
  background: #f8fcff !important;
}

/* Ta bort yttre dubbla linjer */
.climaco_compare_heatcables tr > *:last-child {
  border-right: none !important;
}

.climaco_compare_heatcables tbody tr:last-child > * {
  border-bottom: none !important;
}

/* Mobil */
@media (max-width: 767px) {
  .climaco_compare_heatcables table {
    min-width: 620px;
    font-size: 13px;
  }

  .climaco_compare_heatcables th,
  .climaco_compare_heatcables td {
    padding: 8px 10px !important;
  }
}


/* =========================================
   Product Category Comparison
   ========================================= */

.climaco-product-comparison {
    width: 100%;
}


/* Heading
----------------------------------------- */

.climaco-product-comparison__title {
    margin: 0 0 12px !important;
    padding: 0 !important;

    color: #10295c;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}


/* Responsive table wrapper
----------------------------------------- */

.climaco-product-comparison__scroll {
    width: 100%;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    border: 1px solid #d9e1e8;
    border-radius: 5px;
}


/* Table
----------------------------------------- */

.climaco-product-comparison__table {
    width: 100%;
   

    margin: 0 !important;

    border: 0;
    border-collapse: collapse;

    background: #ffffff;

    color: #243550;

    font-size: 14px;
    line-height: 1.35;
}


/* Header
----------------------------------------- */

.climaco-product-comparison__table thead th {
    padding: 10px 20px;

    background: #eef2f5;

    color: #10295c;

    border-right: 1px solid #d9e1e8;
    border-bottom: 1px solid #d9e1e8;

    font-weight: 700;
    text-align: left;
    vertical-align: middle;
}

.climaco-product-comparison__table thead th:last-child {
    border-right: 0;
}


/* Body
----------------------------------------- */

.climaco-product-comparison__table tbody th,
.climaco-product-comparison__table tbody td {
    padding: 10px 20px;

    border-right: 1px solid #d9e1e8;
    border-bottom: 1px solid #d9e1e8;

    text-align: left;
    vertical-align: middle;
}

.climaco-product-comparison__table tbody th {
    min-width: 185px;

    color: #243550;

    font-weight: 600;
}

.climaco-product-comparison__table tbody td:last-child {
    border-right: 0;
}

.climaco-product-comparison__table tbody tr:last-child th,
.climaco-product-comparison__table tbody tr:last-child td {
    border-bottom: 0;
}


/* Alternating rows
----------------------------------------- */

.climaco-product-comparison__table tbody tr:nth-child(even) th,
.climaco-product-comparison__table tbody tr:nth-child(even) td {
    background: #f7f9fa;
}


/* Tablet/mobile
----------------------------------------- */

@media (max-width: 980px) {

    .climaco-product-comparison__title {
        font-size: 24px;
    }

    .climaco-product-comparison__table {
        font-size: 13px;
    }

    .climaco-product-comparison__table thead th,
    .climaco-product-comparison__table tbody th,
    .climaco-product-comparison__table tbody td {
        padding: 10px 14px;
    }

}



/* ==========================================================
   CLIMACO – COMPARISON TABLES v2.1.0
   Shared styling for all comparison tables
   Uses Climaco Global Design System
   ========================================================== */

/* Main container */

.climaco-comparison {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding: 24px;

    background: var(--climaco-background);
    border: 1px solid var(--climaco-border);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);

    font-family: "Open Sans", sans-serif;
    color: var(--climaco-text);
}

.climaco-comparison *,
.climaco-comparison *::before,
.climaco-comparison *::after {
    box-sizing: border-box;
}

/* Heading */

.climaco-comparison-title {
    margin: 0 0 14px;
    padding: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--climaco-text);
}

/* Scroll container */

.climaco-comparison-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Table */

.climaco-comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 2px;
    table-layout: fixed;
    border: 0;
    margin: 0;
}

.climaco-comparison-table th,
.climaco-comparison-table td {
    border: 0;
    padding: 9px 13px;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: break-word;
}

/* Column widths */

.climaco-comparison-table th:first-child {
    width: 26%;
}

.climaco-comparison-table th:not(:first-child) {
    width: 18.5%;
}

/* Header */

.climaco-comparison-table thead th {
    background: var(--climaco-navy);
    color: var(--climaco-white);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 10px 12px;
}

/* Row labels */

.climaco-comparison-table tbody th {
    color: var(--climaco-navy);
    font-weight: 700;
}

/* Alternating rows */

.climaco-comparison-table tbody tr:nth-child(odd) th,
.climaco-comparison-table tbody tr:nth-child(odd) td {
    background: var(--climaco-background-blue);
    border-radius: 10px;
}

.climaco-comparison-table tbody tr:nth-child(even) th,
.climaco-comparison-table tbody tr:nth-child(even) td {
    background: var(--climaco-background);
}

/* Emphasized rows */

.climaco-comparison-table
.climaco-comparison-emphasis td {
    font-weight: 700;
}

/* Success rows */

.climaco-comparison-table
.climaco-comparison-success td {
    color: var(--climaco-green);
    font-weight: 400;
}

/* Footnote */

.climaco-comparison-note {
    margin: 12px 0 0;
    padding: 0;
    color: var(--climaco-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Mobile */

@media (max-width: 767px) {

    .climaco-comparison {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .climaco-comparison-title {
        font-size: 22px;
    }

    .climaco-comparison-table {
        min-width: 760px;
    }

    .climaco-comparison-table th,
    .climaco-comparison-table td {
        font-size: 13px;
        padding: 9px 10px;
    }

    .climaco-comparison-note {
        font-size: 12px;
    }
}



/* =========================================
   CLIMACO – SUPPORT CTA
   Shortcode: [cta-support]
   ========================================= */

.climaco-cta-support {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;

    width: 100%;
    padding: 20px 24px;

    border: 1px solid #cfe9f7;
    border-radius: 8px;

    background: #f2faff;
    max-width: 1400px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  
}

.climaco-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: #079be8;
    color: #fff;

    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.climaco-cta-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.climaco-cta-title {
    font-size: 18px;
    line-height: 1.3;
}

.climaco-cta-text {
    font-size: 15px;
    line-height: 1.5;
}

.climaco-cta-button {
    display: inline-block;

    padding: 12px 28px;

    border: 2px solid #079be8;
    border-radius: 4px;

    background: #fff;
    color: #2ea3f2 !important;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

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

.climaco-cta-button:hover {
    background: #1688d3;
    color: #fff !important;
}

@media (max-width: 767px) {

    .climaco-cta-support {
        grid-template-columns: auto 1fr;
    }

    .climaco-cta-button {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
    }
}




/* ==========================================================
   CLIMACO – PRODUCT IDENTIFIERS v1.0
   Responsive product identifiers
   ========================================================== */

.climaco-product-identifiers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-family: "Open Sans", sans-serif;
    color: var(--climaco-text, #10183E);
	font-size: 0.8em;
}

/* Each identifier */
.climaco-identifier-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 15px;
    gap: 4px;
    box-sizing: border-box;
}

/* First item */
.climaco-identifier-item:first-child {
    padding-left: 0;
}

/* Last item */
.climaco-identifier-item:last-child {
    padding-right: 0;
}

/* Black separators */
.climaco-identifier-item + .climaco-identifier-item {
    border-left: 1px solid #ccc;
}

/* Labels */
.climaco-identifier-label {
    font-weight: 600;
    font-size: 1.2em;
    white-space: nowrap;
}

/* Values */
.climaco-identifier-value {
    font-size: 1.2em;
    overflow-wrap: anywhere;
}

/* Mobile */
@media (max-width: 980px) {

    .climaco-product-identifiers {
        flex-direction: column;
        align-items: stretch;
    }

    .climaco-identifier-item {
        width: 100%;
        flex: 0 0 auto;
        justify-content: flex-start;
        padding: 10px 0;
        border-left: none !important;
    }

    .climaco-identifier-item + .climaco-identifier-item {
        border-top: 1px solid #000000;
    }
}



/* ==========================================================
   CLIMACO – PRODUCT BUTTONS v12.0
   ==========================================================

   Supports:
   - Divi Button modules
   - Divi Machine ACF Item buttons
   - Primary / PS / TDS variants
   - Desktop and mobile

   Classes:
   Column: climaco-product-layout
   Full button: climaco-button-full
   Half button: climaco-button-half

   Desktop:
   - Full buttons span two columns
   - Two half buttons share a row

   Mobile:
   - All buttons stacked

   ========================================================== */


/* ==========================================================
   1. COLUMN GRID
   ========================================================== */

.et_pb_column.climaco-product-layout {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 15px !important;
    row-gap: 0 !important;
    align-content: start;
}

/* Other modules span full width */
.et_pb_column.climaco-product-layout > * {
    grid-column: 1 / -1;
    min-width: 0;
}


/* ==========================================================
   2. BUTTON MODULES
   ========================================================== */

/* Both Divi and Divi Machine */
.et_pb_column.climaco-product-layout
> :is(
    .et_pb_button_module_wrapper,
    .et_pb_de_mach_acf_item
):is(
    .climaco-button-full,
    .climaco-button-half,
    :has(.climaco-button-full),
    :has(.climaco-button-half)
) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 15px !important;
}

/* Full-width buttons */
.et_pb_column.climaco-product-layout
> :is(
    .et_pb_button_module_wrapper,
    .et_pb_de_mach_acf_item
):is(
    .climaco-button-full,
    :has(.climaco-button-full)
) {
    grid-column: 1 / -1 !important;
}

/* Half-width buttons */
.et_pb_column.climaco-product-layout
> :is(
    .et_pb_button_module_wrapper,
    .et_pb_de_mach_acf_item
):is(
    .climaco-button-half,
    :has(.climaco-button-half)
) {
    grid-column: auto !important;
}

/* Actual button styling */
.et_pb_column.climaco-product-layout
:is(
    .et_pb_button_module_wrapper,
    .et_pb_de_mach_acf_item
)
.et_pb_button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    text-align: center;
}


/* ==========================================================
   3. VARIANT COMPATIBILITY
   ========================================================== */

/* Preserve grid on active variant columns */
body.product-variant-primary
.et_pb_column.climaco-product-layout.variant-primary,
body.product-variant-ps
.et_pb_column.climaco-product-layout.variant-ps,
body.product-variant-tds
.et_pb_column.climaco-product-layout.variant-tds {
    display: grid !important;
}

/* Hide primary-only modules on PS/TDS */
body.product-variant-ps
.climaco-product-layout
.variant-primary:not(.variant-ps):not(.variant-tds),
body.product-variant-tds
.climaco-product-layout
.variant-primary:not(.variant-ps):not(.variant-tds) {
    display: none !important;
}

/* Hide PS/TDS-only modules on primary */
body.product-variant-primary
.climaco-product-layout
.variant-ps:not(.variant-primary),
body.product-variant-primary
.climaco-product-layout
.variant-tds:not(.variant-primary) {
    display: none !important;
}


/* ==========================================================
   4. MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .et_pb_column.climaco-product-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
    }

    /* All button modules full width */
    .et_pb_column.climaco-product-layout
    > :is(
        .et_pb_button_module_wrapper,
        .et_pb_de_mach_acf_item
    ):is(
        .climaco-button-full,
        .climaco-button-half,
        :has(.climaco-button-full),
        :has(.climaco-button-half)
    ) {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* Buttons fill their module */
    .et_pb_column.climaco-product-layout
    :is(
        .et_pb_button_module_wrapper,
        .et_pb_de_mach_acf_item
    )
    .et_pb_button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        text-align: center;
    }
}

