/* =================================================== * CUSTOM CSS CODE BELOW * =================================================== */ 

/* Tydligare SALE-märke på alla enheter */
.product .product-image .product-badge { top: 8px; left: 8px; font-size: .95rem; letter-spacing: .06em; padding: 8px 12px; border: 2px solid #111; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* Mobil: dölj hover-overlayen "Lägg i korgen" över produktbilden, ikonen under räcker */
@media (max-width: 767px) {
  .product .product-hover-overlay,
  .product-slide .product-hover-overlay { display: none !important; }
}

/* Levande toppbild: fallande snö och flimrande ljusskimmer */
.home-slider .swiper-slide:first-child { position: relative; overflow: hidden; }
.home-slider .swiper-slide:first-child::before,
.home-slider .swiper-slide:first-child::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.home-slider .swiper-slide:first-child::before {
  inset: 0 0 auto auto; width: 26%; height: 52%;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,.7) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 2px);
  background-size: 240px 240px, 170px 170px, 110px 110px;
  background-position: 0 0, 60px 80px, 30px 40px;
  animation: qbSnow 18s linear infinite;
}
.home-slider .swiper-slide:first-child::after {
  background: radial-gradient(ellipse at 35% 75%, rgba(255,190,100,.35), transparent 55%), radial-gradient(ellipse at 70% 80%, rgba(255,170,80,.25), transparent 50%);
  mix-blend-mode: screen;
  animation: qbGlow 4s ease-in-out infinite;
}
.home-slider .swiper-slide:first-child .container, .home-slider .swiper-slide:first-child .overlay-content { position: relative; z-index: 2; }
@keyframes qbSnow { to { background-position: 40px 240px, 20px 330px, 70px 260px; } }
@keyframes qbGlow { 0%,100% { opacity: .55; } 30% { opacity: 1; } 55% { opacity: .7; } 80% { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .home-slider .swiper-slide:first-child::before, .home-slider .swiper-slide:first-child::after { animation: none; } }

/* Doftpinnar: mörkare toning bakom texten */
.banner-image-two:last-child .banner::before { background: linear-gradient(180deg, rgba(15,27,61,.35) 0%, rgba(15,27,61,.75) 45%, rgba(15,27,61,.95) 100%); }

/* Symmetri: fördelsrutor i linje med övrigt innehåll, bannertext vänsterställd */
.usp-row { margin: 0 !important; padding: 0 !important; }
@media (min-width: 992px) { nav.navbar-position.navbar-light { padding-bottom: 22px !important; } }
.top-bar .col-lg span { letter-spacing: 0 !important; font-size: 12.5px; white-space: nowrap; }
.topbar-payment .icon-payment { height: 20px; width: auto; max-width: 44px; flex: 0 0 auto; margin: 0 3px !important; padding: 2px 5px !important; background: #fff; border-radius: 3px; box-sizing: content-box; }
.hero-content p.lead { text-align: left !important; }
.banner .banner-text { align-items: flex-start !important; justify-content: flex-end !important; text-align: left !important; }

/* Airlecta */

/* Fördelsrutor: tre lika breda i rad */
.usp-row { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 !important; }
.usp-row .service-column { flex: none !important; max-width: none !important; width: auto !important; display: flex !important; align-items: center; gap: 14px; background: #f3f5ff; padding: 18px 20px !important; margin: 0 !important; white-space: normal !important; min-width: 0; }
.usp-row .service-icon { position: static !important; flex: 0 0 32px; width: 32px; height: 32px; margin: 0 !important; color: #0f1b3d; }
.usp-row .service-text { margin: 0 !important; padding: 0 !important; min-width: 0; }
.usp-row .service-text h6 { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #0f1b3d; margin: 0 !important; white-space: normal; }
@media (max-width: 767px) { .usp-row { grid-template-columns: 1fr; gap: 10px; } }
.usp-row .service-column:nth-child(4):last-child { grid-column: 1 / -1; }

.product .shadow-small, .product-slide.shadow-small {
    box-shadow:none;
    transition:none;
    border:1px solid #ccc;
}

.upsell img {
    max-width:60px;
    max-height:60px;
    margin-left:5px;
}

.upsell .secondimage {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    display:none;
}

.upsell a:hover .secondimage {
    display:block;
}

.upsell .up-title {
    line-height: 1.1;
    margin-bottom:4px;
}

.upsell .disc-price .before-price {
    color: #1a1a1a;
    font-weight:400;
    font-size:1rem;
}

.shadow-small {
    box-shadow: 1px 2px 4px 0 rgb(0 0 0 / 5%);
    transition: box-shadow 250ms ease;
}

.shadow-small:hover {
    box-shadow: 0 10px 30px -10px rgb(0 0 0 / 15%);
}

.up-btn {
    color: #ffffff;
    background: #3aa76d;
    transition: all 0.2s ease-in-out;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 68px;
}

.up-btn:hover {
    color: #ffffff;
    background: #3aa76d;
}

@media (min-width:768) {
  .upsell img {
        max-width:100px;
        max-height:100px;
    }
    .up-btn {
        width: 92px;
    }
}

/* Modernare uttryck */
.product .shadow-small, .product-slide.shadow-small {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgb(0 0 0 / 6%);
    transition: box-shadow 250ms ease, transform 250ms ease;
}
.product .shadow-small:hover, .product-slide.shadow-small:hover {
    box-shadow: 0 14px 34px -12px rgb(0 0 0 / 22%);
    transform: translateY(-3px);
}
.btn, button.btn, .up-btn {
    border-radius: 999px;
    letter-spacing: .02em;
    transition: all .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.form-control { border-radius: 10px; }
.carousel img, .banner img, .homepage-banner img { border-radius: 14px; }
h1, h2, h3 { letter-spacing: -.01em; }
section { padding-top: .5rem; padding-bottom: .5rem; }

/* Ny look: lugn, ljus och luftig */
body { background: #ffffff; }
header, .header, .navbar { box-shadow: 0 1px 0 rgb(0 0 0 / 6%); }
.navbar a, header a { font-weight: 600; letter-spacing: .06em; }
@media (min-width: 992px) {
  .navbar-bg .navbar-nav.d-lg-flex { flex-wrap: nowrap !important; width: 100%; justify-content: space-between; }
  .navbar-bg .navbar-nav.d-lg-flex .nav-link { letter-spacing: .02em !important; font-size: 17px !important; padding-left: 4px !important; padding-right: 4px !important; white-space: nowrap; }
  .navbar-bg .navbar-nav.d-lg-flex .nav-link.dropdown-toggle::after { margin-left: 4px; }
}
h1, h2, h3, h4 { font-weight: 600; text-transform: none; }
h2, h1 { text-align: left; }
.btn, .btn-primary, button.btn { border-radius: 3px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.btn-primary { background: #3aa76d; border-color: #3aa76d; color: #fff; }
.btn-primary:hover { background: #2f8e5b; border-color: #2f8e5b; }
.product .shadow-small, .product-slide.shadow-small { border-radius: 2px; border: 1px solid #e8eaf0; box-shadow: none; }
.product .shadow-small:hover, .product-slide.shadow-small:hover { transform: none; box-shadow: 0 4px 14px rgb(15 27 61 / 12%); }
.form-control { border-radius: 2px; }
.product-before-price { color: #777; }
.product .shadow-small, .product-slide.shadow-small { border-radius: 18px; background:#fff; }
.btn-primary, .btn { text-transform: uppercase; font-size: .85em; letter-spacing: .08em; padding: .7rem 1.6rem; }
.dark-overlay, [class*="banner"] { border-radius: 18px; }
img[src*="tl9pebj5slzs4fy"] { max-height: 520px; width: 100%; object-fit: cover; }
footer a { opacity: .85; }
footer a:hover { opacity: 1; }
.price, .product-price { font-weight: 700; }

/* Kategorimeny och produktkort enligt förebild */
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #e0523f; color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 2px; }
.product .shadow-small { padding: 12px; }
.product .product-title { padding-left: 0 !important; padding-right: 0 !important; }
.product .product-title h3 a { font-weight: 400; font-size: .95rem; line-height: 1.4; }
.product-price { color: #c0392b; font-size: 1.35rem; font-weight: 400; }
.product-before-price { font-size: .95rem; margin-right: 6px; }
.product-tools { padding-left: 0 !important; padding-right: 0 !important; }
.sidebar a, .col-lg-3 .sidebar a { letter-spacing: .05em; }
.sidebar.col-lg-3 { background: #f2f5ff; }
.col-lg-3:not(.sidebar) { background: transparent !important; }
.hero-content, .collection-header { text-align: left !important; }

/* Produktsida */
#product h1 { font-size: 1.9rem; font-weight: 600; letter-spacing: .02em; text-align: left; }
#product .product-price { color: #c0392b; font-size: 2.1rem; font-weight: 600; }
#product .product-before-price { color: #777; font-size: 1.4rem; margin-right: 10px; }
#product .product_description p { font-size: 1rem; line-height: 1.8; }
#product .product-current-stock-status { color: #1a7f37 !important; font-weight: 600; }
#product .addCart { flex-wrap: nowrap; gap: 12px; box-shadow: none !important; }
#product .detail-quantity { max-width: 90px; text-align: center; border-radius: 0; border: 1px solid #cfd6e4; height: 56px; }
#product .product-btn-addcart { height: 56px; border-radius: 0 !important; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; box-shadow: none !important; }
#product .detail-thumb-item { border: 1px solid #dfe3ec; background: #fff; border-radius: 0; }
#product .detail-thumb-item.active, #product .detail-thumb-item:hover { border-color: #0f1b3d; }
#product .detail-option { border-top: 1px solid #e6e9f0; }
#product .tab-content { box-shadow: none !important; border: 1px solid #e6e9f0; }

/* Startsida: säljande sektioner */
.promo-strip { background: #1f9d55; color: #fff; text-align: center; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 14px 16px; font-size: .95rem; margin-bottom: 14px; }
.promo-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.promo-chips a { background: #f2f5ff; color: #0f1b3d; border: 1px solid #dfe3ec; padding: 10px 11px; font-weight: 600; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.promo-chips a:hover { background: #0f1b3d; color: #fff; }
.promo-h { font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #0f1b3d; margin: 28px 0 14px; display: flex; justify-content: space-between; align-items: baseline; }
.promo-all { font-size: .95rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: #0f1b3d; text-decoration: underline; }
.promo-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.promo-tile { position: relative; display: block; min-height: 340px; overflow: hidden; color: #fff; text-decoration: none; }
.promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.promo-tile .tile-cover { object-fit: cover; opacity: .75; }
.promo-tile .tile-contain { height: calc(100% - 120px); object-fit: contain; padding: 18px; background: #fff; opacity: 1; }
.promo-tile:has(.tile-contain) .tile-body { background: none; }
.promo-tile .tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,0)); }
.promo-tile .tile-title { font-size: 1.6rem; font-weight: 800; line-height: 1.05; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.promo-tile .tile-btn { align-self: flex-start; background: #53b87a; color: #fff; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8rem; padding: 10px 22px; }
.promo-tile:hover .tile-btn { background: #3fa365; }
@media (max-width: 991px) { .promo-tiles { grid-template-columns: repeat(2, 1fr); } .promo-tile { min-height: 240px; } .promo-tile .tile-title { font-size: 1.2rem; } }

/* Startsida: resten i Engelsons-stil */
.product-slide.swiper-slide { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.product-slide .product-image { background: #f4f4f4; }
.product-slide .product-image img { mix-blend-mode: multiply; }
.product-slide h3 { text-align: left !important; }
.product-slide .productlist-title { font-weight: 700 !important; color: #111 !important; }
.product-slide .text-base.text-center { text-align: left !important; }
.product-slide .product-price { font-size: 1.7rem !important; font-weight: 800 !important; color: #d0021b !important; line-height: 1.1; }
.product .shadow-small { box-shadow: none !important; border: 0 !important; background: transparent !important; }
.product .product-image { background: #f4f4f4; }
.product .product-image img { mix-blend-mode: multiply; }
.product .product-title { padding-left: 0 !important; padding-right: 0 !important; }
.product .productlist-title { font-weight: 700 !important; font-size: 1rem; color: #111 !important; }
.product .product-price { font-size: 1.7rem !important; font-weight: 800 !important; color: #d0021b !important; line-height: 1.1; }
.product .product-before-price { font-size: .95rem; margin-right: 6px; }
.product .product-badge { background: #ffe600 !important; color: #111 !important; font-weight: 800; text-transform: uppercase; border-radius: 0 !important; padding: 8px 10px; line-height: 1; }
.product .product-tools { padding-left: 0 !important; padding-right: 0 !important; }
.imageoverlay .card, .imageoverlay .card-img, .imageoverlay .img-scale-container { border-radius: 0 !important; }
.imageoverlay .card-img-overlay { align-items: flex-end !important; padding: 36px 40px; }
.imageoverlay .overlay-content, .imageoverlay .banner-text { text-align: left !important; }
.imageoverlay .banner-text { text-transform: uppercase; font-weight: 800 !important; letter-spacing: .01em; font-size: clamp(2rem, 5vw, 4.2rem) !important; line-height: 1.02; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.imageoverlay .overlay-content p { text-align: left; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 12px; }
.imageoverlay .img-scale-container { max-height: 560px; }
.service-column { background: #f2f5ff; padding: 18px 16px !important; margin: 0 4px; }
.service-column h6 { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #0f1b3d; }
section h1.text-center, section .h1.text-center { text-align: left !important; text-transform: uppercase; font-weight: 800; letter-spacing: .02em; color: #0f1b3d; }

/* Kategorisida: produkterna högre upp, lika höga bildytor */
.products-grid .hero-content { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; min-height: 0 !important; }
.products-grid .collection-header { margin: 0 !important; padding: 0 !important; }
.products-grid + .clear-both { padding-top: 0 !important; margin-top: -48px !important; }
.products-grid h1:empty { display: none; }
.products-grid h1 { margin: 0 0 12px; font-size: 1.6rem; text-align: left; }
.product .product-image { height: 0 !important; padding-bottom: 100%; position: relative; overflow: hidden; display: block; aspect-ratio: auto; }
.product .product-image > a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.product .product-image > a > div { height: 100%; display: flex; align-items: center; justify-content: center; }
.product .product-image .product-badge { z-index: 3; }
.product .product-image img { max-height: 100%; width: 100%; object-fit: contain; }

/* Dölj Nutrinolab i menyerna */
li:has(> a[title="NUTRINOLAB"]), a[title="NUTRINOLAB"] { display: none !important; }

/* Nedre delen: guide-banners i samma stil */
.banner-image-two .banner { position: relative; overflow: hidden; border-radius: 0 !important; }
.banner-image-two .banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,61,.05) 20%, rgba(15,27,61,.85) 100%); z-index: 0; }
.banner-image-two .banner-text { position: relative; z-index: 1; align-items: flex-start !important; text-align: left !important; justify-content: flex-end !important; }
.banner-image-two .banner-text h2 { font-size: 2rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; margin-bottom: 6px !important; }
.banner-image-two .banner-text p { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px !important; }
.banner-image-two .banner-btn-link { background: #53b87a !important; color: #fff !important; border-radius: 0 !important; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; padding: 12px 28px; }
.banner-image-two .banner-btn-link:hover { background: #3fa365 !important; }

/* Dölj admin-märken (ERBJUDANDE!), Sale-märket används i stället */
.product .ribbon, #product .ribbon, .ribbon--classic, .ribbon--rectangle, .ribbon--cirle { display: none !important; }

/* Varukorg */
#sidebarCart .modal-header { background: #1f2350; min-height: 64px; align-items: center; padding: 0 20px !important; }
#sidebarCart .modal-header h3 { color: #fff; font-size: 1.25rem; font-weight: 500; margin: 0; }
#sidebarCart .modal-header .svg-icon { fill: #fff; color: #fff; }
#sidebarCart .navbar-cart-product { border: 0; border-bottom: 1px solid #e6e9f0; box-shadow: none !important; background: #fff !important; padding: 16px 20px !important; margin: 0 !important; }
#sidebarCart .navbar-cart-product-link { font-weight: 600; color: #111 !important; }
#sidebarCart .btn-items, #sidebarCart .input-items { border: 1px solid #111 !important; border-radius: 0 !important; background: #fff; }
#sidebarCart .sidebar-cart-footer { border-top: 0; box-shadow: none !important; padding: 16px 20px 20px; }
#sidebarCart .cart-total-row { font-weight: 700; font-size: 1.1rem; }
#sidebarCart .cart-total-row .navbar-cart-totals { color: #c0392b; font-weight: 400; }
#sidebarCart .cart-btn-green { background: #53b87a; color: #fff !important; border-radius: 0 !important; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; height: 52px; line-height: 40px; border: 0; }
#sidebarCart .cart-btn-green:hover { background: #3fa365; }
.free-ship { background: #f2f5ff; padding: 14px 20px; margin: -1rem -1rem 1rem; font-size: 1.4rem; font-weight: 600; color: #0f1b3d; }
.free-ship .fs-track { height: 14px; background: #dfe3ec; border-radius: 7px; overflow: hidden; }
.free-ship .fs-fill { height: 100%; width: 0; background: #53b87a; border-radius: 7px; transition: width .4s ease; }
.free-ship.fs-done .fs-fill { background: #53b87a; }

/* Vit logotyp på mörkblå header och sidfot */
.img-logo, a.navbar-brand img, .navbar-brand .img-logo { filter: brightness(0) invert(1) !important; -webkit-filter: brightness(0) invert(1) !important; }

/* Centrera Klarna botten framsida */
.col-12 {
    text-align: center;
}
/* SALE-märke: solid röd med vit text och vit kant, syns mot både ljusa och mörka bilder */
.product .product-badge, .product-badge { background: #ffd400 !important; color: #111 !important; border: 0 !important; box-shadow: 0 3px 10px rgba(0,0,0,.5) !important; font-size: 1rem; font-weight: 800; letter-spacing: .08em; padding: 7px 12px; top: 8px; left: 8px; z-index: 5; }
/* Dölj Klarna sidobanner framsida */
@media screen and (max-width: 600px) {
.homepage-promotion-tall {
     visibility: hidden;
     display: none;
  }
}