/*
  PBS Svensk Varmekalla - ny startsida
  Anpassad efter nya layoutbilden.
  OBS: Toppen/headern, loggan, menyn/produktlankarna och sidfoten bygger vidare pa gamla CSS-regler.
*/

:root {
  --pbs-blue: #061b33;
  --pbs-blue-2: #08294d;
  --pbs-old-blue: #473939;
  --pbs-yellow: #D9B38C;
  --pbs-yellow-dark: #C49A6C;
  --pbs-white: #fff;
  --pbs-light: #f6f7f9;
  --pbs-text: #0f172a;
  --pbs-muted: #536173;
  --pbs-border: #e5e7eb;
  --pbs-shadow: 0 8px 28px rgba(15, 23, 42, 0.10);
  --pbs-radius: 10px;
  --pbs-max: 1200px;
}

/* ------------------------------
   Bas / befintlig butik
------------------------------ */
* {
  box-sizing: border-box;
  outline: none !important;
}

body {
  background: var(--pbs-light) !important;
  color: var(--pbs-text);
  font-size: 15px;
  letter-spacing: normal;
}

body .page-canvas {
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------
   BEHALL GAMMAL TOPP / HEADER
------------------------------ */
.tws-theme-preview {
  position: fixed;
  z-index: 1000;
  bottom: 0;
  left: 0;
  right: auto;
}

.slot--cookies {
  position: fixed;
  bottom: 0;
  z-index: 10000;
  width: 100%;
}

.fabrikk--top-bar {
  background: var(--pbs-old-blue);
  top: 0;
  position: absolute;
  height: 32px;
  width: 100%;
  transition: all .3s;
  padding: 0;
}

.fabrikk--top-bar.scrolled {
  top: -32px;
}

.fabrikk--top-bar-wrapper {
  max-width: var(--pbs-max);
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.fabrikk--top-bar-right {
  right: 0;
  position: relative;
}

.slot--top-bar-html {
  margin: 0;
}

.slot--top-bar-html a,
.tws-login--login,
.tws-login--my-pages {
  color: #fff !important;
}

.slot--top-bar-html a:hover,
.tws-login--login:hover,
.tws-login--my-pages:hover,
.fabrikk--top-bar .btn-default:hover,
.fabrikk--top-bar .btn-primary:hover,
.fabrikk--top-bar .btn-default:focus,
.fabrikk--top-bar .btn-primary:focus,
.fabrikk--top-bar .btn-default:active,
.fabrikk--top-bar .btn-primary:active {
  color: var(--pbs-yellow) !important;
}

.pbs-header-usps span {
  margin-right: 15px;
  font-size: 14px;
  text-transform: none;
}

.fabrikk--header {
  position: fixed;
  width: 100%;
  background: transparent;
  top: 32px;
  transition: all .3s;
  border-top: 0 solid transparent;
  z-index: 900;
}

.fabrikk--header.scrolled {
  top: 0;
  border-top: 4px solid var(--pbs-old-blue);
}

.fabrikk--header:after,
.fabrikk--header:before,
.tws-theme-foundation-content--loading .fabrikk--header:after,
.tws-theme-foundation-content--finished .fabrikk--header:after {
  display: none !important;
  animation: none !important;
}

.fabrikk--header-wrapper {
  padding: 0;
  background: transparent;
}

.fabrikk--header-right,
.fabrikk--header-left,
.slot--mega-menu {
  display: none;
}

.pbs-header-row-1 {
  background: #eee url(https://shop.textalk.se/shop/ws72/37872/files/designfiler/dust.png);
}

.pbs-header-row-1-inner {
  max-width: var(--pbs-max);
  width: 100%;
  padding: 5px 15px 10px;
  margin: 0 auto;
}

.pbs-header-row-1-inner:before,
.pbs-header-row-1-inner:after {
  content: '';
  clear: both;
  display: block;
}

/* Logga - behalls fran gamla layouten */
.slot--logo {
  max-width: none;
  padding: 0;
  margin: 0;
}

.pbs-logo {
  float: left;
}

.pbs-logo a {
  display: block;
}

.pbs-logo img {
  max-width: 80px;
  width: 100%;
}

.pbs-header-left {
  float: left;
  margin-left: 40px;
  margin-top: 45px;
  transition: all .3s;
}

.pbs-header-right {
  float: right;
  margin-top: 45px;
  transition: all .3s;
}

.pbs-header-social {
  float: left;
  margin-left: 30px;
  margin-top: 10px;
  font-weight: 600;
}

.pbs-header-social a {
  color: var(--pbs-old-blue);
}

.pbs-header-social a:hover {
  color: #aaa;
}

/* Sok - behalls men putsas for nya sidan */
.slot--custom-search {
  transition: all .3s;
  width: 400px;
  float: left;
}

.tws-article-search {
  margin-bottom: 0;
}

.tws-article-search input,
.form-control,
.has-success .form-control {
  height: 40px !important;
  box-shadow: none !important;
  border: 1px solid #eee;
  border-radius: 0 !important;
  color: #333;
  font-size: 14px;
}

.tws-article-search .form-control-feedback {
  top: 0;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  color: #333;
  transition: all .3s;
}

.tws-article-search .form-control-feedback:hover {
  color: #aaa;
}

.tws-article-search ul {
  display: none !important;
}

.slot--custom-search .tws-article-search input::-webkit-input-placeholder { opacity: 1; color: #aaa; }
.slot--custom-search .tws-article-search input:-moz-placeholder { opacity: 1; color: #aaa; }
.slot--custom-search .tws-article-search input::-moz-placeholder { opacity: 1; color: #aaa; }
.slot--custom-search .tws-article-search input:-ms-input-placeholder { opacity: 1; color: #aaa; }

/* Produktlankar / gamla toppmenyn behalls */
.slot--horizontal-menu {
  clear: both;
  background: #fff;
}

.tws-top-menu.navbar-default {
  border: 0;
  max-width: var(--pbs-max);
  padding: 0 15px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
}

.tws-top-menu .navbar-nav,
body .tws-top-menu .navbar-nav {
  max-width: none;
  width: 100%;
  padding: 0;
}

.navbar-nav > li > a {
  font-size: 14px;
  letter-spacing: normal;
  font-weight: 600;
  color: #333 !important;
  padding: 10px 0;
  margin-right: 20px;
  background: transparent !important;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: var(--pbs-old-blue) !important;
}

.tws-top-menu--mega-menu > .tws-top-menu--sub-item {
  width: 20%;
}

.tws-top-menu--mega-sub-list {
  display: none !important;
}

.tws-top-menu .dropdown > .dropdown-menu {
  background: rgba(5, 106, 166, 0.98);
  padding: 20px 30px;
}

.navbar-default .dropdown-menu li a {
  font-size: 13px;
  padding: 0;
  text-transform: uppercase;
  color: #fff !important;
  line-height: normal;
  white-space: normal;
}

.navbar-default .dropdown-menu li a:hover {
  color: var(--pbs-yellow) !important;
  text-decoration: none;
}

.slot--cart .tws-mini-cart--header-cart-button {
  color: #016BA7;
}

.slot--cart {
  bottom: 10px;
}

.slot--shipping-notice {
  top: 94px;
}

.fabrikk--body {
  margin: 0 auto;
  width: 100%;
  background: transparent;
  padding-top: 230px;
}

.fabrikk--content {
  max-width: none;
  padding: 0 !important;
  background: transparent !important;
}

.fabrikk--content-wrapper {
  padding: 30px 15px 60px !important;
  width: 100%;
  max-width: var(--pbs-max);
  margin: 0 auto;
}

.startpage .fabrikk--content-wrapper {
  max-width: none;
  padding: 0 0 60px !important;
  width: auto;
}

/* ------------------------------
   NY STARTSIDA - matchar bild 2
   Lagg HTML:en i .pbs-home
------------------------------ */
.pbs-home {
  --home-max: 1200px;
  background: var(--pbs-light);
  color: var(--pbs-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  overflow: hidden;
}

.pbs-home h1,
.pbs-home h2,
.pbs-home h3,
.pbs-home p {
  margin-top: 0;
}

.pbs-home__inner,
.pbs-container {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 36px;
}

.pbs-hero {
  min-height: 430px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 18, 33, .98) 0%, rgba(4, 18, 33, .91) 32%, rgba(4, 18, 33, .55) 58%, rgba(4, 18, 33, .08) 100%),
    var(--pbs-hero-image, url('hero-pelletskamin.jpg')) center right / cover no-repeat;
  display: flex;
  align-items: center;
}

.pbs-hero__content {
  max-width: var(--home-max);
  width: 100%;
  margin: 0 auto;
  padding: 58px 36px 70px;
}

.pbs-hero h1 {
  max-width: 610px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 45px;
  line-height: 1.13;
  letter-spacing: -1.2px;
  font-weight: 800;
}

.pbs-hero__tagline {
  margin: 0 0 20px;
  color: var(--pbs-yellow);
  font-size: 31px;
  line-height: 1.1;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
}

.pbs-hero__text {
  max-width: 550px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .96);
  font-size: 16px;
  line-height: 1.6;
}

.pbs-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.pbs-btn,
.pbs-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 26px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}

.pbs-btn--yellow,
.pbs-home .btn-yellow {
  background: var(--pbs-yellow);
  border-color: var(--pbs-yellow);
  color: #061b33 !important;
}

.pbs-btn--yellow:hover,
.pbs-home .btn-yellow:hover {
  background: var(--pbs-yellow-dark);
  border-color: var(--pbs-yellow-dark);
  color: #061b33 !important;
}

.pbs-btn--outline,
.pbs-home .btn-outline {
  background: rgba(6, 27, 51, .35);
  border-color: rgba(255, 255, 255, .75);
  color: #fff !important;
}

.pbs-btn--outline:hover,
.pbs-home .btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
}

.pbs-btn--white,
.pbs-home .btn-white {
  background: #fff;
  border-color: #fff;
  color: #061b33 !important;
}

.pbs-btn--white:hover,
.pbs-home .btn-white:hover {
  background: #f1f5f9;
  color: #061b33 !important;
}

.pbs-benefits {
  max-width: var(--home-max);
  margin: -33px auto 22px;
  padding: 0 36px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.pbs-benefit {
  min-height: 128px;
  padding: 23px 16px 18px;
  background: #fff;
  border-right: 1px solid var(--pbs-border);
  text-align: center;
  box-shadow: var(--pbs-shadow);
}

.pbs-benefit:first-child {
  border-radius: var(--pbs-radius) 0 0 var(--pbs-radius);
}

.pbs-benefit:last-child {
  border-right: 0;
  border-radius: 0 var(--pbs-radius) var(--pbs-radius) 0;
}

.pbs-benefit__icon {
  display: block;
  margin: 0 auto 10px;
  color: #0b3972;
  font-size: 32px;
  line-height: 1;
}

.pbs-benefit strong {
  display: block;
  margin-bottom: 5px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.pbs-benefit span {
  display: block;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.35;
}

.pbs-section {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 36px;
}

.pbs-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.pbs-card,
.pbs-category-card,
.pbs-guide-card {
  background: #fff;
  border: 1px solid var(--pbs-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
}

.pbs-category-card {
  text-align: center;
}

.pbs-card img,
.pbs-category-card img,
.pbs-guide-card img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.pbs-category-card__body,
.pbs-guide-card__body {
  padding: 13px 15px 16px;
}

.pbs-category-card h3,
.pbs-guide-card h3 {
  margin: 0 0 9px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 800;
}

.pbs-category-card p {
  min-height: 64px;
  margin: 0 0 9px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.45;
}

.pbs-link,
.pbs-category-card a,
.pbs-guide-card a,
.pbs-brand-strip a {
  color: #f5a800 !important;
  font-size: 13px;
  font-weight: 800;
}

.pbs-link:hover,
.pbs-category-card a:hover,
.pbs-guide-card a:hover,
.pbs-brand-strip a:hover {
  color: #d89100 !important;
}

.pbs-brand-strip {
  max-width: var(--home-max);
  margin: 0 auto 34px;
  padding: 0 36px;
}

.pbs-brand-strip__inner {
  min-height: 66px;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--pbs-border);
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
}

.pbs-brand-strip strong {
  margin-right: 4px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.pbs-brand-strip span {
  color: #111827;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  text-transform: none;
}

.pbs-brand-strip__all {
  margin-left: auto;
  white-space: nowrap;
}

.pbs-guides {
  max-width: var(--home-max);
  margin: 0 auto 30px;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.pbs-guide-intro {
  padding: 4px 6px 0;
}

.pbs-guide-intro h2,
.pbs-about h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -.4px;
  font-weight: 800;
}

.pbs-guide-intro p,
.pbs-about p {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.5;
}

.pbs-guide-card img {
  height: 110px;
}

.pbs-guide-card h3 {
  min-height: 48px;
  font-size: 16px;
}

.pbs-about {
  max-width: var(--home-max);
  margin: 0 auto 16px;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 270px 1fr 1fr 1fr 210px;
  gap: 24px;
  align-items: center;
}

.pbs-about__text {
  padding: 0 0 0 6px;
}

.pbs-about__feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 80px;
}

.pbs-about__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pbs-yellow);
  border-radius: 50%;
  color: var(--pbs-yellow-dark);
  font-size: 20px;
  line-height: 1;
}

.pbs-about__feature strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.pbs-about__feature span {
  display: block;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.45;
}

.pbs-rating {
  padding: 22px 16px;
  min-height: 126px;
  background: #fff;
  border: 1px solid var(--pbs-border);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
  text-align: center;
}

.pbs-rating__stars {
  display: block;
  color: var(--pbs-yellow-dark);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
}

.pbs-rating b {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 15px;
}

.pbs-rating span {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 11px;
  line-height: 1.35;
}

.pbs-newsletter {
  max-width: var(--home-max);
  margin: 0 auto 0;
  padding: 0 36px;
}

.pbs-newsletter__inner {
  min-height: 78px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr 470px 22px;
  gap: 28px;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #061b33 0%, #08284a 100%);
  border-radius: 8px 8px 0 0;
}

.pbs-newsletter h2 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.pbs-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
}

.pbs-newsletter form {
  display: flex;
  width: 100%;
}

.pbs-newsletter input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px 0 0 4px;
  color: #0f172a;
  background: #fff;
  font-size: 13px;
}

