:root {
    --color-primary: #D32F2F;
    --color-accent: #6c6c6c;

    --color-success: rgba(190 251 224);
    --color-alert: rgba(253 164 175);

    --color-foreground: rgb(50,50,50);

    --bg-body: #ffffff;
    --bg-header: rgb(255, 255, 255);
    --bg-footer: rgb(255, 255, 255);
    --bg-overlay: 146, 146, 146;

    --gap: 1rem;

    /* Swiper */
    --swiper-navigation-color: var(--color-foreground);
    --swiper-pagination-color: var(--color-accent);
    --swiper-navigation-size: 2rem;
    --swiper-theme-color: var(--color-primary);
}











body {
  background-color: var(--bg-body, #ffffff);
  overflow-y: auto;
  overflow-x: hidden;
}

.font-body {
    font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Montserrat',
sans-serif;
    line-height: 120%;
}

/**
 * Colors
 */

.text-primary {
    color: var(--color-primary);
}
.hover\:text-primary:hover {
    color: var(--color-primary);
}
.ring-primary,
.ring-primary:focus {
    --tw-ring-color: var(--color-primary);
}

.text-highlight {
    color: var(--color-accent);
}
.hover\:text-highlight:hover {
    color: var(--color-accent);
}
.ring-highlight {
    --tw-ring-color: var(--color-highlight);
}

.text-body {
    color: var(--color-foreground);
}
.hover\:text-body:hover {
    color: var(--color-foreground);
}
.border-text-body {
    border-color: var(--color-foreground);
}
.hover\:border-text-body:hover {
    border-color: var(--color-foreground);
}

.bg-primary {
    background-color: var(--color-primary) !important;
}
.hover\:bg-primary:hover {
    color: var(--color-primary);
}
.border-primary {
    border-color: var(--color-primary);
}


.bg-secondary {
    background-color: rgba(50,50,50, 0.05);
}

.bg-highlight {
    background-color: var(--color-accent) !important;
}
.hover\:bg-highlight:hover {
    color: var(--color-accent);
}

.bg-success {
    background: var(--color-success);
}

.bg-alert {
    background: var(--color-alert);
}

.bg-body {
    background-color: var(--bg-body);
}

.bg-header {
    background-color: var(--bg-header);
}

.bg-footer {
    background-color: var(--bg-footer);
}

.bg-overlay {
    background-color: rgba(var(--bg-overlay), var(--tw-bg-opacity));
}

.border-highlight {
    border-color: var(--color-accent) !important;
}

.decoration-primary {
    text-decoration-color: #fff;
}

.gap-default {
    gap: var(--gap);
}

/**
 * Disable spinner arrows on number inputs
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/**
 * Cart bubble tweaks
 */
.cart-bubble.text-xs {
    font-size: 0.7rem;
    line-height: 1;
}

/**
 * Tailwind
 */
[multiple]:focus, [type=date]:focus, [type=datetime-local]:focus, [type=email]:focus, [type=month]:focus, [type=number]:focus, [type=password]:focus, [type=search]:focus, [type=tel]:focus, [type=text]:focus, [type=time]:focus, [type=url]:focus, [type=week]:focus, select:focus, textarea:focus {
    --tw-ring-color: var(--color-primary);
    outline: none;
    border-color: var(--color-primary);
}

/**
 * PhotoSwipe
 */
.pswp {
    --pswp-icon-color-secondary: var(--color-foreground);
    --pswp-icon-color: var(--color-foreground);
    --pswp-bg: var(--bg-body);
    --pswp-icon-stroke-color: var(--pswp-bg);
}

.pswp img {
    max-width: none;
    object-fit: contain;
}

.pswp__img--placeholder {
    display: none !important;
}

.pswp__counter {
    font-weight: bold;
    text-shadow: 0 0 2px var(--pswp-bg)
}

/**
 * Swiper
 */


/** Fix for pinch zoom on main product image */
.swiper.swiper-horizontal {
    touch-action: auto;
}

.swiper-button-next,
.swiper-button-prev {
    width: auto;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    display: none
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: '';
}

/**
 * Hero Slider
 */
.hero-slider {
    transition: height 0.3s ease;
    min-height: 500px;
}

@media (min-width: 768px) {
    .hero-slider {
        min-height: 700px;
    }
}

.hero-slider .swiper-slide {
    height: 100%;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* Remove Swiper's default arrow pseudo-elements */
.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    content: none;
}

/* Style the SVG icons inside the arrow buttons */
.hero-slider .swiper-button-next svg,
.hero-slider .swiper-button-prev svg {
    stroke: white;
    stroke-width: 2.5;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: white;
    width: 32px;
    border-radius: 6px;
}

.bg-dark-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.bg-light-overlay {
    background: rgba(255, 255, 255, 0.4);
}

.products-swiper-main {
    min-height: 200px;
}

.products-swiper-thumbs {
    --swiper-navigation-size: 30px;
}

.swiper-slide-thumb-active {
    opacity: 100 !important;
}

@media (max-width: 767px) {
    .products-swiper-main .swiper-slide img {
        max-height: 50vh;
    }
}
@media (min-width: 768px) and (max-width: 1279px) {
    .products-swiper-main .swiper-slide img {
        max-height: 700px;
    }
}
@media (min-width: 1280px) {
    .products-swiper-main .swiper-slide img {
        max-height: 800px;
    }
}

/**
 * Tailwind 
 */

.aspect-1\/1 {
    aspect-ratio: 1 / 1;
}

.aspect-4\/3 {
    aspect-ratio: 4 / 3;
}

.aspect-3\/2 {
    aspect-ratio: 3 / 2;
}

.aspect-3\/4 {
    aspect-ratio: 3 / 4;
}

select:not([size]) {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.focus\:outline-none:focus {
    --tw-ring-color: transparent;
}

.break-words {
    overflow-wrap: anywhere !important;
}

/* "Polyfill" for Tailwind */
.group:hover .group-hover\:scale-105{
    transform: scale(1.05);
}

/**
 * Fix for modal max-height in desktop
 */
@media (min-width: 640px) {
    div[modal='search'] {
        max-height: calc(80vh)
    }
}

/**
 * Wishlist
 */
.wishlist-alert {
    background: var(--color-success);
    font-size: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.wishlist-alert i {
    display: none;
}

.wishlist-alert .wishlist-addok {
    background: #f00;
}

/**
 * Login
 */

.login,
.register {
    max-width: 24rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.login div,
.register div {
    width: 100% !important;
}

.login form,
.register form {
    margin-top: 3rem;
    text-align: left;
}

.login label,
.register label {
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 0.875rem;
}

.login label.cursor,
.register label.cursor {
    padding: 1rem 0;
}

.login label.cursor + label.cursor,
.register label.cursor + label.cursor {
    margin-left: 1rem;
}

.login label.cursor,
.register label.cursor,
.login label.cursor > input[type="radio"],
.register label.cursor > input[type="radio"] {
    display: inline-block;
    width: auto;
    cursor: pointer;
}

.login label.cursor > input[type="radio"],
.register label.cursor > input[type="radio"] {
    margin-right: .5rem;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
    --tw-ring-color: var(--color-primary);
}

.login input[type="text"],
.login input[type="email"],
.login input[type="password"],
.register input[type="text"],
.register input[type="email"],
.register input[type="password"] {
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.8rem;
    display: block;
    border-radius: 0.25rem;
    width: 100%;
    margin-bottom: 1rem;
}

.login .btn-inverse,
.register .btn-inverse,
.register hr + div > a[href] {
    margin: 1rem 0 2rem 0;
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    cursor: pointer;
    border-radius: 0.25rem;
    width: 100%;
}

.register hr + div a[href] {
    padding: 0.75rem 2rem;
}

.login .btn-inverse :hover,
.register .btn-inverse :hover {
    background-color: var(--color-foreground);
}

.login br,
.register br {
    display: none;
}

.login .btn-inverse:hover,
.register .btn-inverse:hover {
    background-color: var(--color-foreground);
}

.login hr,
.register hr {
    margin-bottom: 2rem;
}

.login hr + div,
.register hr + div {
    display: block;
}

.login hr + div > a,
.register hr + div > a[href] {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem !important;
    color: var(--color-primary);
}

.login hr + div > a:hover,
.register hr + div > a:hover {
    color: var(--color-foreground);
}

.login hr + div a.btn,
.register hr + div a[href] {
    display: block;
    background: transparent;
    font-size: 1rem !important;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.login hr + div a.btn:hover,
.register hr + div a:hover {
    background: transparent;
    color: var(--color-foreground);
    border-color: var(--color-foreground);
}

.customerarea_login_message {
    margin-bottom: 2rem !important;
}

/**
 * Fix for image alignment
 */
img.fr-dib {
    margin: 5px auto
}

img.fr-dib.fr-fil {
    margin-left: 0;
}

img.fr-dib.fr-fir {
    margin-right: 0;
}

/* DÖLJ standardrubriken "Populära produkter" */
h2[data-qb-setting="title"]{
  display:none !important;
}

/* NY rubrik */
.sd-section-heading{
  text-align:center;
  margin: 16px 0 24px;
}

.sd-section-title{
  font-family: "Babas", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0em;
  text-transform: uppercase;
}

.sd-section-subtitle{
margin: 0;
margin-top: 7px;
font-family: "Montserrat", sans-serif;
font-weight: 400;
font-size: 0.875rem;
line-height: 1.43;
letter-spacing: 0em;
}

.qb-size-shop{
  position: relative;
  width: 100%;
  height: 500px;

  background-size: cover;
  background-position: center;

  font-family: "Montserrat", system-ui, sans-serif;
  color: #fff;

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

.qb-size-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.qb-size-inner{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 24px;
  text-align: center;
}

.qb-size-title{
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.qb-size-subtitle{
  opacity: 0.85;
  margin-bottom: 28px;
}

/* ===== CTA BUTTON ===== */
.qb-size-cta{
  display: inline-block;
  padding: 14px 34px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #fff;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.15);

  transition: transform 160ms ease,
              box-shadow 160ms ease,
              background 160ms ease,
              opacity 160ms ease;
}

/* Hover-glow */
.qb-size-cta:hover{
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 18px 45px rgba(0,0,0,0.4),
    0 0 30px rgba(255,255,255,0.18);
}

.qb-size-shop{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Mobile */
@media (max-width: 768px){
  .qb-size-shop{
    height: 420px;
  }

  .qb-size-cta{
    padding: 14px 28px;
    font-size: 12px;
  }
}

/* ===========================
   SCANDRIVE: Premium Promotions Section
   Modern & elegant design med Montserrat
=========================== */

.qb-promotions {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px 20px;
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  font-family: 'Montserrat', system-ui, sans-serif;
}

/* Grid – responsiv och balanserad */
.qb-promotions__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* KORTEN – premium design */
.qb-promo-card {
  background: #fff;
  padding: 36px 28px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  
  /* Premium skugga */
  box-shadow: 
    0 0 0 1px rgba(0,0,0,.02),
    0 12px 32px rgba(0,0,0,.04),
    0 4px 12px rgba(0,0,0,.03);
  
  transition: 
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

/* Hover – elegant lyft */
.qb-promo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,.10);
  box-shadow: 
    0 0 0 1px rgba(0,0,0,.04),
    0 20px 48px rgba(0,0,0,.08),
    0 8px 20px rgba(0,0,0,.05);
}

/* Ikon-container */
.qb-promo-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
}

.promotion-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.85;
  transition: 
    transform .3s ease,
    opacity .3s ease;
  filter: grayscale(0%);
}

/* Ikon hover-effekt */
.qb-promo-card:hover .promotion-icon {
  transform: scale(1.08);
  opacity: 1;
}

/* Rubrik – Montserrat med premium spacing */
.qb-promo-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: rgba(0,0,0,.90);
  line-height: 1.3;
}

/* Text – läsbar och elegant */
.qb-promo-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(0,0,0,.65);
  margin: 0;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet – 2 kolumner */
@media (max-width: 1024px) and (min-width: 769px) {
  .qb-promotions__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    gap: 24px;
  }
  
  .qb-promo-card {
    padding: 32px 24px;
  }
}

/* Mobil – 1 kolumn */
@media (max-width: 768px) {
  .qb-promotions {
    padding: 48px 16px;
  }
  
  .qb-promotions__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 20px;
  }
  
  .qb-promo-card {
    padding: 32px 24px;
  }
  
  .qb-promo-card h3 {
    font-size: 14px;
  }
  
  .qb-promo-card p {
    font-size: 13px;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .promotion-icon {
    width: 40px;
    height: 40px;
  }
  
  .qb-promo-icon {
    height: 56px;
    margin-bottom: 16px;
  }
}

.product-image-wrapper {
  max-width: 320px;      /* ← exakt som ditt exempel */
  margin: 0 auto;        /* centrerar bilden i kortet */
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* VIKTIGT: inte cover */
  transition: transform .4s ease;
}

.qb-card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

.qb-img-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.qb-img-wrap {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.qb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: opacity .5s ease, transform .45s ease;
}

.qb-card:hover .qb-img {
  transform: scale(1.02);
}

.qb-details{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.qb-details > a { 
  margin-bottom: 10px;                 /* ökar avstånd rubrik -> pris */
}

/* Den raden som innehåller pris + knapp: tryck ner den till botten */
.qb-details > .flex.items-end.justify-between{
  margin-top: auto;                    /* 👈 nyckeln: CTA/pris alltid längst ner */
  padding-top: 10px;                   /* lite luft innan pris/knapp */
}

.qb-details .qs-cart-submit,
.qb-details a.flex.items-center.justify-center{
  height: 35px;
  padding: 0 16px;      /* säkerställer bra horisontell balans */
  font-size: 14px;
}

.qb-title {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(0,0,0,.9);
    line-height: 1.25;
  min-height: calc(1.25em * 2);        /* reservera plats för 2 rader */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .qb-title { font-size: 15px; }
}

/* Gör att rad med pris + CTA kan bryta rad och aldrig overflowa */
.qb-row{
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Pris får ta plats men inte trycka ut knappen */
.qb-price{
  flex: 1 1 auto;
  min-width: 0;
}

.qb-before {
  font-size: 12px;
  color: rgba(0,0,0,.45);
  text-decoration: line-through;
  margin-left: 8px;
}

/* Knappen ska aldrig shrinka bort/hamna utanför */
.qb-cta{
  flex: 0 0 auto;
  white-space: nowrap;
}

.qb-cta:hover {
  opacity: .92;
  transform: translateY(-1px);
}

.qb-spacer {
  flex: 1;
  min-height: 1px;
}

/* ---- Card polish ---- */
.qb-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.qb-card:hover{
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.12);
  transform: translateY(-2px);
}

/* Image container polish */
.qb-img-wrap{
  background: #fff;              /* vit istället för grå */
  border-radius: 10px;
  padding: 12px;                 /* lite mer luft */
  display: flex;                 /* viktigt för centrering */
  align-items: center;           /* vertikal centrering */
  justify-content: center;       /* horisontell centrering */
}

/* Make the image area visually consistent */
.qb-img{
  border-radius: 8px;
}

/* ---- Badges ---- */
.qb-badges{
  position: absolute;
  top: 12px;          /* lite mer luft från kanten */
  left: 12px;
  z-index: 5;
  display: flex;
  gap: 6px;           /* tightare badge-avstånd */
  pointer-events: none;
}

.qb-badge{
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.78);
  color: #fff;
  backdrop-filter: blur(4px);
}

.qb-badge--new{
  background: #111;          /* clean, premium */
  color: #fff;
}

.qb-badge--best{
  background: #111;          /* samma stil = seriöst */
  color: #fff;
}

.qb-badge--sale{ background: rgba(17, 24, 39, .85); }    /* mörk, premium */
.qb-badge--soldout{ background: rgba(0,0,0,.55); }

/* ---- Button polish ---- */
.qb-cta{
  border-radius: 8px;
  height: 42px;
  padding: 0 14px;
}

.qb-cta svg{
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.category-hero-title{
  font-family: Babas, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: 0em;
  line-height: 1;
}

/* Category hero overlay */
.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.60),   /* topp – mörkare */
    rgba(0,0,0,.45),   /* mitten */
    rgba(0,0,0,.80)    /* botten – djup */
  );
}

.category-hero-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.12);
}

