/* Biotherm Heat · produkter: översiktssidan (po-) och produktsidorna (pd-), ovanpå bas.css och sajt.css.
   Lugna sidor: inga levande flöden förutom avslutningen längst ned, höjdkurvorna ritas en gång. */

/* ---------- gemensamt: produktkort ---------- */
.pk { position: relative; }
.pk[hidden] { display: none; }
.pk-lank { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; background: #030a17; border: 1px solid var(--linje); overflow: hidden; transition: border-color .6s ease; }
.pk-lank:hover, .pk-lank:focus-visible { border-color: var(--linje-2); }
.pk-lank::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--flode); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.pk-lank:hover::after, .pk-lank:focus-visible::after { transform: scaleX(1); }
.pk-bild { position: relative; height: clamp(220px, 17vw, 300px); display: flex; align-items: flex-end; justify-content: center; padding: 26px 26px 6px; background: radial-gradient(70% 70% at 50% 72%, #0b1a3a, rgba(3, 10, 23, 0) 72%); }
.pk-bild::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 2%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 154, 60, .13), rgba(242, 154, 60, 0)); }
.pk-bild img { position: absolute; left: 26px; right: 26px; top: 26px; bottom: 6px; width: calc(100% - 52px); height: calc(100% - 32px); object-fit: contain; object-position: 50% 100%; transition: transform 1.4s var(--ease); }
.pk-bild.fyll { padding: 0; }
.pk-bild.fyll img { left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.pk-lank:hover .pk-bild img { transform: translateY(-4px) scale(1.02); }
.pk-text { padding: 22px clamp(22px, 2vw, 30px) clamp(22px, 2vw, 28px); display: flex; flex-direction: column; flex: 1; }
.pk-text h3 { margin-top: 10px; font-size: clamp(1.625rem, 1.25rem + .8vw, 2.125rem); font-weight: 300; line-height: 1.08; letter-spacing: -.018em; font-variation-settings: "opsz" 60; }
.pk-text > p:not(.t-etikett) { margin-top: 10px; color: var(--is-2); font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.pk-fot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pk-effekt { font-size: 1.0625rem; color: var(--is); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-mer { display: inline-flex; align-items: center; gap: 10px; font-weight: 420; color: var(--is); white-space: nowrap; }
.pk-mer .pil { color: var(--bla); transition: transform .6s var(--ease); }
.pk-lank:hover .pk-mer .pil { transform: translateX(4px); }
.taggar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tagg { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linje-2); font-size: .6875rem; font-weight: 600; font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--is-2); font-variation-settings: "opsz" 12; white-space: nowrap; }

/* ---------- översikten ---------- */
.po-hero { position: relative; padding: clamp(136px, 12vw, 196px) 0 clamp(40px, 4vw, 72px); overflow: hidden; }
.po-hero > .topo { left: 40%; -webkit-mask-image: radial-gradient(60% 70% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 70% at 70% 40%, #000 20%, transparent 75%); opacity: .8; }
.po-hero .bredd { position: relative; z-index: 1; }
.po-hero .smulor { margin-bottom: 34px; }
.po-hero h1 { max-width: 11ch; font-size: clamp(3rem, 1.5rem + 4.4vw, 6.75rem); }
.po-hero .t-ingress { margin-top: 30px; max-width: 40ch; }
.po-val { margin-top: clamp(48px, 5vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalt); }
.po-bransle { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3.3; padding: 20px 22px; border-radius: 20px; overflow: hidden; isolation: isolate; text-align: left; background: #030a17; box-shadow: inset 0 0 0 1px var(--linje); transition: box-shadow .5s ease; }
.po-bransle img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.po-bransle.utan-bild img { object-fit: contain; padding: 14px 18px 64px; }
.po-bransle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 10, 24, .05) 20%, rgba(4, 10, 24, .82) 78%, #040a18); }
.po-bransle:hover img { transform: scale(1.05); }
.po-bransle b { font-size: clamp(1.375rem, 1.15rem + .5vw, 1.75rem); font-weight: 320; letter-spacing: -.012em; color: var(--is); font-variation-settings: "opsz" 40; }
.po-bransle small { margin-top: 4px; font-size: .875rem; color: var(--is-2); font-variant-numeric: tabular-nums; }
.po-bransle::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--flode); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.po-bransle[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px rgba(238, 243, 250, .7); }
.po-bransle[aria-pressed="true"]::after, .po-bransle:hover::after { transform: scaleX(1); }

.po-filter { position: sticky; top: 76px; z-index: 30; background: rgba(4, 10, 24, .96); box-shadow: inset 0 -1px 0 var(--linje); }
.po-filter-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linje-2); font-size: .9375rem; color: var(--is-2); transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.chip:hover { color: var(--is); box-shadow: inset 0 0 0 1px rgba(238, 243, 250, .5); }
.chip[aria-pressed="true"] { background: var(--is); color: var(--natt); box-shadow: none; }
.chip .antal { font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .7; }
.po-antal { margin-left: auto; flex: none; font-size: .875rem; color: var(--is-3); white-space: nowrap; }

.po-intro { padding-top: clamp(48px, 5vw, 88px); }
.po-intro[hidden] { display: none; }
.po-intro-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; padding-bottom: 28px; border-bottom: 1px solid var(--linje); }
.po-intro h2 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); }
.po-intro p.t-ingress { margin-top: 18px; max-width: 46ch; }
.po-intro .lank { margin-top: 22px; }   /* länken till kategorisidan (flis, 2026-10-26) */
.po-intro .t-siffra { font-size: clamp(2rem, 1.4rem + 1.4vw, 3rem); }
.po-intro .t-siffra small { display: block; margin-top: 10px; font-size: .75rem; font-weight: 600; font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; color: var(--is-3); font-variation-settings: "opsz" 12; letter-spacing: .16em; }