.pbs-newsletter button {
  height: 42px;
  padding: 0 28px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--pbs-yellow);
  color: #061b33;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.pbs-newsletter button:hover {
  background: var(--pbs-yellow-dark);
}

.pbs-newsletter__arrow {
  color: rgba(255, 255, 255, .75);
  font-size: 24px;
  text-align: right;
}

/* Bakgrund/placering for egna HTML-block i Textalk */
.slot--component-container .tws-container--tws-custom-html,
.slot--component-container .tws-container--tws-image-carousel {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent !important;
}

.tws-container--tws-custom-html h1 {
  text-transform: none;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1.2px;
  font-size: 45px;
}

/* ------------------------------
   BEHALL GAMMAL BOTTEN / FOOTER
------------------------------ */
.fabrikk--footer {
  background: var(--pbs-old-blue);
  padding: 0;
  color: #fff;
  font-size: 13px;
}

.fabrikk--footer a {
  color: #fff;
}

.fabrikk--footer a:hover {
  color: #aaa;
  text-decoration: none;
}

.fabrikk--footer .container {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.fabrikk--footer .container > .row {
  display: block;
}

.fabrikk--footer-left {
  display: block !important;
  width: 100%;
  padding: 0;
}

.fabrikk--footer-mid-left,
.fabrikk--footer-mid-right,
.fabrikk--footer-right {
  display: none !important;
}

.pbs-footer-heading {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  color: #fff;
}

.fabrikk--footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.fabrikk--footer-left .col-sm-3 {
  margin-bottom: 20px;
}

.pbs-footer-row-1-inner {
  width: 100%;
  max-width: var(--pbs-max);
  padding: 30px 15px;
  margin: 0 auto;
}

.pbs-betallogos {
  max-width: 250px;
  margin: 0 auto;
}

.fabrikk--back-to-top {
  position: fixed;
  right: 15px;
  bottom: 0;
  margin: 0;
}

.fabrikk--back-to-top-link-text {
  font-size: 0;
}

.fabrikk--back-to-top-link-text:after {
  font-size: 35px;
  content: '\f106';
  font-family: FontAwesome;
  background: rgba(0, 0, 0, .5);
  padding: 0 5px;
}

.fabrikk--back-to-top-link,
.fabrikk--back-to-top-link:hover {
  color: #fff;
  text-decoration: none;
}

/* ------------------------------
   Responsivt
------------------------------ */
@media (min-width: 1300px) {
  .slot--cart,
  .slot--shipping-notice {
    right: 100px;
  }
}

@media (min-width: 992px) {
  .tws-top-menu > .container-fluid > .navbar-collapse {
    display: block !important;
    padding: 0;
  }
}

@media (max-width: 1100px) {
  .pbs-benefits,
  .pbs-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pbs-benefit:nth-child(3) {
    border-radius: 0 var(--pbs-radius) 0 0;
  }

  .pbs-benefit:nth-child(4) {
    border-radius: 0 0 0 var(--pbs-radius);
  }

  .pbs-guides {
    grid-template-columns: repeat(2, 1fr);
  }

  .pbs-guide-intro {
    grid-column: 1 / -1;
  }

  .pbs-about {
    grid-template-columns: 1fr 1fr;
  }

  .pbs-about__text,
  .pbs-rating {
    grid-column: 1 / -1;
  }

  .pbs-newsletter__inner {
    grid-template-columns: 1fr;
  }

  .pbs-newsletter__arrow {
    display: none;
  }
}

@media (max-width: 991px) {
  .fabrikk--top-bar,
  .pbs-header-social,
  .slot--custom-search {
    display: none;
  }

  .fabrikk--header,
  .fabrikk--header.scrolled {
    top: 0;
    border-top: 4px solid var(--pbs-old-blue);
  }

  .fabrikk--body {
    padding-top: 90px;
  }

  .pbs-header-right {
    margin-top: 18px;
  }

  .pbs-logo {
    margin-left: 60px;
  }

  .pbs-logo img {
    max-width: 50px;
  }

  .slot--shipping-notice {
    top: 70px;
  }

  .tws-top-menu--controls {
    display: block !important;
  }

  .tws-top-menu.navbar-default {
    padding: 0;
  }

  .tws-top-menu .navbar-header {
    top: -55px;
    left: 30px;
  }

  .tws-top-menu .navbar-header .navbar-toggle {
    display: block;
    width: auto;
    border: 1px solid #eee;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    background: #fff !important;
  }

  .tws-top-menu > .container-fluid > .navbar-collapse {
    min-height: calc(100vh - 62px);
    overflow-y: auto !important;
    height: 100% !important;
    position: absolute;
    width: 100%;
    background: #fff;
    top: 0;
    border: 0;
    padding: 20px 15px;
    display: block !important;
  }

  .tws-top-menu > .container-fluid > .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-default .dropdown-menu li a {
    color: #333 !important;
    padding: 5px 0;
    background: transparent !important;
  }

  .tws-top-menu .dropdown > .dropdown-menu {
    padding: 20px 15px;
    position: relative;
    box-shadow: none;
    float: none;
    background: transparent;
  }

  .tws-top-menu .navbar-nav li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
  }

  .tws-top-menu li a {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .pbs-home__inner,
  .pbs-container,
  .pbs-hero__content,
  .pbs-benefits,
  .pbs-section,
  .pbs-brand-strip,
  .pbs-guides,
  .pbs-about,
  .pbs-newsletter {
    padding-left: 15px;
    padding-right: 15px;
  }

  .pbs-hero {
    min-height: 390px;
    background-position: center right;
  }

  .pbs-hero h1,
  .tws-container--tws-custom-html h1 {
    font-size: 33px;
    letter-spacing: -.7px;
  }

  .pbs-hero__tagline {
    font-size: 24px;
  }

  .pbs-hero__text {
    font-size: 14px;
  }

  .pbs-actions {
    gap: 10px;
  }

  .pbs-btn,
  .pbs-home .btn {
    width: 100%;
  }

  .pbs-benefits,
  .pbs-category-grid,
  .pbs-guides,
  .pbs-about {
    grid-template-columns: 1fr;
  }

  .pbs-benefit,
  .pbs-benefit:first-child,
  .pbs-benefit:nth-child(3),
  .pbs-benefit:nth-child(4),
  .pbs-benefit:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--pbs-border);
    border-radius: 0;
  }

  .pbs-benefit:first-child {
    border-radius: var(--pbs-radius) var(--pbs-radius) 0 0;
  }

  .pbs-benefit:last-child {
    border-bottom: 0;
    border-radius: 0 0 var(--pbs-radius) var(--pbs-radius);
  }

  .pbs-category-card p {
    min-height: 0;
  }

  .pbs-brand-strip__inner {
    gap: 16px;
  }

  .pbs-brand-strip__all {
    width: 100%;
    margin-left: 0;
  }

  .pbs-about__feature {
    min-height: 0;
  }

  .pbs-newsletter__inner {
    padding: 20px 18px;
  }

  .pbs-newsletter form {
    display: block;
  }

  .pbs-newsletter input,
  .pbs-newsletter button {
    width: 100%;
    border-radius: 4px;
  }

  .pbs-newsletter button {
    margin-top: 8px;
  }

  .fabrikk--footer-left .col-sm-3 {
    text-align: center;
  }

  .tws-accept-cookies--open-btn a {
    font-size: 0 !important;
  }

  .slot--open-cookie-settings {
    float: none;
    padding: 4px;
    margin: 10px 20px;
    position: fixed;
    bottom: 0;
    z-index: 99;
    left: 0;
  }
}

