/* ==========================================================
   CLIMACO HPR – CSS v2.0 (consolidated)
   Global design variables from Divi child theme style.css
   ========================================================== */

.climaco-hpr,
.climaco-hpr * {
    box-sizing: border-box;
}

.climaco-hpr {
    width: 100%;
    max-width: var(--climaco-max-width);
    margin: 0 auto;
    color: var(--climaco-text);
}

/* ==========================================================
   INTRO
   ========================================================== */

.climaco-hpr-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 175px;
}

.climaco-hpr-intro-text {
    flex: 1;
    min-width: 0;
}

.climaco-hpr-intro h1 {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 750;
    line-height: 1.2;
    margin: 0 0 8px;
    padding: 0;
}

.climaco-hpr-intro p {
    font-size: 16px;
    margin: 0;
    color: var(--climaco-text-muted);
}

.climaco-hpr-intro-image {
    width: min(35%, 330px);
    height: 175px;
    object-fit: contain;
}

/* ==========================================================
   TECHNICAL DATA
   ========================================================== */

.climaco-hpr-technical-data {
    display: grid;
    grid-template-columns: 15% 23% repeat(3, minmax(0, 1fr));
    align-items: center;
    min-height: 110px;
    padding: 12px 8px;
    margin-bottom: 20px;
    background: var(--climaco-white);
    border: 1px solid var(--climaco-border);
    border-radius: var(--climaco-radius);
}

.climaco-hpr-technical-data > div {
    min-width: 0;
    padding: 12px 18px;
}

.climaco-hpr-technical-data > div:not(:last-child) {
    border-right: 1px solid var(--climaco-border);
}

.climaco-hpr-tech-logo img {
    display: block;
    width: 100%;
    max-width: 150px;
    max-height: 75px;
    object-fit: contain;
}

.climaco-hpr-tech-model strong {
    display: block;
    font-size: 19px;
    line-height: 1.2;
}

.climaco-hpr-tech-model span {
    display: block;
    margin-top: 5px;
    color: var(--climaco-text-muted);
    font-size: 13px;
}

.climaco-hpr-tech-spec {
    display: flex;
    align-items: center;
    gap: 12px;
}

.climaco-hpr-tech-spec img {
    width: 38px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.climaco-hpr-tech-spec strong,
.climaco-hpr-tech-spec small,
.climaco-hpr-tech-label {
    display: block;
}

.climaco-hpr-tech-label {
    font-size: 12px;
    color: var(--climaco-text-muted);
}

.climaco-hpr-tech-spec strong {
    font-size: 17px;
    line-height: 1.3;
}

.climaco-hpr-tech-spec small {
    font-size: 12px;
    color: var(--climaco-text-muted);
}

/* ==========================================================
   CLIMATE SELECTION
   ========================================================== */

.climaco-hpr-climate-panel {
    padding: 14px;
    margin-bottom: 16px;
    background: var(--climaco-blue-light);
    border-radius: var(--climaco-radius);
}

.climaco-hpr-climate-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 12px;
}

.climaco-hpr-climate-explainer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
}

.climaco-hpr-climate-explainer img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
}

.climaco-hpr-climate-explainer h2 {
    font-size: 21px;
    margin: 0 0 12px;
    padding: 0;
}

.climaco-hpr-climate-explainer p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.climaco-hpr-climate-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 17px 15px;
    border: 2px solid var(--climaco-border-blue);
    border-radius: var(--climaco-radius);
    background: var(--climaco-blue-pale);
    color: var(--climaco-text);
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: border-color .15s, background-color .15s;
}

.climaco-hpr-climate-choice img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.climaco-hpr-climate-choice strong {
    display: block;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 7px;
}

.climaco-hpr-climate-choice span span {
    display: block;
    font-size: 13px;
    line-height: 1.45;
}

.climaco-hpr-choice-mild {
    background: #eef8eb;
}

.climaco-hpr-choice-mild[aria-pressed="true"] {
    border-color: var(--climaco-green);
    background: var(--climaco-green-light);
    box-shadow: 0 0 0 1px var(--climaco-green);
}

.climaco-hpr-choice-cold[aria-pressed="true"] {
    border-color: var(--climaco-blue);
    background: var(--climaco-blue-light);
    box-shadow: 0 0 0 1px var(--climaco-blue);
}