.po-grupp { padding-top: clamp(64px, 6.4vw, 120px); }
.po-grupp[hidden] { display: none; }
.po-grupp-huvud { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 20px 48px; margin-bottom: clamp(32px, 3.4vw, 56px); }
.po-grupp-huvud .t-etikett { margin-bottom: 22px; }
.po-grupp-huvud h2 { font-size: clamp(2.125rem, 1.4rem + 2.2vw, 3.75rem); }
.po-grupp-huvud p { color: var(--is-2); }
/* tillverkarens logotyp på rubrikens rad ("logga" i sajt.json, 2026-10-24: LASCO) – lagom stor, direkt på natten */
.po-grupp-rubrikrad { display: flex; align-items: center; flex-wrap: wrap; gap: 14px clamp(24px, 2.6vw, 40px); }
.po-grupp-logga { display: block; flex: none; width: auto; height: clamp(28px, 2.5vw, 38px); margin-top: .12em; }
.po-rutnat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.po-tom { padding: 48px 0; color: var(--is-2); }
.po-tom[hidden] { display: none; }
.po-hjalp { margin-top: clamp(64px, 6vw, 112px); }
.po-hjalp-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; padding: clamp(28px, 3.4vw, 52px); border-radius: 24px; background: radial-gradient(80% 120% at 0% 100%, rgba(31, 116, 184, .18), rgba(31, 116, 184, 0) 60%), #06112a; border: 1px solid var(--linje); }
.po-hjalp h2 { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); font-weight: 280; line-height: 1.08; letter-spacing: -.02em; font-variation-settings: "opsz" 72; }
.po-hjalp p { margin-top: 12px; color: var(--is-2); max-width: 52ch; }
.po-hjalp .knappar { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* ---------- produktsidan ---------- */
.pd-hero { position: relative; padding: clamp(118px, 10.5vw, 164px) 0 clamp(40px, 4vw, 72px); }
.pd-hero .smulor { margin-bottom: clamp(28px, 3vw, 48px); }
.pd-hero-rutnat { align-items: center; row-gap: 40px; }
.pd-hero-text { grid-column: 1 / span 5; }
.pd-hero-text h1 { margin-top: 22px; font-size: clamp(3.25rem, 1.7rem + 4.6vw, 7.25rem); }
.pd-hero-text .t-ingress { margin-top: 26px; max-width: 32ch; }
.pd-meta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pd-effekt { display: inline-flex; align-items: baseline; gap: 10px; padding-right: 6px; }
.pd-effekt b { font-size: clamp(1.625rem, 1.3rem + .8vw, 2.125rem); font-weight: 280; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pd-effekt span { font-size: .75rem; font-weight: 600; font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; color: var(--is-3); }
.pd-meta .taggar { margin-top: 0; }
.pd-knappar { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.pd-vy { grid-column: 6 / span 7; }
.pd-scen { position: relative; aspect-ratio: 4 / 3.15; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(62% 56% at 50% 56%, #10265a 0%, #081633 52%, #040a18 100%); box-shadow: inset 0 0 0 1px var(--linje); }
.pd-scen::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 9%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 154, 60, .16), rgba(242, 154, 60, 0)); pointer-events: none; }
/* hela produkten syns alltid: bilden fyller en ram och skalas med contain, aldrig beskuren */
.pd-scen img { position: absolute; z-index: 1; left: 8%; top: 7%; width: 84%; height: 82%; object-fit: contain; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .55)); transition: opacity .5s ease; }
.pd-scen img.fyll { left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; filter: none; }
.pd-scen .pd-bildtext { position: absolute; z-index: 2; left: 20px; bottom: 16px; font-size: .8125rem; color: var(--is-3); }
.pd-tumnaglar { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.pd-tumnaglar button { width: 76px; height: 60px; border-radius: 12px; overflow: hidden; background: #071430; box-shadow: inset 0 0 0 1px var(--linje); display: grid; place-items: center; padding: 6px; transition: box-shadow .4s ease; }
.pd-tumnaglar button img { width: 100%; height: 100%; object-fit: contain; }
.pd-tumnaglar button.fyll { padding: 0; }
.pd-tumnaglar button.fyll img { width: 100%; height: 100%; object-fit: contain; }
.pd-tumnaglar button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px rgba(238, 243, 250, .75); }

.pd-tal { padding-top: clamp(24px, 3vw, 48px); }
.pd-tal ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--spalt); }
.pd-tal li { padding-top: 24px; border-top: 1px solid var(--linje); position: relative; }
.pd-tal li::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--flode); }
.pd-tal .t-siffra { display: block; font-size: clamp(2.25rem, 1.4rem + 1.8vw, 3.5rem); white-space: normal; line-height: 1; text-wrap: balance; }
.pd-tal .t-siffra .t-enhet { font-size: .34em; }
.pd-tal p { margin-top: 12px; font-size: .9375rem; color: var(--is-2); max-width: 24ch; }