/* ==========================================================
   KORRIGERING 2026-06-03
   Problemet var att HTML:en anvande klasser som .hero, .benefits,
   .category-grid osv medan CSS:en ovan framst riktade sig mot
   .pbs-hero, .pbs-benefits, .pbs-category-grid osv.
   Reglerna nedan stylar bada namnvarianterna och tvingar startsidan
   till full bredd i Textalks egna HTML-container.
   ========================================================== */

/* Nollstall Textalk-containern for startsidans egna HTML */
.startpage .slot--component-container .tws-container--tws-custom-html,
.startpage .tws-container--tws-custom-html,
.slot--component-container .tws-container--tws-custom-html {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.startpage .fabrikk--content-wrapper {
  max-width: none !important;
  width: 100% !important;
  padding: 0 0 60px !important;
}

.startpage .fabrikk--content,
.startpage .fabrikk--body,
.startpage .page-canvas {
  background: #f6f7f9 !important;
}

/* Wrapper fungerar oavsett om HTML:en har .pbs-home eller inte */
.pbs-home,
.tws-container--tws-custom-html > .hero,
.tws-container--tws-custom-html > .hero ~ * {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Bild-2 hero: stotta bade .hero och .pbs-hero */
.hero,
.pbs-hero {
  width: 100% !important;
  min-height: 430px;
  position: relative;
  display: flex !important;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4,18,33,.98) 0%, rgba(4,18,33,.92) 35%, rgba(4,18,33,.55) 60%, rgba(4,18,33,.08) 100%),
    var(--pbs-hero-image, url('hero-pelletskamin.jpg')) center right / cover no-repeat;
}