.climaco-hpr-climate-choice:focus-visible {
    outline: 3px solid var(--climaco-text);
    outline-offset: 3px;
}

.climaco-hpr-climate-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    margin-top: 12px;
    background: var(--climaco-blue-pale);
    border: 1px solid var(--climaco-border-blue);
    border-radius: 7px;
}

.climaco-hpr-climate-info img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.climaco-hpr-climate-info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================================
   PRODUCT GRID & CARDS
   ========================================================== */

.climaco-hpr-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.climaco-hpr-product-grid[hidden] {
    display: none !important;
}

.climaco-hpr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    overflow: hidden;
    background: var(--climaco-white);
    border: 1px solid var(--climaco-border);
    border-radius: var(--climaco-radius);
}

/* ==========================================================
   PRODUCT BADGES
   ========================================================== */

.climaco-hpr-badge {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    flex: 0 0 auto;

    width: fit-content;
    max-width: 100%;
    height: auto;

    padding: 7px 13px;
    margin: 0;

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

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

    border-radius: var(--climaco-radius-pill);
}

/* Recommended and priceworthy products */

.climaco-hpr-card-recommended .climaco-hpr-badge,
.climaco-hpr-card-priceworthy .climaco-hpr-badge {
    background-color: var(--climaco-green);
}

/* Alternative trays, series and accessories */

.climaco-hpr-card-alternative .climaco-hpr-badge,
.climaco-hpr-card-series .climaco-hpr-badge,
.climaco-hpr-card-accessory .climaco-hpr-badge {
    background-color: var(--climaco-gray);
}

/* Leaf basket overrides the generic accessory badge. */
.climaco-hpr-card.climaco-hpr-card-leaf .climaco-hpr-badge {
    gap: 8px;
    background-color: var(--climaco-green);
    color: var(--climaco-white);
}

.climaco-hpr-card-leaf .climaco-hpr-badge-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--climaco-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

/* ==========================================================
   PRODUCT IMAGE
   ========================================================== */

.climaco-hpr-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 100%;
    height: 200px;
    margin: 10px 0;
}

.climaco-hpr-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================================
   PRODUCT CONTENT
   ========================================================== */

.climaco-hpr-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.climaco-hpr-card-body h3 {
    font-size: 21px;
    line-height: 1.25;
    padding: 0;
    margin: 6px 0;
}

.climaco-hpr-card-body p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 18px;
    color: var(--climaco-text-secondary);
}

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

.climaco-hpr-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    margin-top: auto;
    padding: var(--climaco-button-padding);

    border-radius: var(--climaco-button-radius);

    background: var(--climaco-button-background) !important;
    color: var(--climaco-button-color) !important;

    text-decoration: none !important;
    font-family: var(--climaco-button-font) !important;
    font-weight: var(--climaco-button-font-weight);
    font-size: var(--climaco-button-font-size);
    line-height: 1.5;

    transition: background-color var(--climaco-transition);
}

.climaco-hpr-button:hover,
.climaco-hpr-button:focus-visible {
    background: var(--climaco-button-hover) !important;
    color: var(--climaco-button-color) !important;
}

/* Dual drainage buttons */

.climaco-hpr-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
}

.climaco-hpr-card-actions .climaco-hpr-button {
    min-width: 0;
    margin-top: 0;
    padding: 11px 9px;
    font-size: 13px;
}

/* Secondary button */

.climaco-hpr .climaco-hpr-button-secondary {
    background: var(--climaco-white) !important;
    color: var(--climaco-blue) !important;
    border: 1px solid var(--climaco-blue);
}

.climaco-hpr .climaco-hpr-button-secondary:hover,
.climaco-hpr .climaco-hpr-button-secondary:focus-visible {
    background: var(--climaco-blue-light) !important;
    color: var(--climaco-blue) !important;
}

/* ==========================================================
   TRAY SPECIFICATIONS
   ========================================================== */

.climaco-hpr-tray-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
    margin: 4px 0 18px;
    min-height: 110px;
}

.climaco-hpr-tray-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    gap: 0;
    text-align: center;
}