.pd-oversikt .sh-h p + p { margin-top: 16px; }
.pd-egen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.pd-egen li { position: relative; padding: clamp(24px, 2.4vw, 36px); border-radius: 22px; background: #030a17; border: 1px solid var(--linje); }
.pd-egen .nr { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--is-3); font-variant-numeric: tabular-nums; }
.pd-egen h3 { margin-top: 18px; }
.pd-egen p { margin-top: 12px; color: var(--is-2); font-size: 1rem; line-height: 1.55; }
.pd-egen li.med-bild { padding-top: 0; overflow: hidden; }
.pd-egen li.med-bild .eb { height: 180px; margin: 0 calc(-1 * clamp(24px, 2.4vw, 36px)) 22px; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 60%, #0e2148, #050d20); }
.pd-egen li.med-bild .eb img { max-height: 80%; max-width: 80%; object-fit: contain; }

.pd-steg-wrap { position: relative; }
.pd-steg { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); column-gap: var(--spalt); }
.pd-steg-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #1d3a78, #1f74b8 30%, #9fb4c4 55%, #f29a3c 80%, #ffd7a0); }
.pd-steg li { position: relative; padding-top: 38px; padding-right: 12px; }
.pd-steg .prick { position: absolute; left: 0; top: -3.5px; width: 9px; height: 9px; border-radius: 50%; background: var(--natt); box-shadow: inset 0 0 0 1.5px var(--sval), 0 0 0 5px var(--natt); }
.pd-steg li:last-child .prick { background: var(--varm); box-shadow: 0 0 0 5px var(--natt), 0 0 18px rgba(242, 154, 60, .7); }
.pd-steg h3 { margin-top: 12px; }
.pd-steg p { margin-top: 10px; color: var(--is-2); font-size: .9375rem; line-height: 1.55; }