.qb-price-now{
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.qb-price-before{
  margin-top: 2px;
  font-size: 12px;
  opacity: .6;
  text-decoration: line-through;
  line-height: 1.1;
}

.sd-footer{
  background: #0b0b0b;
  color: rgba(255,255,255,.92);
  padding-top: 56px;
}

.sd-footer__logo {
  height: 60px;          /* justera vid behov */
  width: auto;
  display: inline-block;
  object-fit: contain;
}

.sd-footer__inner{ padding-bottom: 56px; }

.sd-footer__grid{
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px){
  .sd-footer__grid{
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 36px;
  }
}

@media (min-width: 1024px){
  .sd-footer__grid{
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
  }
}

.sd-footer__logoText{
  display: inline-block;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .14em;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px;
}

.sd-footer__muted{
  margin-top: 10px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.6;
  max-width: 38ch;
}

.sd-footer__heading{
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.92);
}

.sd-footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.sd-footer__link{
  color: rgba(255,255,255,.68);
  font-size: 13px;
  text-decoration: none;
  transition: opacity .18s ease, transform .18s ease;
}

.sd-footer__link:hover{
  opacity: 1;
  transform: translateX(2px);
  color: rgba(255,255,255,.92);
}

.sd-footer__form{
  margin-top: 12px;
  position: relative;
}