.hero-content,
.hero-inner,
.pbs-hero__content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 58px 36px 70px;
  position: relative;
  z-index: 2;
}

.hero h1,
.pbs-hero h1 {
  max-width: 620px;
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: 45px !important;
  line-height: 1.13 !important;
  letter-spacing: -1.2px !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

.hero-tagline,
.hero .tagline,
.pbs-hero__tagline {
  display: block;
  margin: 0 0 20px !important;
  color: #ffc400 !important;
  font-size: 31px !important;
  line-height: 1.1 !important;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
}

.hero-text,
.hero p,
.pbs-hero__text {
  max-width: 550px;
  margin: 0 0 26px !important;
  color: rgba(255,255,255,.96) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.hero-buttons,
.buttons,
.pbs-actions {
  display: flex !important;
  gap: 18px;
  flex-wrap: wrap;
}

.btn,
.pbs-btn,
.pbs-home .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 26px !important;
  border-radius: 5px !important;
  border: 1px solid transparent !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.12) !important;
}

.btn-yellow,
.btn.primary,
.pbs-btn--yellow {
  background: #ffc400 !important;
  border-color: #ffc400 !important;
  color: #061b33 !important;
}

.btn-outline,
.btn.dark,
.pbs-btn--outline {
  background: rgba(6,27,51,.35) !important;
  border-color: rgba(255,255,255,.75) !important;
  color: #fff !important;
}