.climaco-hpr-tray-spec img {
    display: block;
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.climaco-hpr-tray-spec-value {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
    overflow-wrap: anywhere;
}

.climaco-hpr-tray-spec-thermostat .climaco-hpr-tray-spec-value {
    max-width: 145px;
    margin: 0 auto;
}

/* Keep specifications aligned immediately above the buttons. */
.climaco-hpr-card-body > .climaco-hpr-tray-specs {
    margin-top: auto;
    margin-bottom: 18px;
}

.climaco-hpr-card-body > .climaco-hpr-tray-specs + .climaco-hpr-button,
.climaco-hpr-card-body > .climaco-hpr-tray-specs + .climaco-hpr-card-actions {
    margin-top: 0;
}

/* ==========================================================
   RESPONSIVE – TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .climaco-hpr-technical-data {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .climaco-hpr-technical-data > div {
        border-right: 0 !important;
        border-bottom: 1px solid var(--climaco-border);
    }

    .climaco-hpr-climate-grid {
        grid-template-columns: 1fr 1fr;
    }

    .climaco-hpr-climate-explainer {
        grid-column: 1 / -1;
    }

    .climaco-hpr-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================
   RESPONSIVE – MOBILE
   ========================================================== */

@media (max-width: 680px) {

    .climaco-hpr-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .climaco-hpr-intro-image {
        width: 100%;
        max-width: 300px;
    }

    .climaco-hpr-technical-data,
    .climaco-hpr-climate-grid,
    .climaco-hpr-product-grid {
        grid-template-columns: 1fr;
    }

    .climaco-hpr-climate-explainer {
        grid-column: auto;
    }

    .climaco-hpr-climate-choice {
        padding: 15px;
    }

    .climaco-hpr-climate-panel {
        padding: 10px;
    }

    .climaco-hpr-card-image {
        height: 190px;
    }
}

@media (max-width: 420px) {

    .climaco-hpr-tray-specs {
        gap: 5px;
    }
}

@media (max-width: 380px) {

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

.et_pb_row.climaco-drainagekits-row {
    width: 100% !important;
    max-width: 100% !important;
}

.climaco-drainagekits-row .climaco-hpr {
    width: 100%;
    max-width: none;
	}


/* ==========================================================
   HPR – Drainage Kits
   Full width within Divi row
   ========================================================== */

.climaco-hpr.climaco-hpr-drainagekits {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* HPR – Större bilder för dräneringssatser */

.climaco-hpr .climaco-hpr-card-drainage .climaco-hpr-card-image {
    height: 200px;
    overflow: hidden;
}

.climaco-hpr .climaco-hpr-card-drainage .climaco-hpr-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}

/* ==========================================================
   CLIMACO – PRODUCT RECOMMENDATIONS
   Version 2.3.2

   Shortcode: [climaco_product_recommendations]

   Layout:
   - Desktop: 4 columns
   - Tablet:  2 columns
   - Mobile:  1 column

   Only affects product recommendations.
   Does not change heat pump recommendation cards.
   ========================================================== */


/* ----------------------------------------------------------
   1. SECTION & GRID
   ---------------------------------------------------------- */

.climaco-hpr.climaco-product-recommendations {
  width: 100%;
  max-width: none;
  margin: 0;
}

.climaco-hpr.climaco-product-recommendations
.climaco-hpr-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

/* Equal-height cards */
.climaco-product-recommendations .climaco-hpr-card,
.climaco-product-recommendations .climaco-pr-intro-card {
  min-width: 0;
  height: 100%;
}


/* ----------------------------------------------------------
   2. PRODUCT CARD BADGES
   ---------------------------------------------------------- */

/* Cold climate – blue */
.climaco-product-recommendations
.climaco-hpr-card-cold .climaco-hpr-badge {
  background: var(--climaco-blue, #2EA3F2);
  color: #fff;
}

/* Mild climate – green */
.climaco-product-recommendations
.climaco-hpr-card-mild .climaco-hpr-badge {
  background: var(--climaco-green, #62A44E);
  color: #fff;
}


/* ----------------------------------------------------------
   3. INTRO CARD
   ---------------------------------------------------------- */

.climaco-product-recommendations .climaco-pr-intro-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;

  padding: 16px;

  border: 1px solid var(--climaco-border-blue, #CFE4F8);
  border-radius: var(--climaco-radius, 8px);

  background: linear-gradient(
    155deg,
    #fff 0%,
    var(--climaco-blue-light, #E8F5FF) 65%,
    #D5EAFD 100%
  );
}


/* ----------------------------------------------------------
   4. INTRO BADGE
   ---------------------------------------------------------- */

.climaco-product-recommendations .climaco-pr-intro-badge {
  align-self: flex-start;
  position: relative;
  z-index: 1;

  padding: 5px 12px;
  border-radius: 30px;

  background: var(--climaco-blue-light, #E8F5FF);
  color: var(--climaco-blue-hover, #1688D3);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}


/* ----------------------------------------------------------
   5. INTRO IMAGE
   ---------------------------------------------------------- */

.climaco-product-recommendations .climaco-pr-intro-image {
  display: block;
  width: 100%;
  height: 130px;

  object-fit: contain;
  margin: 6px auto 12px;
}


/* ----------------------------------------------------------
   6. INTRO CONTENT
   ---------------------------------------------------------- */

.climaco-product-recommendations .climaco-pr-intro-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* Heading */
.climaco-product-recommendations .climaco-pr-intro-content h3 {
  margin: 0 0 10px;
  padding: 0;

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

  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 700;
  line-height: 1.18;
}

/* Description */
.climaco-product-recommendations .climaco-pr-intro-content p {
  margin: 0 0 16px;

  color: var(--climaco-text-secondary, #4C5875);

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


/* ----------------------------------------------------------
   7. INTRO BUTTON
   ---------------------------------------------------------- */

.climaco-product-recommendations .climaco-pr-intro-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 44px;
  padding: 10px 14px;

  margin-top: auto;

  border-radius: var(--climaco-radius, 8px);
  background: var(--climaco-button-background, #2EA3F2);
  color: #fff;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;

  transition: background 0.2s ease;
}

.climaco-product-recommendations .climaco-pr-intro-link span {
  display: inline-block;
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 18px;
  line-height: 1;
}

.climaco-product-recommendations .climaco-pr-intro-link:hover {
  background: var(--climaco-blue-hover, #1688D3);
  color: #fff;
}


/* Note: PHP code unchanged for intro button. */


/* ----------------------------------------------------------
   8. RESPONSIVE – TABLET
   ---------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 980px) {

  .climaco-hpr.climaco-product-recommendations
  .climaco-hpr-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* ----------------------------------------------------------
   9. RESPONSIVE – MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

  .climaco-hpr.climaco-product-recommendations
  .climaco-hpr-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .climaco-product-recommendations .climaco-pr-intro-image {
    height: 150px;
  }

  .climaco-product-recommendations .climaco-pr-intro-content h3 {
    font-size: 23px;
  }

}


/* ==========================================================
   CLIMACO – HPR CATEGORY CARDS v2.4
   Isolated from heat-pump and product recommendation grids.
   ========================================================== */
.climaco-hpr.climaco-hpr-archive { width:100%; max-width:none; margin:0; }
.climaco-hpr.climaco-hpr-archive > .climaco-hpr-product-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px; align-items:stretch;
}
.climaco-hpr-archive .climaco-hpr-archive-card { min-width:0; height:100%; }
.climaco-hpr-archive .climaco-hpr-archive-card .climaco-hpr-card-body { flex:1; }
.climaco-hpr-archive-specs { margin-top:auto; margin-bottom:18px; padding-top:15px; }
.climaco-hpr-archive-specs-top {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start; gap:8px;
}
.climaco-hpr-archive-spec { display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0; gap:8px; }
.climaco-hpr-archive-spec img { display:block; width:45px; height:45px; object-fit:contain; }
.climaco-hpr-archive-spec span { font-size:12px; line-height:1.35; overflow-wrap:anywhere; }
.climaco-hpr-archive-spec-size { flex-direction:row; justify-content:center; margin-top:14px; gap:10px; }
.climaco-hpr-archive .climaco-hpr-button { margin-top:0; }
@media (min-width:768px) and (max-width:980px) {
 .climaco-hpr.climaco-hpr-archive > .climaco-hpr-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
 .climaco-hpr.climaco-hpr-archive > .climaco-hpr-product-grid { grid-template-columns:minmax(0,1fr); }
}

/* ==========================================================
   CLIMACO – HPR CATEGORY CARDS
   Gemensam layout för alla kategorikort
   ========================================================== */

/* Kortet fyller hela gridcellens höjd */
.climaco-hpr-archive[class*="climaco-hpr-archive-"][class*="_category"]
.climaco-hpr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Innehållet fyller resterande höjd */
.climaco-hpr-archive[class*="_category"]
.climaco-hpr-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Knappen placeras längst ned i varje kort */
.climaco-hpr-archive[class*="_category"]
.climaco-hpr-card-body > .climaco-hpr-button {
    margin-top: auto !important;
}

/* ==========================================================
   CLIMACO – ARCHIVE CARDS v2.4.1
   ========================================================== */

/* Desktop */
@media (min-width: 981px) {
  .climaco-hpr.climaco-hpr-archive
  > .climaco-hpr-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 980px) {
  .climaco-hpr.climaco-hpr-archive
  > .climaco-hpr-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767px) {
  .climaco-hpr.climaco-hpr-archive
  > .climaco-hpr-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Existing HPR specification icons */
.climaco-hpr-archive .climaco-hpr-tray-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  margin-bottom: 0;
}




/* ==========================================================
   CLIMACO – NEO ICONS IN DRAINAGE TRAY CARDS
   ========================================================== */

.climaco-hpr-archive .climaco-hpr-card .neo-product-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 8px 0 12px;
    padding: 0;
}

.climaco-hpr-archive .climaco-hpr-card .neo-product-icon-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.climaco-hpr-archive .climaco-hpr-card .neo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.climaco-hpr-archive .climaco-hpr-card .neo-product-icon-title {
	display: none!important;
/*
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3; */
}



/* ==========================================================
   CLIMACO – DRAINAGE KITS
   Hose specification and available lengths
   ========================================================== */

/* Hose row */
.climaco-hpr-archive .climaco-hpr-kit-hose {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 12px;
    padding: 0 10px;
    color: #10183E;
    font-size: 12px;
    line-height: 1.5;
}

.climaco-hpr-archive .climaco-hpr-kit-hose img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Available lengths */
.climaco-hpr-archive .climaco-hpr-kit-lengths {
    margin: 0 0 16px;
    padding: 0 6px;
}

.climaco-hpr-archive .climaco-hpr-kit-lengths-title {
    font-size: 12px;
    font-weight: 700;
    color: #10183E;
    margin-bottom: 6px;
}

/* Six columns, two rows */
.climaco-hpr-archive .climaco-hpr-kit-lengths-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
}

.climaco-hpr-archive .climaco-hpr-kit-length {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 3px 2px;
    border: 1px solid #D6E8FA;
    border-radius: 20px;
    background: #F2FAFF;
    color: #10183E;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Narrow cards */
@media (max-width: 480px) {
    .climaco-hpr-archive .climaco-hpr-kit-lengths-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 4px;
    }

    .climaco-hpr-archive .climaco-hpr-kit-length {
        font-size: 10px;
    }
}


/* ==========================================================
   CLIMACO – HPR ARCHIVE BROWSER v1.0
   Applies only to archive product/category cards
   ========================================================== */

/* Hide cards outside the current page */
.climaco-hpr-browser .climaco-hpr-card[hidden],
.climaco-hpr-browser .climaco-hpr-browser-nav[hidden] {
    display: none !important;
}

/* ==========================================================
   CLIMACO – HPR PRODUCT BROWSER
   Dynamiskt antal kolumner på desktop
   Standard: 4 kolumner
   ========================================================== */

@media (min-width: 981px) {

    .climaco-hpr.climaco-hpr-browser
    > .climaco-hpr-product-grid {
        display: grid !important;

        grid-template-columns:
            repeat(var(--hpr-columns, 4), minmax(0, 1fr)) !important;

        gap: 16px;
    }

}

/* ----------------------------------------------------------
   TABLET – Maximum two cards
   ---------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 980px) {

    .climaco-hpr.climaco-hpr-browser
    > .climaco-hpr-product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px;
    }
}

/* ----------------------------------------------------------
   NAVIGATION – Desktop and tablet
   ---------------------------------------------------------- */

.climaco-hpr-browser .climaco-hpr-browser-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.climaco-hpr-browser .climaco-hpr-browser-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid #2EA3F2;
    border-radius: 6px;
    background: #2EA3F2;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.climaco-hpr-browser .climaco-hpr-browser-nav button:hover:not(:disabled) {
    background: #1688D3;
    border-color: #1688D3;
}

.climaco-hpr-browser .climaco-hpr-browser-nav button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.climaco-hpr-browser .climaco-hpr-browser-counter {
    min-width: 90px;
    text-align: center;
    font-size: 12px;
    color: #697498;
}

/* ----------------------------------------------------------
   MOBILE – Horizontal swipe with next card visible
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .climaco-hpr.climaco-hpr-browser
    > .climaco-hpr-product-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 14px !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding: 0 0 16px;
        scrollbar-width: none;
    }

    .climaco-hpr-browser
    > .climaco-hpr-product-grid::-webkit-scrollbar {
        display: none;
    }

    .climaco-hpr.climaco-hpr-browser
    > .climaco-hpr-product-grid
    > .climaco-hpr-card {
        flex: 0 0 86% !important;
        width: 86% !important;
        max-width: 86% !important;
        min-width: 0;
        scroll-snap-align: start;
    }

    .climaco-hpr-browser .climaco-hpr-browser-nav {
        display: none !important;
    }
}



/* ==========================================================
   CLIMACO – DRAINAGE KITS FILTER v1.0
   ========================================================== */

.climaco-dkf {
    background: #E8F5FF;
    padding: 24px 30px 28px;
    color: #10183E;
    margin-bottom: 25px;
}

.climaco-dkf-heading h2 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #10183E;
    margin: 0 0 4px;
    padding: 0;
}

.climaco-dkf-heading p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
    padding: 0;
}

.climaco-dkf-fields {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 1.25fr)
        minmax(0, 1.15fr)
        minmax(0, .85fr)
        auto;
    gap: 18px;
    align-items: end;
}

.climaco-dkf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.climaco-dkf-field label {
    color: #10183E;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.climaco-dkf-field select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 32px 0 14px;
    border: 1px solid #C9DFF5;
    border-radius: 5px;
    background-color: #fff;
    color: #10183E;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.climaco-dkf-field select:focus-visible {
    outline: 2px solid #2EA3F2;
    outline-offset: 2px;
}

.climaco-dkf-guide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    background: #2EA3F2;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.climaco-dkf-guide:hover {
    background: #1688D3;
    color: #fff !important;
}

.climaco-dkf-search-icon {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 3px;
}

.climaco-dkf-search-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: currentColor;
    right: -6px;
    bottom: -3px;
    transform: rotate(45deg);
    border-radius: 2px;
}

.climaco-dkf-empty {
    margin: 16px 0 0;
    font-size: 13px;
    color: #10183E;
}

.climaco-dkf-empty[hidden] {
    display: none !important;
}

/* Återställ filter */
.climaco-dkf-reset {
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.climaco-dkf-reset-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}

/* CLIMACO – Återställ filter för dräneringstråg */

.climaco-hpr-products-filter-cta
.climaco-hpr-products-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    cursor: pointer;
    font: inherit;
    border: 0;
    border-radius: 6px;
    background: #2EA3F2;
    color: #fff;
    padding: 12px 16px;
}

.climaco-hpr-products-filter-cta
.climaco-hpr-products-filter-reset:hover {
    background: #1688D3;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1100px) {
    .climaco-dkf-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .climaco-dkf-guide {
        width: fit-content;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .climaco-dkf {
        padding: 20px 16px;
    }

    .climaco-dkf-heading h2 {
        font-size: 20px;
    }

    .climaco-dkf-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .climaco-dkf-field select {
        height: 44px;
    }

    .climaco-dkf-guide {
        width: 100%;
        height: 44px;
    }
}

/* ==========================================================
   CLIMACO – HPR CARD LABELS & POWER VALUES
   ========================================================== */

/* Label above title */
.climaco-hpr-card-label {
    display: inline-block;
    align-self: flex-start;
    width: fit-content;
    padding: 5px 12px;
    margin-bottom: 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.climaco-hpr-card-label-green {
    background: #62A44E;
}

.climaco-hpr-card-label-blue {
    background: #2EA3F2;
}

/* Static power values */
.climaco-hpr-card-powers {
    /*display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;*/
display: none!important;
}

.climaco-hpr-card-powers span {
   /* display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #E8F5FF;
    border-radius: 20px;
    color: #10183E;
    font-size: 13px;
    font-weight: 700; */
	display: none!important;
}

/* ==========================================================
   CLIMACO – HEATCABLE POWER
   Green power badge for product cards
   ========================================================== */

.climaco-hpr-archive-heatcable
.climaco-hpr-card-powers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.climaco-hpr-archive-heatcable
.climaco-hpr-card-powers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 20px;
    background: #E8F5C8;
    color: #10183E;
    font-size: 14px;
    font-weight: 700;
}