.sd-footer__input{
  width: 100%;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  padding: 0 52px 0 16px;
  outline: none;
  font-size: 13px;
}

.sd-footer__input::placeholder{
  color: rgba(255,255,255,.55);
}

.sd-footer__input:focus{
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.sd-footer__submit{
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.sd-footer__submit:hover{
  opacity: .92;
  transform: translateY(-50%) scale(1.03);
  background: rgba(255,255,255,.12);
}

.sd-footer__submit svg{
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,.92);
}

.sd-footer__social{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sd-footer__socialBtn{
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: .08em;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.sd-footer__socialBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  opacity: .95;
}

.sd-footer__bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 18px 0;
}

.sd-footer__bottomInner{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px){
  .sd-footer__bottomInner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sd-footer__bottomText{
  margin: 0;
  color: rgba(255,255,255,.60);
  font-size: 12px;
}

.sd-footer__miniLinks{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sd-footer__miniLink{
  color: rgba(255,255,255,.60);
  font-size: 12px;
  text-decoration: none;
}

.sd-footer__miniLink:hover{
  color: rgba(255,255,255,.85);
}

/* =========================================
   FIX: Quickbutik custom_html wrappers
   (tar bort vit remsa + gör fullbredd)
========================================= */

/* Ta bort padding från custom_html-wrappen när den innehåller våra sektioner */
section[data-qb-element="custom_html"]:has(.qb-size-shop),
section[data-qb-element="custom_html"]:has(.qb-promotions){
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Om du vill: även ta bort container-padding så sektionerna kan bli edge-to-edge */
section[data-qb-element="custom_html"]:has(.qb-size-shop) > .container,
section[data-qb-element="custom_html"]:has(.qb-promotions) > .container{
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}
.qb-promo-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
}

@media (min-width: 768px) {
  .qb-promo-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qb-promo-item {
  position: relative;
  min-height: 220px;
  display: block;
  color: #fff;
  text-decoration: none;
  background-image: var(--img-mobile);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .qb-promo-item {
    min-height: 340px;
    background-image: var(--img-desktop);
  }
}

.qb-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.55) 100%
  );
}

.qb-light { color: #111; }

.qb-light-overlay {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.65) 0%,
    rgba(255,255,255,.9) 100%
  );
}