.btn-white,
.pbs-btn--white {
  background: #fff !important;
  border-color: #fff !important;
  color: #061b33 !important;
}

/* Sektioner och gridar */
.container,
.pbs-container,
.pbs-section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 36px !important;
  padding-right: 36px !important;
}

.benefits,
.pbs-benefits {
  width: calc(100% - 72px);
  max-width: 1128px;
  margin: -33px auto 22px !important;
  padding: 0 !important;
  position: relative;
  z-index: 3;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0,1fr));
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(15,23,42,.10);
  overflow: hidden;
}

.benefit,
.pbs-benefit {
  min-height: 128px;
  padding: 23px 16px 18px !important;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  color: #0f172a;
}

.benefit:last-child,
.pbs-benefit:last-child { border-right: 0; }

.benefit strong,
.pbs-benefit strong {
  display: block;
  margin: 8px 0 5px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.benefit span,
.pbs-benefit span {
  display: block;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.35;
}

.category-grid,
.pbs-category-grid {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto 20px !important;
  padding: 0 0 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 14px;
}

.card,
.category-card,
.guide-card,
.pbs-category-card,
.pbs-guide-card {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15,23,42,.08) !important;
}

.category-card,
.pbs-category-card { text-align: center; }

.card img,
.category-card img,
.guide-card img,
.pbs-category-card img,
.pbs-guide-card img {
  display: block;
  width: 100% !important;
  height: 170px !important;
  object-fit: cover;
}