.pd-branslen { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-branslen a, .pd-branslen span { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linje-2); color: var(--is); transition: box-shadow .4s ease; }
.pd-branslen span { padding-left: 20px; }
.pd-branslen a:hover { box-shadow: inset 0 0 0 1px rgba(238, 243, 250, .6); }
.pd-branslen img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.pd-spec-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--linje); background: #030a17; -webkit-overflow-scrolling: touch; }
.pd-spec { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.pd-spec th, .pd-spec td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--linje); white-space: nowrap; }
.pd-spec thead th { border-top: 0; padding-top: 20px; padding-bottom: 16px; font-size: 1.25rem; font-weight: 340; color: var(--is); letter-spacing: -.01em; }
.pd-spec thead th:first-child { font-size: .75rem; font-weight: 600; font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; color: var(--is-3); }
.pd-spec tbody th { font-weight: 380; color: var(--is-2); position: sticky; left: 0; background: #030a17; box-shadow: 1px 0 0 var(--linje); }
.pd-spec tbody td { color: var(--is); }
.pd-spec tbody tr:hover td, .pd-spec tbody tr:hover th { background: #071430; }
.pd-spec-not { margin-top: 16px; }
.pd-spec.enkel { max-width: 860px; }
.pd-spec-wrap:has(.enkel) { max-width: 860px; }
.pd-spec.enkel tbody tr:first-child th, .pd-spec.enkel tbody tr:first-child td { border-top: 0; }
.pd-spec.enkel td { text-align: right; white-space: normal; }
.pd-spec.enkel th { white-space: normal; position: static; box-shadow: none; }
.pd-spec + .pd-spec-rubrik, .pd-spec-wrap + .pd-spec-rubrik { margin-top: 48px; }
.pd-spec-rubrik { margin-bottom: 16px; }

.pd-partner { margin-top: clamp(56px, 5vw, 96px); }
.pd-partner-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px 40px; padding: 28px clamp(24px, 3vw, 44px); border-radius: 22px; border: 1px solid var(--linje); background: #050d20; }
.pd-partner img { height: 34px; width: auto; }
.pd-partner p { color: var(--is-2); max-width: 70ch; }

.pd-relaterat .po-rutnat { margin-top: 0; }

/* ---------- mellanstora skärmar ---------- */
@media (max-width: 1100px) {
  .po-val { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .po-rutnat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .po-grupp-huvud { grid-template-columns: 1fr; }
  .pd-hero-text, .pd-vy { grid-column: 1 / -1; }
  .pd-tal ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-egen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-steg { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pd-steg-wrap::before { display: none; }
  .pd-steg li { border-top: 2px solid var(--linje); }
  .po-hjalp-in { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- mobil ---------- */
@media (max-width: 760px) {
  .po-hero h1 { font-size: 3rem; }
  .po-val { gap: 10px; }
  .po-bransle { aspect-ratio: 4 / 3.6; padding: 14px 14px; border-radius: 16px; }
  .po-bransle b { font-size: 1.25rem; }
  .po-bransle small { font-size: .8125rem; }
  .po-filter { top: 68px; }
  .po-antal { display: none; }
  .po-intro-in { grid-template-columns: 1fr; }
  .po-rutnat { grid-template-columns: 1fr; gap: 14px; }
  .pk-lank { border-radius: 18px; }
  .pk-bild { height: 230px; }
  .pd-hero-text h1 { font-size: 3.25rem; }
  .pd-knappar { flex-direction: column; align-items: stretch; }
  .pd-knappar .knapp { width: 100%; }
  .pd-knappar .lank { justify-content: center; }
  .pd-scen { border-radius: 20px; aspect-ratio: 1 / 1; }
  .pd-tumnaglar button { width: 64px; height: 52px; }
  .pd-egen { grid-template-columns: 1fr; gap: 14px; }
  .pd-steg { grid-template-columns: 1fr; }
  .pd-spec th, .pd-spec td { padding: 12px 14px; }
  .pd-spec thead th { font-size: 1.0625rem; }
  .pd-partner-in { grid-template-columns: 1fr; }
}

/* ---------- tillägg: fyra kort i rad, fler steg, tabellrubriker ---------- */
.po-rutnat.fyra { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.po-rutnat.fyra .pk-bild { height: clamp(200px, 15vw, 270px); }
.pd-egen.fyra { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-steg li { --f: var(--sval); }
.pd-steg-wrap.manga::before { display: none; }
.pd-steg-wrap.manga .pd-steg { row-gap: 48px; }
.pd-steg-wrap.manga .pd-steg li { box-shadow: inset 0 2px 0 var(--f); }
.pd-steg-wrap.manga .pd-steg .prick { box-shadow: inset 0 0 0 1.5px var(--f), 0 0 0 5px var(--natt); }
.pd-spec-not + .pd-spec-rubrik { margin-top: 56px; }
@media (max-width: 1280px) {
  .po-rutnat.fyra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-egen.fyra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .po-rutnat.fyra, .pd-egen.fyra { grid-template-columns: 1fr; }
  .po-hjalp-in { padding: 26px 20px; border-radius: 18px; }
  .po-hjalp .knappar { flex-direction: column; align-items: stretch; }
  .po-hjalp .knapp { width: 100%; height: auto; min-height: 52px; padding: 12px 18px; white-space: normal; text-align: center; }
  .po-hjalp .lank { justify-content: center; }
}

/* ---------- grupp med två produkter (2026-10-24: LASCO, flyttbar varmluft) – två breda kort i stället för en tom tredje ruta ---------- */
.po-rutnat.tva { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.po-rutnat.tva .pk-bild { height: clamp(260px, 22vw, 380px); }
@media (max-width: 760px) {
  .po-rutnat.tva { grid-template-columns: 1fr; }
  .po-rutnat.tva .pk-bild { height: 240px; }
}