.qb-promo-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  max-width: 520px;
}

.qb-promo-content h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.qb-promo-content p {
  margin: 0 0 16px;
  line-height: 1.35;
  opacity: .95;
}

.qb-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  transition: all .25s ease;
}

.qb-promo-btn.dark {
  background: rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.25);
  color: #111;
}

.qb-promo-item:hover .qb-promo-btn {
  background: #fff;
  color: #000;
}

.qb-promo-item.qb-light:hover .qb-promo-btn.dark {
  background: #000;
  color: #fff;
}
.site-logo {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}

/* Bas */
.site-logo .logo {
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: opacity 200ms ease;
  display: block;
}

/* Default: visa vit logga */
.logo--white {
  opacity: 1;
}
.logo--black {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* När man scrollar */
body.qb-home-hero.qb-header-scrolled .logo--white {
  opacity: 0;
}
body.qb-home-hero.qb-header-scrolled .logo--black {
  opacity: 1;
}

.hero-slider .swiper-pagination {
  bottom: -54px !important;
}
.hero-slider {
  padding-bottom: 50px; /* så den inte klipps */
}

/* Extra safety: stoppa global horisontell scroll om nåt ändå sticker ut */
html, body {
  overflow-x: hidden;
}
/* === Produktlist-slider: ge plats under korten + flytta pagination ned === */
.swiper-pagination.mt-4 {
  margin-top: 18px !important;  /* flyttar ner prickarna */
}

/* Se till att slider-wrapper inte klipper pagination */
.swiper-pagination.mt-4 {
  position: relative !important;
  bottom: auto !important;
}
/* Login-ikon: tvinga synlig färg i header */
[data-qb-area="header"] a[href*="login"] svg{
  color: rgb(50,50,50) !important;
  stroke: currentColor !important;
}

/* ===========================
   HEADER: Fix så ikoner aldrig trycks ut
=========================== */
[data-qb-area="header"] .grid {
  overflow: visible !important; /* viktigt om något annars klipps */
}

/* Se till att ikon-raden får plats och inte kan skapa horisontell overflow */
[data-qb-area="header"] .flex.items-center.justify-end {
  min-width: 0;
}

/* Extra safety: stoppa global horisontell scroll */
html, body {
  overflow-x: hidden;
}

/* ===========================
   LOGIN-IKON: säkerställ synlighet i header
   (om färgen råkar bli vit av någon annan regel)
=========================== */
[data-qb-area="header"] a[href*="login"] svg {
  color: rgb(50,50,50) !important;
  stroke: currentColor !important;
}
/* Header: se till att mittenmenyn inte “flyttar” layouten */
[data-qb-area="header"] .container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* stoppa att något klipps */
[data-qb-area="header"] {
  overflow: visible !important;
}

/* Global safety */
html, body { overflow-x: hidden; }

/* ===== Header layout som inte kan rubbas av nav_top ===== */
.sd-header__nav{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

/* Vänster/höger får alltid plats */
.sd-header__left{ flex: 0 0 auto; }
.sd-header__right{ flex: 0 0 auto; display:flex; align-items:center; }

/* Menyn: absolut centrerad, påverkar inte layouten */
.sd-header__center{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 70vw;
  white-space: nowrap;
}

/* Om nav_top har egna wrappers som bråkar */
.sd-header__center .container{
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

/* Logo */
.site-logo{
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}
.site-logo .logo{
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* Extra safety */
html, body{ overflow-x: hidden; }

.sd-banner{
  position: relative;
  width: 100%;
  min-height: 380px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Overlay */
.sd-banner__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.12) 0%,
    rgba(0,0,0,.55) 100%
  );
}

/* Content */
.sd-banner__content{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.sd-banner__text h3{
  margin: 0 0 6px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
  font-size: 1.6rem;
}

.sd-banner__text p{
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 1rem;
}

/* Button */
.sd-banner__btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
    white-space: nowrap;        /* ← Tvingar EN rad */
  line-height: 1;             /* ← Förhindrar vertikal brytning */

  height: 48px;
  padding: 0 28px;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);

  background: linear-gradient(
    180deg,
    rgba(255,255,255,.22),
    rgba(255,255,255,.08)
  );

  backdrop-filter: blur(10px);
  color: #fff;

  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;

  text-decoration: none;
  cursor: pointer;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease;
}

/* Subtil glow + lyft */
.sd-banner__btn:hover{
  transform: translateY(-2px);
  background: #fff;
  color: #000;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.45),
    0 12px 32px rgba(0,0,0,.35),
    0 0 24px rgba(255,255,255,.35);
}

/* Klick-feedback */
.sd-banner__btn:active{
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(0,0,0,.25);
}
/* ===========================
   SCANDRIVE: Premium Dropdown Menu
   Modern & luftig design med Montserrat
=========================== */

/* 1) Dropdown-boxen: mjukare skuggor & rundare hörn */
[data-qb-area="header"] .dropdown,
[data-qb-area="header"] .nav-dropdown,
[data-qb-area="header"] .submenu,
[data-qb-area="header"] [data-qb-selector="dropdown"],
[data-qb-area="header"] nav ul ul {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  
  min-width: 320px !important;
  max-width: min(460px, 92vw) !important;
  
  /* Premium skugga */
  box-shadow: 
    0 0 0 1px rgba(0,0,0,.04),
    0 20px 50px rgba(0,0,0,.08),
    0 8px 24px rgba(0,0,0,.06) !important;
  
  /* Subtil border för extra definition */
  border: 1px solid rgba(0,0,0,.06) !important;
}

/* 2) Nollställ listan */
[data-qb-area="header"] nav ul ul,
[data-qb-area="header"] .dropdown ul,
[data-qb-area="header"] .submenu ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* 3) List items */
[data-qb-area="header"] nav ul ul > li,
[data-qb-area="header"] .dropdown li,
[data-qb-area="header"] .submenu li {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative;
}