.card-content,
.category-card .card-content,
.guide-card .card-content,
.pbs-category-card__body,
.pbs-guide-card__body {
  padding: 13px 15px 16px !important;
}

.card h3,
.category-card h3,
.guide-card h3,
.pbs-category-card h3,
.pbs-guide-card h3 {
  margin: 0 0 9px !important;
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
}

.category-card p,
.card p,
.pbs-category-card p {
  min-height: 64px;
  margin: 0 0 9px !important;
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.category-card a,
.card a,
.guide-card a,
.brand-strip a,
.pbs-link {
  color: #f5a800 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.brands,
.brand-strip,
.pbs-brand-strip__inner {
  width: calc(100% - 72px);
  max-width: 1128px;
  min-height: 66px;
  margin: 0 auto 34px !important;
  padding: 15px 22px !important;
  display: flex !important;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 16px rgba(15,23,42,.06) !important;
}

.brands strong,
.brand-strip strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.brand,
.brands span,
.brand-strip span {
  color: #111827;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
}

.guides,
.pbs-guides {
  width: calc(100% - 72px);
  max-width: 1128px;
  margin: 0 auto 30px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 260px repeat(4, minmax(0,1fr));
  gap: 14px;
  align-items: stretch;
}

.guide-intro,
.pbs-guide-intro {
  padding: 4px 6px 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.guide-intro h2,
.about-text h2,
.pbs-guide-intro h2,
.pbs-about h2 {
  margin: 0 0 12px !important;
  color: #0f172a !important;
  font-size: 26px !important;
  line-height: 1.08 !important;
  letter-spacing: -.4px !important;
  font-weight: 800 !important;
}

.guide-intro p,
.about-text p,
.pbs-guide-intro p,
.pbs-about p {
  margin: 0 0 18px !important;
  color: #0f172a !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.guide-card img,
.pbs-guide-card img { height: 110px !important; }
.guide-card h3,
.pbs-guide-card h3 { min-height: 48px; font-size: 16px !important; }

.about-section,
.pbs-about {
  width: calc(100% - 72px);
  max-width: 1128px;
  margin: 0 auto 16px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 270px 1fr 1fr 1fr 210px;
  gap: 24px;
  align-items: center;
}

.about-text { padding-left: 6px; }

.about-feature,
.pbs-about__feature {
  display: grid !important;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 80px;
}

.about-feature strong,
.pbs-about__feature strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.about-feature span,
.pbs-about__feature span {
  display: block;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.45;
}

.rating-box,
.rating,
.pbs-rating {
  padding: 22px 16px !important;
  min-height: 126px;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(15,23,42,.08) !important;
  text-align: center;
}

.rating-box strong,
.rating strong,
.pbs-rating__stars {
  display: block;
  color: #e8aa00;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
}

.rating-box b,
.rating b,
.pbs-rating b {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 15px;
}

.rating-box span,
.rating span,
.pbs-rating span {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 11px;
  line-height: 1.35;
}

.newsletter,
.pbs-newsletter__inner {
  width: calc(100% - 72px);
  max-width: 1128px;
  min-height: 78px;
  margin: 0 auto !important;
  padding: 18px 28px !important;
  display: grid !important;
  grid-template-columns: 1fr 470px;
  gap: 28px;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #061b33 0%, #08284a 100%) !important;
  border-radius: 8px 8px 0 0 !important;
}

.newsletter h2,
.pbs-newsletter h2 {
  margin: 0 0 3px !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

.newsletter p,
.pbs-newsletter p {
  margin: 0 !important;
  color: rgba(255,255,255,.9) !important;
  font-size: 12px !important;
}

.newsletter form,
.pbs-newsletter form { display: flex !important; width: 100%; }

.newsletter input,
.pbs-newsletter input {
  flex: 1;
  min-width: 0;
  height: 42px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 4px 0 0 4px !important;
  color: #0f172a;
  background: #fff;
  font-size: 13px !important;
}

.newsletter button,
.pbs-newsletter button {
  height: 42px !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 0 4px 4px 0 !important;
  background: #ffc400 !important;
  color: #061b33 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer;
}

/* Responsivt for alias-klasser */
@media (max-width: 1100px) {
  .benefits,
  .pbs-benefits,
  .category-grid,
  .pbs-category-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .guides,
  .pbs-guides { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .guide-intro,
  .pbs-guide-intro { grid-column: 1 / -1; }
  .about-section,
  .pbs-about { grid-template-columns: 1fr 1fr; }
  .about-text,
  .rating-box,
  .rating,
  .pbs-rating { grid-column: 1 / -1; }
  .newsletter,
  .pbs-newsletter__inner { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hero-content,
  .hero-inner,
  .pbs-hero__content,
  .container,
  .pbs-container,
  .pbs-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .hero,
  .pbs-hero { min-height: 390px; }

  .hero h1,
  .pbs-hero h1 { font-size: 33px !important; letter-spacing: -.7px !important; }
  .hero-tagline,
  .hero .tagline,
  .pbs-hero__tagline { font-size: 24px !important; }
  .hero-text,
  .hero p,
  .pbs-hero__text { font-size: 14px !important; }

  .hero-buttons,
  .buttons,
  .pbs-actions { gap: 10px; }
  .btn,
  .pbs-btn,
  .pbs-home .btn { width: 100%; }

  .benefits,
  .pbs-benefits,
  .category-grid,
  .pbs-category-grid,
  .guides,
  .pbs-guides,
  .about-section,
  .pbs-about {
    width: calc(100% - 30px);
    grid-template-columns: 1fr;
  }

  .brands,
  .brand-strip,
  .pbs-brand-strip__inner,
  .newsletter,
  .pbs-newsletter__inner {
    width: calc(100% - 30px);
  }

  .category-card p,
  .card p,
  .pbs-category-card p { min-height: 0; }

  .newsletter form,
  .pbs-newsletter form { display: block !important; }
  .newsletter input,
  .newsletter button,
  .pbs-newsletter input,
  .pbs-newsletter button {
    width: 100%;
    border-radius: 4px !important;
  }
  .newsletter button,
  .pbs-newsletter button { margin-top: 8px; }
}

/* =========================================================
   FIX: fullbredd och bildytor
   Gor att nya startsidan fyller sidans bildyta i Textalk och
   att hero-/kortbilder tacker sina behallare med object-fit: cover.
   ========================================================= */

/* Lat custom HTML-blocket fa anvanda hela sidbredden pa startsidan */
.startpage .slot--component-container .tws-container--tws-custom-html,
.startpage .tws-container--tws-custom-html,
.startpage .fabrikk--content-wrapper,
.startpage .fabrikk--content {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Wrapper for nya layouten */
.pbs-home {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden;
  background: #f6f7f9;
}

/* Hero ska tacka hela bildytan, inte bara vansterkolumnen */
.pbs-home .hero,
.tws-container--tws-custom-html .hero,
.pbs-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 430px !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

/* Om hero har separat bild-div ska den fylla hogra ytan */
.pbs-home .hero-image,
.tws-container--tws-custom-html .hero-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

.pbs-home .hero-image img,
.tws-container--tws-custom-html .hero-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center right !important;
  display: block !important;
}

/* Mork overlay ovanpa hero-bilden */
.pbs-home .hero::before,
.tws-container--tws-custom-html .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4,18,33,.98) 0%, rgba(4,18,33,.92) 35%, rgba(4,18,33,.56) 62%, rgba(4,18,33,.08) 100%);
  pointer-events: none;
}

.pbs-home .hero-content,
.pbs-home .hero-inner,
.tws-container--tws-custom-html .hero-content,
.tws-container--tws-custom-html .hero-inner {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 58px 36px 70px !important;
}

/* Sektionerna under hero ska centreras och fylla enligt bild 2 */
.pbs-home .benefits,
.pbs-home .category-grid,
.pbs-home .brand-strip,
.pbs-home .guides,
.pbs-home .about-section,
.pbs-home .newsletter,
.tws-container--tws-custom-html .benefits,
.tws-container--tws-custom-html .category-grid,
.tws-container--tws-custom-html .brand-strip,
.tws-container--tws-custom-html .guides,
.tws-container--tws-custom-html .about-section,
.tws-container--tws-custom-html .newsletter {
  width: calc(100% - 72px) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Viktigt: grids, sa korten inte hamnar som en smal lista till vanster */
.pbs-home .benefits,
.tws-container--tws-custom-html .benefits {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.pbs-home .category-grid,
.tws-container--tws-custom-html .category-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.pbs-home .guides,
.tws-container--tws-custom-html .guides {
  display: grid !important;
  grid-template-columns: 280px repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.pbs-home .about-section,
.tws-container--tws-custom-html .about-section {
  display: grid !important;
  grid-template-columns: 1.25fr repeat(3, 1fr) 210px !important;
  gap: 22px !important;
}

/* Alla kortbilder ska tacka sin bildyta */
.pbs-home .category-card img,
.pbs-home .guide-card img,
.pbs-home .card img,
.tws-container--tws-custom-html .category-card img,
.tws-container--tws-custom-html .guide-card img,
.tws-container--tws-custom-html .card img {
  width: 100% !important;
  height: 170px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.pbs-home .guide-card img,
.tws-container--tws-custom-html .guide-card img {
  height: 112px !important;
}

/* Mobil/tablet */
@media (max-width: 1100px) {
  .pbs-home .benefits,
  .tws-container--tws-custom-html .benefits,
  .pbs-home .category-grid,
  .tws-container--tws-custom-html .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .pbs-home .guides,
  .tws-container--tws-custom-html .guides,
  .pbs-home .about-section,
  .tws-container--tws-custom-html .about-section {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .pbs-home .hero,
  .tws-container--tws-custom-html .hero,
  .pbs-hero {
    min-height: 520px !important;
    background-position: center center !important;
  }

  .pbs-home .hero::before,
  .tws-container--tws-custom-html .hero::before {
    background: linear-gradient(90deg, rgba(4,18,33,.96), rgba(4,18,33,.78));
  }

  .pbs-home .benefits,
  .pbs-home .category-grid,
  .pbs-home .brand-strip,
  .pbs-home .guides,
  .pbs-home .about-section,
  .pbs-home .newsletter,
  .tws-container--tws-custom-html .benefits,
  .tws-container--tws-custom-html .category-grid,
  .tws-container--tws-custom-html .brand-strip,
  .tws-container--tws-custom-html .guides,
  .tws-container--tws-custom-html .about-section,
  .tws-container--tws-custom-html .newsletter {
    width: calc(100% - 30px) !important;
  }

  .pbs-home .benefits,
  .pbs-home .category-grid,
  .pbs-home .guides,
  .pbs-home .about-section,
  .tws-container--tws-custom-html .benefits,
  .tws-container--tws-custom-html .category-grid,
  .tws-container--tws-custom-html .guides,
  .tws-container--tws-custom-html .about-section {
    grid-template-columns: 1fr !important;
  }
}
/* Ny färg på topp och footer */
.fabrikk--top-bar,
.fabrikk--header.scrolled {
    background: #473939 !important;
}

.fabrikk--header.scrolled {
    border-top: 4px solid #473939 !important;
}

.fabrikk--footer {
    background: #473939 !important;
.energy-class {
    position: relative;
    display: inline-block;
    min-width: 50px;
    text-align: center;
    padding: 4px 14px 4px 10px;
    color: #fff;
    font-weight: 700;
    border-radius: 3px 0 0 3px;
}

.energy-class:after {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}

.energy-class.a:after,
.energy-class.a-plus:after,
.energy-class.a-plus-plus:after,
.energy-class.a-plus-plus-plus:after {
    border-left: 12px solid #009640;
}

.energy-class.b:after { border-left: 12px solid #52AE32; }
.energy-class.c:after { border-left: 12px solid #A8C814; }
.energy-class.d:after { border-left: 12px solid #F4E500; }
.energy-class.e:after { border-left: 12px solid #F7B500; }
.energy-class.f:after { border-left: 12px solid #EB690B; }
.energy-class.g:after { border-left: 12px solid #E30613; } 