/* 4) Länkarna: Montserrat + luftig padding */
[data-qb-area="header"] nav ul ul a,
[data-qb-area="header"] .dropdown a,
[data-qb-area="header"] .submenu a {
  display: block !important;
  width: 100% !important;
  
  margin: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  
  /* Mer padding för premium-känsla */
  padding: 14px 16px !important;
  
  /* Montserrat typsnitt */
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  
  color: rgba(0,0,0,.85) !important;
  
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-sizing: border-box !important;
  
  /* Rundare hörn på hover-området */
  border-radius: 10px !important;
  
  /* Smooth transitions */
  transition: 
    background-color .2s ease,
    color .2s ease,
    transform .2s ease,
    padding-left .2s ease !important;
}

/* 5) Hover-effekt: subtil bakgrund + lätt förskjutning */
[data-qb-area="header"] nav ul ul a:hover,
[data-qb-area="header"] .dropdown a:hover,
[data-qb-area="header"] .submenu a:hover {
  background-color: rgba(0,0,0,.04) !important;
  color: rgba(0,0,0,.95) !important;
  padding-left: 20px !important;  /* Lätt slide-in effekt */
}

/* 6) Active state (om kategori är vald) */
[data-qb-area="header"] nav ul ul a.active,
[data-qb-area="header"] .dropdown a.active,
[data-qb-area="header"] .submenu a.active {
  background-color: rgba(0,0,0,.06) !important;
  font-weight: 600 !important;
  color: var(--color-primary, #111) !important;
}

/* 7) Subtila separatorer mellan kategorier */
[data-qb-area="header"] .dropdown li:not(:last-child)::after,
[data-qb-area="header"] .submenu li:not(:last-child)::after,
[data-qb-area="header"] nav ul ul > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: rgba(0,0,0,.04);
}

/* 8) Extra spacing mellan grupper (om du har kategorigrupper) */
[data-qb-area="header"] .dropdown li + li,
[data-qb-area="header"] .submenu li + li,
[data-qb-area="header"] nav ul ul > li + li {
  margin-top: 2px !important;
}

/* 9) Stoppa inre element från att skapa overflow */
[data-qb-area="header"] nav ul ul a * {
  margin: 0 !important;
  max-width: 100% !important;
}

/* 10) Om länkarna är flex (för ikoner etc) */
[data-qb-area="header"] nav ul ul a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* 11) Om du har ikoner/pilar i menyn */
[data-qb-area="header"] nav ul ul a svg,
[data-qb-area="header"] .dropdown a svg,
[data-qb-area="header"] .submenu a svg {
  width: 16px !important;
  height: 16px !important;
  opacity: 0.6 !important;
  transition: opacity .2s ease !important;
}

[data-qb-area="header"] nav ul ul a:hover svg,
[data-qb-area="header"] .dropdown a:hover svg,
[data-qb-area="header"] .submenu a:hover svg {
  opacity: 0.9 !important;
}

/* 12) Fade-in animation när dropdown öppnas */
[data-qb-area="header"] .dropdown,
[data-qb-area="header"] .submenu,
[data-qb-area="header"] nav ul ul {
  animation: dropdownFadeIn 0.25s ease !important;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

<style>
  /* SCANDRIVE Contact */
  .sd-contact-card{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    padding:22px;
    box-shadow: 0 12px 28px rgba(0,0,0,.05);
  }

  .sd-contact-label{
    display:flex;
    align-items:center;
    gap:6px;
    font-weight:700;
    font-size:13px;
    letter-spacing:.02em;
    color:rgba(0,0,0,.80);
    margin-bottom:8px;
  }

  .sd-contact-req{
    color:#dc2626;
    font-weight:800;
  }

  .sd-contact-input,
  .sd-contact-select,
  .sd-contact-textarea{
    width:100%;
    background:#fff;
    border:1px solid rgba(0,0,0,.14);
    border-radius:12px;
    padding:12px 14px;
    font-size:14px;
    line-height:1.2;
    outline:none;
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
  }

  .sd-contact-textarea{ min-height: 140px; resize: vertical; }

  .sd-contact-input:focus,
  .sd-contact-select:focus,
  .sd-contact-textarea:focus{
    border-color: rgba(0,0,0,.35);
    box-shadow: 0 0 0 4px rgba(0,0,0,.06);
  }

  .sd-contact-hint{
    margin-top:6px;
    font-size:12px;
    color:rgba(0,0,0,.55);
  }

  .sd-contact-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:14px;
  }

  @media (min-width: 768px){
    .sd-contact-grid{
      grid-template-columns: 1fr 1fr;
      gap:16px;
    }
  }

  .sd-contact-row{ margin-bottom: 14px; }
  .sd-contact-row:last-child{ margin-bottom: 0; }

  .sd-contact-btn{
    width:100%;
    height:48px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.12);
    background: var(--color-primary, #111);
    color:#fff;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    font-size:12px;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  }

  .sd-contact-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
    opacity:.95;
  }

  .sd-contact-btn:active{ transform: translateY(0); box-shadow:none; }

  .sd-contact-note{
    margin-top:10px;
    font-size:12px;
    color:rgba(0,0,0,.55);
    text-align:center;
  }
</style>