/* =============================================
   Design tokens – modern Karpfiskebutiken look
   ============================================= */
:root {
  --clr-text:#1e293b;
  --clr-muted:#64748b;
  --clr-border:#e5e7eb;
  --clr-bg:#f6f7f5;
  --clr-card:#ffffff;

  /* Brand */
  --clr-primary:#2e6e3e;
  --clr-primary-600:#1d4232;
  --clr-accent:#a8bba2;

  --clr-success:#22c55e;
  --clr-danger:#ef4444;

  --radius:10px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 6px 14px rgba(2,8,23,.08);
  --glow:0 0 10px rgba(180,220,200,.6);
  --transition:180ms ease;
}

/* =============================================
   BAS
   ============================================= */
html {
  scroll-behavior:smooth;
}

body {
  font-family:"Inter", sans-serif;
  font-weight:400;
  color:#ccc;
  font-size:12px;
  line-height:20px;
  width:100%;
}

body,
body.common-home {
  background:url("https://karpfiskebutiken.se/catalog/view/theme/default/image/background.png?kfbv=61fff964c9155f5c") repeat scroll 0 0 var(--clr-bg);
}

body .container {}

h1, h2, h3, h4, h5, h6 {
  color:#444;
}

.fa { font-size:14px; }

h1 { font-size:33px; }
h2 { font-size:27px; }
h3 { font-size:21px; }

h4 {
  font-size:15px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  text-align:left;
}

h5 { font-size:12px; }
h6 { font-size:10.2px; }

a {
  color:#2e6e3e;
  text-decoration:none;
  transition:color var(--transition);
}
a:hover {
  color:var(--clr-primary-600);
  text-decoration:none;
}

legend {
  font-size:18px;
  padding:7px 0;
}
label {
  font-size:12px;
  font-weight:normal;
}

select.form-control,
textarea.form-control,
input[type="text"].form-control,
input[type="password"].form-control,
input[type="datetime"].form-control,
input[type="datetime-local"].form-control,
input[type="date"].form-control,
input[type="month"].form-control,
input[type="time"].form-control,
input[type="week"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="search"].form-control,
input[type="tel"].form-control,
input[type="color"].form-control {
  font-size:12px;
}

.input-group input,
.input-group select,
.input-group .dropdown-menu,
.input-group .popover {
  font-size:12px;
}

.input-group .input-group-addon {
  font-size:12px;
  height:30px;
}

span.hidden-xs,
span.hidden-sm,
span.hidden-md,
span.hidden-lg {
  display:inline;
}

/* =============================================
   TOPBAR
   ============================================= */
#top {
  background:linear-gradient(180deg,#2e463b 0%,#1d2d26 100%);
  color:#e5f2ea;
  margin:0 0 20px 0;
  min-height:0;
}

/* Raden under välkomstbannern: samma höjd på alla sidor */
#top > .container {
  padding:0 40px;
  height:30px;
  min-height:30px;
  position:relative;
}
#top a {
  color:#e0ede6;
  transition:color var(--transition);
}
#top a:hover { color:#fff; }

#top .btn-link,
#top-links li,
#top-links a {
  color:#ede8e8;
  text-decoration:none;
}
#top .btn-link:hover,
#top-links a:hover {
  color:#444;
}

#top-links .dropdown-menu a { text-shadow:none; }
#top-links .dropdown-menu a:hover { color:#FFF; }

#top .btn-link strong {
  font-size:14px;
  line-height:14px;
}

#top-links {
  padding-top:0;
  height:30px;
  min-height:30px;
  line-height:30px;
  margin:0;
}

#top-links > ul {
  margin:0;
  padding:0;
  height:30px;
  line-height:30px;
}

#top-links > ul > li {
  height:30px;
  line-height:30px;
  vertical-align:top;
}

#top-links > ul > li > a {
  display:inline-block;
  height:30px;
  line-height:30px;
  padding-top:0;
  padding-bottom:0;
}

#top-links a + a { margin-left:15px; }

/* Språk & valuta */
#top #form-language,
#top #form-currency {
  text-align:left;
}
#top #form-language .language-select,
#top #form-currency .currency-select {
  display:inline-flex;
  align-items:center;
  gap:8px;
  justify-content:flex-start;
  text-align:left;
}
#top #form-language .btn-link,
#top #form-currency .btn-link,
#top #form-language .language-select,
#top #form-currency .currency-select,
#top #form-language select,
#top #form-currency select {
  font-size:13px;
  color:#cdd9d2;
  transition:color .2s ease;
}
#top #form-language .btn-link:hover,
#top #form-currency .btn-link:hover,
#top #form-language .language-select:hover,
#top #form-currency .language-select:hover,
#top #form-language select:hover,
#top #form-currency select:hover {
  color:#fff;
}
#top #form-language img,
#top #form-currency img {
  height:auto;
  max-height:100%;
  width:auto;
  line-height:1;
  display:inline-block;
  vertical-align:middle;
  margin-right:8px;
}
#top #form-language span,
#top #form-currency span,
#top #form-language option,
#top #form-currency option {
  vertical-align:middle;
  line-height:1.2;
}

@media (max-width:768px) {
  #top #form-language,
  #top #form-currency {
    padding-left:10px;
  }
  #top #form-language img,
  #top #form-currency img {
    margin-right:6px;
  }
}

/* logo */
#logo { margin:0 0 10px 0; }
#logo img { margin-bottom:5px !important; }

/* search */
#search { margin-bottom:10px; }
#search .input-lg {
  height:40px;
  line-height:20px;
  padding:0 10px;
}
#search .btn-lg {
  font-size:15px;
  line-height:18px;
  padding:10px 35px;
  text-shadow:0 1px 0 #FFF;
}

/* =============================================
   HUVUDMENY
   ============================================= */
#menu {
  background:linear-gradient(90deg,#2e6e3e 0%,#1d4232 100%);
  border-radius:12px;
  box-shadow:var(--glow);
  min-height:56px;
  font-size:16px;
  margin:0 -5px 10px;
}
#menu .nav>li>a {
  color:#e6f0ea;
  padding:18px 18px 16px;
  transition:background var(--transition),color var(--transition);
  min-height:50px;
}
#menu .nav>li>a:hover,
#menu .nav>li.open>a {
  background:var(--clr-primary);
  color:#fff;
}

#menu .dropdown-menu { padding-bottom:0; }
#menu .dropdown-inner { display:table; }
#menu .dropdown-inner ul { display:table-cell; }

#menu .dropdown-inner a {
  min-width:180px;
  display:block;
  padding:3px 20px;
  clear:both;
  line-height:20px;
  color:#333;
  font-size:12px;
}
#menu .dropdown-inner li a:hover {
  text-decoration:none;
  color:#ffffff;
  background-color:#ffaa01;
}

#menu .see-all {
  display:block;
  margin-top:.5em;
  border-top:1px solid #DDD;
  padding:3px 20px;
  border-radius:0 0 3px 3px;
  font-size:12px;
}
#menu .see-all:hover,
#menu .see-all:focus {
  text-decoration:none;
  color:#ffffff;
  background-color:#ffaa01;
}

#menu #category {
  float:left;
  padding-left:15px;
  font-size:16px;
  font-weight:700;
  line-height:40px;
  color:#fff;
  text-shadow:0 1px 0 rgba(0,0,0,0.2);
}

#menu .btn-navbar {
  font-size:15px;
  color:#FFF;
  padding:2px 0;
  float:right;
  background-color:#229ac8;
  background-image:linear-gradient(to bottom,#23a1d1,#1f90bb);
  border-color:#1f90bb #1f90bb #145e7a;
}
#menu .btn-navbar:hover,
#menu .btn-navbar:focus,
#menu .btn-navbar:active,
#menu .btn-navbar.disabled,
#menu .btn-navbar[disabled] {
  color:#ffffff;
  background-color:#229ac8;
}

@media (min-width:768px) {
  #menu .dropdown:hover .dropdown-menu { display:block; }
}
@media (max-width:767px) {
  #menu { border-radius:4px; }
  #menu div.dropdown-inner>ul.list-unstyled { display:block; }
  #menu div.dropdown-menu {
    margin-left:0 !important;
    padding-bottom:10px;
    background-color:rgba(0,0,0,0.1);
  }
  #menu .dropdown-inner { display:block; }
  #menu .dropdown-inner a {
    width:100%;
    color:#fff;
  }
  #menu .dropdown-menu a:hover,
  #menu .dropdown-menu ul li a:hover {
    background:rgba(0,0,0,0.1);
  }
  #menu .see-all {
    margin-top:0;
    border:none;
    border-radius:0;
    color:#fff;
  }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background:linear-gradient(135deg,#3b8360 0%,#1d4232 80%);
  border-radius:16px;
  padding:40px;
  color:#f8fafc;
  position:relative;
  box-shadow:var(--glow),0 8px 16px rgba(0,0,0,.06);
  margin-bottom:20px;
}
.hero .headline {
  font-size:40px;
  font-weight:800;
  margin-bottom:10px;
  color:#fff;
}
.hero .sub {
  color:#dbe8e1;
  font-size:18px;
}
.hero .cta-row {
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero .usp-list {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:12px;
  margin-top:18px;
}
.hero .usp {
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  border-radius:12px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#f1f5f2;
  box-shadow:var(--shadow-sm);
}

/* =============================================
   PRODUKTKORT / PRODUCT GRID
   ============================================= */

/* göm pris exkl moms */
.price-tax { display:none !important; }

.product-grid .row {
  display:flex;
  flex-wrap:wrap;
  margin-left:-15px;
  margin-right:-15px;
  row-gap:40px;
  column-gap:20px;
  justify-content:flex-start;
}
.product-grid .product-layout {
  display:flex;
  padding-left:15px;
  padding-right:15px;
}
.product-grid .product-layout>div {
  display:flex;
  width:100%;
}

.product-thumb {
  border:1px solid var(--clr-border);
  margin-bottom:20px;
  overflow:hidden;
  background:var(--clr-card);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  height:100%;
}
.product-thumb:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
}

/* bild */
.product-thumb .image {
  text-align:center;
  background:#fff;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--clr-border);
  transition:box-shadow var(--transition),transform var(--transition);
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-thumb .image a { display:block; }
.product-thumb .image a:hover { opacity:1; }
.product-thumb .image img {
  margin-left:auto;
  margin-right:auto;
  max-height:210px;
  max-width:100%;
  object-fit:contain;
  transition:transform var(--transition);
}
.product-thumb .image img:hover {
  transform:scale(1.04);
  filter:drop-shadow(0 0 8px rgba(46,110,62,.35));
}

/* caption */
.product-thumb .caption {
  padding:0 8px;
  height:145px;
}
.julkarusell .product-thumb .caption {
  height:110px !important;
}

.product-thumb h4 {
  font-weight:bold;
  color:#23a1d1;
  min-height:30px;
  font-size:15px;
  margin:2px 0 4px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  line-height:1.35em;
}

.product-thumb .caption p {
  margin:0 0 6px;
  color:var(--clr-muted);
  font-size:13px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

/* rating & pris */
.product-thumb .rating { padding-bottom:10px; }
.rating .fa-stack { font-size:8px; }
.rating .fa-star-o { color:#999;font-size:15px; }
.rating .fa-star { color:#FC0;font-size:15px; }
.rating .fa-star + .fa-star-o { color:#E69500; }

h2.price { margin:0; }

.product-thumb .price {
  color:#0f172a;
  padding-bottom:10px;
  font-weight:600;
  font-size:13px;
}
.product-thumb .price-new {
  font-weight:800;
  color:var(--clr-danger);
}
.product-thumb .price-old {
  color:#64748b !important;
  text-decoration:line-through;
  font-weight:500;
  font-size:10px;
  text-overflow:ellipsis;
  overflow:hidden;
}

/* =============================================
   KNAPPRAD – KÖP / ÖNSKELISTA / JÄMFÖR
   ============================================= */
.product-thumb .button-group {
  width:100% !important;
  border-top:1px solid var(--clr-border);
  background:#f8fafc;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:5px;
  padding:10px 10% !important;
  box-sizing:border-box;
  margin:0 auto;
  overflow:visible;
}

.product-thumb .button-group button:first-child {
  flex:0 1 auto;
  min-width:100px;
  max-width:145px;
  height:34px;
  line-height:34px;
  font-size:13px;
  padding:0 14px;
  background:var(--clr-primary);
  color:#fff;
  font-weight:700;
  border:none;
  border-radius:6px;
  white-space:nowrap;
  position:relative;
  transition:background .2s ease, transform .2s ease;
  container-type:inline-size;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  line-height:1.2;
}
.product-thumb .button-group button:first-child:hover {
  background:var(--clr-primary-600);
  transform:translateY(-2px);
  cursor:pointer;
}

.product-thumb .button-group button + button {
  flex:0 0 36px;
  width:36px;
  height:34px;
  border-radius:6px;
  border:1px solid var(--clr-border);
  background:#eef2f7;
  color:#111827;
  transition:background .2s ease;
}
.product-thumb .button-group button + button:hover {
  background:#e5e7eb;
}

/* ta bort ev pseudo-ikon */
.product-thumb .button-group button:first-child::before {
  content:none !important;
}

/* container/fallback – här behålls texten (ingen ikon-only) */
@container (max-width:110px) {
  .product-thumb .button-group button:first-child {
    font-size:13px !important;
  }
  .product-thumb .button-group button:first-child i.fa {
    display:inline-block !important;
  }
  .product-thumb .button-group button:first-child::before {
    content:none !important;
  }
}
@supports not (container-type:inline-size) {
  @media (max-width:320px) {
    .product-thumb .button-group button:first-child {
      font-size:13px !important;
    }
    .product-thumb .button-group button:first-child i.fa {
      display:inline-block !important;
    }
    .product-thumb .button-group button:first-child::before {
      content:none !important;
    }
  }
}

/* =============================================
   SIDEBAR / VÄNSTERSPALT – produkter
   ============================================= */
#column-left .product-layout {
  display:block;
  width:100%;
}
#column-left .product-layout>div {
  width:100%;
  float:none;
  display:block;
}
#column-left .row {
  display:block;
  margin-left:0;
  margin-right:0;
}
#column-left .row>[class*="col-"] {
  width:100%;
  padding-left:0;
  padding-right:0;
  float:none;
}
#column-left .product-thumb {
  margin-bottom:16px;
  border-radius:8px;
}
#column-left .product-thumb .image { height:140px; }
#column-left .product-thumb .image img { max-height:130px; }
#column-left .product-thumb h4 {
  font-size:15px;
  -webkit-line-clamp:2;
  min-height:calc(1.35em * 2);
}
#column-left .product-thumb .caption p {
  -webkit-line-clamp:2;
  min-height:calc(1.4em * 2);
}

/* =============================================
   PRODUKTSIDA – thumbnail-grid
   ============================================= */
#product ul.thumbnails,
.product-info ul.thumbnails,
#content ul.thumbnails {
  list-style:none !important;
  padding-left:0;
  margin:0;
  float:none;
}
#product ul.thumbnails>li,
.product-info ul.thumbnails>li,
#content ul.thumbnails>li,
.image-additional li {
  float:none;
  margin:0;
}

#product ul.thumbnails,
.product-info ul.thumbnails,
#content ul.thumbnails,
#product .image-additional,
.product-info .image-additional {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  align-items:start;
  justify-items:center;
}

#product ul.thumbnails>li:first-child,
.product-info ul.thumbnails>li:first-child,
#content ul.thumbnails>li:first-child {
  grid-column:1 / -1;
}

#product ul.thumbnails>li:first-child a,
.product-info ul.thumbnails>li:first-child a,
#content ul.thumbnails>li:first-child a {
  display:block;
  width:100%;
  border:1px solid #ddd;
  border-radius:8px;
  background:#fff;
  padding:6px;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}
#product ul.thumbnails>li:first-child img,
.product-info ul.thumbnails>li:first-child img,
#content ul.thumbnails>li:first-child img {
  width:100%;
  height:auto;
  display:block;
}

#product ul.thumbnails>li:not(:first-child) a,
.product-info ul.thumbnails>li:not(:first-child) a,
#content ul.thumbnails>li:not(:first-child) a,
#product .image-additional a,
.product-info .image-additional a {
  display:block;
  width:80px;
  height:80px;
  border:2px solid transparent;
  border-radius:6px;
  background:#fff;
  padding:5px;
  text-align:center;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
#product ul.thumbnails>li:not(:first-child) a:hover,
.product-info ul.thumbnails>li:not(:first-child) a:hover,
#content ul.thumbnails>li:not(:first-child) a:hover,
#product .image-additional a:hover,
.product-info .image-additional a:hover {
  transform:translateY(-2px);
  box-shadow:0 2px 8px rgba(0,0,0,.15);
  border-color:#2e6e3e;
}

#product ul.thumbnails>li:not(:first-child) img,
.product-info ul.thumbnails>li:not(:first-child) img,
#content ul.thumbnails>li:not(:first-child) img,
#product .image-additional img,
.product-info .image-additional img {
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  display:block;
  margin:0 auto;
}

#product ul.thumbnails a.active,
.product-info ul.thumbnails a.active,
#content ul.thumbnails a.active,
#product .image-additional a.active,
.product-info .image-additional a.active {
  border-color:#2e6e3e;
  box-shadow:0 0 6px rgba(46,110,62,.4);
}

@media (max-width:992px) {
  #product ul.thumbnails,
  .product-info ul.thumbnails,
  #content ul.thumbnails,
  #product .image-additional,
  .product-info .image-additional {
    grid-template-columns:repeat(3,1fr);
  }
}
@media (max-width:600px) {
  #product ul.thumbnails,
  .product-info ul.thumbnails,
  #content ul.thumbnails,
  #product .image-additional,
  .product-info .image-additional {
    grid-template-columns:repeat(2,1fr);
  }
}

/* =============================================
   PRODUCT LABELS
   ============================================= */
.product-thumb .image {
  position:relative;
  overflow:hidden;
}
.product-thumb .product-labels,
.product-thumb .product-label,
.product-thumb .label,
.product-thumb .sticker,
.product-thumb .badge,
.product-thumb .ribbon {
  position:absolute;
  top:8px;
  left:8px;
  z-index:3;
  pointer-events:none;
  margin:0;
  transform:none;
  box-shadow:none;
}
.product-thumb .image .labels,
.product-thumb .image .label-wrapper,
.product-thumb .image .sticker-wrapper {
  position:absolute;
  top:8px;
  left:8px;
  margin:0;
  padding:0;
  z-index:3;
  pointer-events:none;
}
.product-thumb .product-labels>*,
.product-thumb .label-wrapper>*,
.product-thumb .sticker-wrapper>*,
.product-thumb .image .label + .label,
.product-thumb .image .product-label + .product-label,
.product-thumb .image .sticker + .sticker {
  display:block;
  margin:0 0 6px 0;
}

.product-thumb .caption .product-labels,
.product-thumb .caption .product-label,
.product-thumb .caption .label,
.product-thumb .caption .sticker,
.product-thumb .caption .badge,
.product-thumb .caption .ribbon {
  position:absolute;
  top:8px;
  left:8px;
  margin:0;
}

.product-thumb .product-label,
.product-thumb .label,
.product-thumb .sticker,
.product-thumb .badge,
.product-thumb .ribbon {
  background:rgba(46,110,62,.92);
  color:#fff;
  font-size:12px;
  line-height:1;
  padding:6px 8px;
  border-radius:6px;
  letter-spacing:.2px;
  text-transform:uppercase;
  font-weight:700;
  white-space:nowrap;
}

/* =============================================
   Varukorgs-dropdown
   ============================================= */
#cart { margin-bottom:10px; }
#cart > .btn {
  font-size:12px;
  line-height:18px;
  color:#FFF;
}

#cart .dropdown-menu.pull-right {
  min-width:580px !important;
  max-width:640px;
  right:0;
  left:auto;
  padding:15px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  box-shadow:0 4px 14px rgba(0,0,0,.15);
  z-index:1002;
}
#cart .dropdown-menu table {
  width:100%;
  margin-bottom:10px;
  border-collapse:collapse;
}
#cart .dropdown-menu table td {
  padding:8px 5px;
  vertical-align:middle;
  border-bottom:1px solid #eee;
  font-size:13px;
}
#cart .dropdown-menu img {
  width:60px !important;
  height:auto;
  border-radius:4px;
  margin-right:8px;
}
#cart .dropdown-menu li p {
  margin:10px 0;
  text-align:right;
}
#cart .dropdown-menu li p strong { font-size:14px; }
#cart .dropdown-menu li .btn {
  font-size:13px;
  padding:8px 12px;
  border-radius:6px;
}

@media (max-width:600px) {
  #cart .dropdown-menu.pull-right {
    min-width:95% !important;
    right:2.5%;
    left:2.5%;
  }
}

/* =============================================
   NAV-TABS
   ============================================= */
.nav-tabs {
  margin-top:30px;
  margin-bottom:0;
  border-bottom:none;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.nav-tabs>li { margin-bottom:0; }
.nav-tabs>li>a {
  position:relative;
  padding:8px 18px;
  font-weight:600;
  color:#333;
  border:1px solid #ddd;
  border-radius:999px;
  background:#fdfdfd;
  box-shadow:0 1px 3px rgba(0,0,0,0.08);
  transition:all 0.2s ease;
  overflow:hidden;
}
.nav-tabs>li>a::after {
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0;
  height:3px;
  background:#f3a21b;
  transform:translateX(-50%);
  transition:width 0.25s ease;
}
.nav-tabs>li>a:hover {
  background:#fff8ea;
  border-color:#f3a21b;
  color:#000;
}
.nav-tabs>li>a:hover::after { width:70%; }

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
  background:#f3a21b;
  color:#000;
  border-color:#f3a21b;
}
.nav-tabs>li.active>a::after { width:100%; }

.tab-content {
  background:#ffffff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:22px 26px;
  font-size:15px;
  line-height:1.7;
  color:#333;
  margin-top:10px;
  margin-bottom:40px;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

@media (max-width:767px) {
  .nav-tabs {
    justify-content:flex-start;
    padding:0 10px;
    flex-wrap:nowrap !important;
    overflow-x:auto;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
  }
  .nav-tabs>li {
    margin-bottom:4px;
    margin-right:6px !important;
  }
  .tab-content {
    margin:10px 10px 30px;
    padding:18px 16px;
  }
  .nav-tabs>li>a {
    padding:6px 12px !important;
    font-size:13px !important;
    max-width:140px;
    text-overflow:ellipsis;
    overflow:hidden;
  }
}

/* ============================================================
   JULKARUSELL 2.7
   Karpfiskebutiken – Christmas Edition
   Mindre regelbundet snöfall + långsammare animation
   ============================================================ */

.julkarusell {
  position: relative;
  display: block;

  width: 100% !important;
  max-width: 848px !important;
  box-sizing: border-box !important;

  margin: 0 auto 20px !important;
  padding: 26px 10px 26px !important;

  border: 1px solid #c5a66a !important;
  border-radius: 10px;

  background-color: #173824;

  background-image:

    /* Julrand överkant */
    repeating-linear-gradient(
      -45deg,
      #9e1b28 0px,
      #9e1b28 15px,
      #fffdf5 15px,
      #fffdf5 30px,
      #c5a66a 30px,
      #c5a66a 33px,
      #fffdf5 33px,
      #fffdf5 40px
    ),

    /* Julrand underkant */
    repeating-linear-gradient(
      -45deg,
      #9e1b28 0px,
      #9e1b28 15px,
      #fffdf5 15px,
      #fffdf5 30px,
      #c5a66a 30px,
      #c5a66a 33px,
      #fffdf5 33px,
      #fffdf5 40px
    ),

    /* Snöflingor – lager 1 */
    radial-gradient(
      circle at 11% 17%,
      rgba(255,255,255,0.55) 0.7px,
      transparent 1.6px
    ),

    /* Snöflingor – lager 2 */
    radial-gradient(
      circle at 79% 28%,
      rgba(255,255,255,0.75) 0.9px,
      transparent 1.8px
    ),

    /* Snöflingor – lager 3 */
    radial-gradient(
      circle at 32% 73%,
      rgba(255,255,255,0.90) 1.2px,
      transparent 2.2px
    ),

    /* Snöflingor – lager 4 */
    radial-gradient(
      circle at 88% 11%,
      rgba(255,255,255,0.65) 1.5px,
      transparent 2.5px
    ),

    /* Snöflingor – lager 5 */
    radial-gradient(
      circle at 18% 54%,
      rgba(255,255,255,0.80) 1.8px,
      transparent 2.9px
    ),

    /* Snöflingor – lager 6 */
    radial-gradient(
      circle at 61% 84%,
      rgba(255,255,255,0.60) 2.1px,
      transparent 3.4px
    ),

    /* Snöflingor – lager 7 */
    radial-gradient(
      circle at 47% 22%,
      rgba(255,255,255,0.72) 1.1px,
      transparent 2.1px
    ),

    /* Snöflingor – lager 8 */
    radial-gradient(
      circle at 7% 91%,
      rgba(255,255,255,0.50) 2.4px,
      transparent 3.9px
    ),

    /* Julgrön bakgrund */
    linear-gradient(
      145deg,
      #102e1e 0%,
      #254b32 50%,
      #102e1e 100%
    );

  background-size:
    100% 8px,
    100% 8px,
    43px 79px,
    67px 101px,
    97px 131px,
    149px 173px,
    191px 227px,
    239px 281px,
    121px 163px,
    307px 347px,
    100% 100%;

  background-repeat:
    no-repeat,
    no-repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    repeat,
    no-repeat;

  background-position:
    top center,
    bottom center,
    9px 41px,
    53px 7px,
    81px 93px,
    17px 141px,
    129px 31px,
    187px 109px,
    71px 57px,
    223px 149px,
    center;

  box-shadow:
    0 4px 15px rgba(0,0,0,0.15),
    0 0 10px rgba(197,166,106,0.25);

  animation: kfb-naturligt-julsno-27 55s linear infinite;

  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

/* ============================================================
   RÖTT SKIMMER OCH LYFTEFFEKT VID HOVER
   ============================================================ */

.julkarusell:hover {
  box-shadow:
    0 4px 20px rgba(0,0,0,0.15),
    0 0 25px rgba(204,0,0,0.35);

  transform: translateY(-5px);
}

/* Inaktivera tidigare dekorationslager */

.julkarusell::before,
.julkarusell::after {
  content: none !important;
  display: none !important;
}

/* ============================================================
   NATURLIGARE OCH LÅNGSAMMARE SNÖFALL
   ============================================================ */

@keyframes kfb-naturligt-julsno-27 {
  from {
    background-position:
      top center,
      bottom center,
      9px 41px,
      53px 7px,
      81px 93px,
      17px 141px,
      129px 31px,
      187px 109px,
      71px 57px,
      223px 149px,
      center;
  }

  to {
    background-position:
      top center,
      bottom center,
      64px 1260px,
      -29px 1140px,
      171px 1025px,
      -141px 980px,
      348px 870px,
      -104px 830px,
      158px 920px,
      -96px 760px,
      center;
  }
}

/* ============================================================
   AVSTÅND OCH KARUSELLENS INNEHÅLL
   ============================================================ */

.julkarusell .owl-carousel {
  margin-bottom: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.julkarusell .owl-wrapper-outer,
.julkarusell .owl-wrapper,
.julkarusell .owl-item {
  background: transparent !important;
}

.julkarusell .product-layout {
  margin-bottom: 0 !important;
}

.julkarusell .product-thumb {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   PRODUKTKORT
   ============================================================ */

.julkarusell .product-thumb {
  position: relative;
  background: #ffffff !important;

  border: 1px solid #d5c29a !important;
  border-radius: 7px;
  overflow: hidden;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Guldskimmer runt produktkort vid hover */

.julkarusell .product-thumb:hover {
  border-color: #e5cc91 !important;

  box-shadow:
    0 0 12px rgba(197,166,106,0.45);
}

/* ============================================================
   PRODUKTBILDER
   ============================================================ */

.julkarusell .product-thumb .image {
  background: #ffffff !important;
}

.julkarusell .product-thumb .image img {
  transition: transform 0.35s ease;
}

/* Diskret förstoring av produktbild vid hover */

.julkarusell .product-thumb:hover .image img {
  transform: scale(1.035);
}

/* ============================================================
   PRODUKTNAMN
   ============================================================ */

.julkarusell .product-thumb h4 a {
  color: #243d2b !important;
}

.julkarusell .product-thumb h4 a:hover {
  color: #a51f2d !important;
}

/* ============================================================
   PRISFÄRGER
   ============================================================ */

.julkarusell .price-new {
  color: #b51e2e !important;
  font-weight: 700;
}

.julkarusell .price-old {
  color: #333333 !important;
  text-decoration: line-through;
}

.julkarusell .price-tax {
  color: #888888;
}

/* Minska avstånd mellan pris och köpknapp */

.julkarusell .product-thumb .caption {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.julkarusell .product-thumb .price,
.julkarusell .product-thumb .price-tax {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ============================================================
   JULRÖDA KÖPKNAPPAR MED GULDKANT
   ============================================================ */

.julkarusell .product-thumb .button-group {
  display: block;
  width: 100% !important;
  box-sizing: border-box;

  border-top: 1px solid #e8dfcd !important;
  background: #faf8f3 !important;

  padding: 10px 10% !important;
}

.julkarusell .product-thumb .button-group button {
  display: block;
}

/* Köpknapp */

.julkarusell .product-thumb
.button-group button:first-child {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  height: 38px;
  line-height: 36px;
  padding: 0;

  display: block;
  float: none;

  font-size: 12px;
  font-weight: 700;

  background: linear-gradient(
    to bottom,
    #b82b39,
    #8e1724
  ) !important;

  color: #ffffff !important;
  border: 1px solid #c5a66a !important;
  border-radius: 5px !important;

  box-shadow:
    0 2px 4px rgba(0,0,0,0.15);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* Köpknapp vid hover */

.julkarusell .product-thumb
.button-group button:first-child:hover {
  background: linear-gradient(
    to bottom,
    #d43645,
    #a51f2d
  ) !important;

  color: #ffffff !important;
  border-color: #e5cc91 !important;

  box-shadow:
    0 0 10px rgba(197,166,106,0.65);

  cursor: pointer;
}

/* Dölj övriga knappar */

.julkarusell .product-thumb
.button-group button + button {
  display: none;
}

/* ============================================================
   KARUSELLNAVIGERING
   ============================================================ */

.julkarusell .owl-controls {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.julkarusell .owl-controls .owl-page span {
  background: #d3bf91 !important;
  opacity: 0.65;
}

.julkarusell .owl-controls .owl-page.active span {
  background: #ffffff !important;
  opacity: 1;
  box-shadow: 0 0 5px #c5a66a;
}

.julkarusell .owl-prev,
.julkarusell .owl-next {
  color: #e7d4a7 !important;
}

/* ============================================================
   COMO-ETIKETT – EJ KLICKBAR
   ============================================================ */

.julkarusell .comopl {
  pointer-events: none;
}

/* ============================================================
   MOBILANPASSNING
   ============================================================ */

@media (max-width: 767px) {
  .julkarusell {
    width: 100% !important;
    max-width: 848px !important;
    padding: 22px 6px 22px !important;
    border-radius: 8px;
  }

  .julkarusell .product-thumb .button-group {
    padding: 8px 6% !important;
  }
}

/* ============================================================
   REDUCERAD RÖRELSE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .julkarusell {
    animation: none !important;
    transition: none;
  }

  .julkarusell:hover {
    transform: none;
  }

  .julkarusell .product-thumb,
  .julkarusell .product-thumb .image img {
    transition: none;
  }

  .julkarusell .product-thumb:hover .image img {
    transform: none;
  }
}

/* =============================================
   ÖVRIGT – footer, breadcrumb, knappar, mm
   ============================================= */
div.required .control-label:before {
  content:'* ';
  color:#F00;
  font-weight:bold;
}
.dropdown-menu li>a:hover {
  text-decoration:none;
  color:#ffffff;
  background-color:#ffaa01;
}

#content {
  min-height:600px;
  color:#555;
}

footer {
  margin-top:30px;
  padding-top:50px;
  background:rgba(248,248,248,1);
  box-shadow:1px 1px 8px 2px #3333;
  background-color:#43535b;
}
footer hr { border-bottom:1px solid #666; }
footer a {
  color:#eee;
  font-size:16px;
}
footer a:hover { color:#fff; }
footer h5 {
  font-family:'Open Sans',sans-serif;
  font-size:17px;
  font-weight:bold;
  color:#f5f5f5;
  margin-top:50px;
  text-decoration:underline;
  text-decoration-color:#e96631;
}

.alert { padding:8px 14px; }

.breadcrumb {
  margin:0 0 20px 0;
  padding:8px 0;
  border:1px solid #ddd;
}
.breadcrumb i { font-size:15px; }
.breadcrumb>li {
  text-shadow:0 1px 0 #FFF;
  padding:0 20px;
  position:relative;
  white-space:nowrap;
}
.breadcrumb>li + li:before {
  content:'';
  padding:0;
}
.breadcrumb>li:after {
  content:'';
  display:block;
  position:absolute;
  top:-3px;
  right:-5px;
  width:26px;
  height:26px;
  border-right:1px solid #DDD;
  border-bottom:1px solid #DDD;
  transform:rotate(-45deg);
}

.pagination { margin:0; }

.buttons { margin:1em 0; }

.btn {
  padding:7.5px 12px;
  font-size:12px;
  border:1px solid #cccccc;
  border-radius:4px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
}
.btn-xs { font-size:9px; }
.btn-sm { font-size:10.2px; }
.btn-lg {
  padding:10px 16px;
  font-size:15px;
}

.btn-group>.btn,
.btn-group>.dropdown-menu,
.btn-group>.popover {
  font-size:12px;
}
.btn-group>.btn-xs { font-size:9px; }
.btn-group>.btn-sm { font-size:10.2px; }
.btn-group>.btn-lg { font-size:15px; }

.btn-default {
  color:#777;
  text-shadow:0 1px 0 rgba(255,255,255,0.5);
  background-color:#e7e7e7;
  background-image:linear-gradient(to bottom,#eeeeee,#dddddd);
  border-color:#dddddd #dddddd #b3b3b3 #b7b7b7;
}
.btn-primary {
  color:#ffffff;
  text-shadow:0 -1px 0 rgba(0,0,0,0.25);
  background-color:#229ac8;
  background-image:linear-gradient(to bottom,#23a1d1,#1f90bb);
  border-color:#1f90bb #1f90bb #145e7a;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  background-color:#1f90bb;
  background-position:0 -15px;
}
.btn-warning {
  color:#ffffff;
  text-shadow:0 -1px 0 rgba(0,0,0,0.25);
  background-color:#faa732;
  background-image:linear-gradient(to bottom,#fbb450,#f89406);
  border-color:#f89406 #f89406 #ad6704;
}
.btn-warning:hover,
.btn-warning:active,
.btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
  box-shadow:inset 0 1000px 0 rgba(0,0,0,0.1);
}
.btn-danger {
  color:#ffffff;
  text-shadow:0 -1px 0 rgba(0,0,0,0.25);
  background-color:#da4f49;
  background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);
  border-color:#bd362f #bd362f #802420;
}
.btn-danger:hover,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
  box-shadow:inset 0 1000px 0 rgba(0,0,0,0.1);
}
.btn-success {
  color:#ffffff;
  text-shadow:0 -1px 0 rgba(0,0,0,0.25);
  background-color:#5bb75b;
  background-image:linear-gradient(to bottom,#62c462,#51a351);
  border-color:#51a351 #51a351 #387038;
}
.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  box-shadow:inset 0 1000px 0 rgba(0,0,0,0.1);
}
.btn-info {
  color:#ffffff;
  text-shadow:0 -1px 0 rgba(0,0,0,0.25);
  background-color:#df5c39;
  background-image:linear-gradient(to bottom,#e06342,#dc512c);
  border-color:#dc512c #dc512c #a2371a;
}
.btn-info:hover,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  background-image:none;
  background-color:#df5c39;
}
.btn-link {
  border-color:transparent;
  cursor:pointer;
  color:#23A1D1;
  border-radius:0;
}
.btn-link,
.btn-link:active,
.btn-link[disabled] {
  background-color:transparent;
  background-image:none;
  box-shadow:none;
}
.btn-inverse {
  color:#ffffff;
  text-shadow:0 -1px 0 rgba(0,0,0,0.25);
  background-color:#363636;
  background-image:linear-gradient(to bottom,#444444,#222222);
  border-color:#222222 #222222 #000000;
}
.btn-inverse:hover,
.btn-inverse:active,
.btn-inverse.active,
.btn-inverse.disabled,
.btn-inverse[disabled] {
  background-color:#222222;
  background-image:linear-gradient(to bottom,#333333,#111111);
}

/* ============================================
   VÄNSTERMENY – list-group
   ============================================ */
#column-left .list-group a {
  display:block;
  padding:9px 16px;
  font-size:14px;
  background:var(--clr-card) !important;
  color:var(--clr-text) !important;
  /* border:none !important; */
  border: 1px solid var(--clr-border) !important;
  text-shadow:none !important;
  transition:background 0.15s ease, padding-left 0.15s ease;
}

/* huvudkategorier */
#column-left .list-group a:first-child,
#column-left .list-group a.active {
  background:var(--clr-primary) !important;
  color:#fff !important;
  font-weight:700;
  text-transform:uppercase;
}

/* undermenyer */
#column-left .list-group a:not(:first-child) {
  font-size:13px;
}

/* hover */
#column-left .list-group a:hover {
  background:#eaeaea !important;
  color:var(--clr-text) !important;
  padding-left:20px;
}
#column-left .list-group a:not(:first-child):hover {
  color:var(--clr-text) !important;
}

/* thumbnails/layout/subcategories */
.thumbnails {
  overflow:auto;
  clear:both;
  list-style:none;
  padding:0;
  margin:0;
}
.thumbnails>li { margin-left:20px; }
.thumbnails { margin-left:-20px; }
.thumbnails>img { width:78px; }

.image-additional a {
  margin-bottom:20px;
  padding:5px;
  display:block;
  border:1px solid #ddd;
}
.image-additional { max-width:78px; }
.thumbnails .image-additional {
  float:left;
  margin-left:20px;
}

/* fixed col-left/content/right */
@media (min-width:768px) {
  #column-left .product-layout .col-md-2 { width:100%; }
  #column-left + #content .product-layout .col-md-2 { width:25%; }
  #column-left + #content + #column-right .product-layout .col-md-2 { width:100%; }
  #content + #column-right .product-layout .col-md-2 { width:100%; }
}

/* subcategories block */
ul.subcategories-list {
  list-style-type:none;
  padding-left:0;
  overflow:hidden;
  margin:0 auto;
  margin-top:0;
  margin-bottom:35px;
  width:100%;
}
li.subcategory-list {
  float:left !important;
  height:auto;
  margin-left:2%;
  margin-right:2%;
  margin-bottom:20px;
  margin-top:5px;
}
li.subcategory-list a div.subcategory-image {
  padding:0;
  text-align:center;
  width:100%;
  border:0 solid #e4e4e4 !important;
  display:block;
}
li.subcategory-list a div.subcategory-image:hover {
  opacity:0.6;
}
li.subcategory-list a div.subcategory-image img {
  max-width:100%;
  border-radius:7px;
  box-shadow:1px 1px 8px 2px #3333;
}
li.subcategory-list span.subcategory-name {
  display:block;
  height:100%;
  padding:5px;
  text-align:center;
  font-size:100%;
  font-weight:600;
  text-transform:uppercase;
  max-width:100%;
  white-space:nowrap;
  border:0 solid #e4e4e4 !important;
  color:#666;
}
li.subcategory-list span.subcategory-name:hover {
  color:#ffaa01;
}
@media (max-width:478px) {
  .subcategory-list {
    font-size:9px;
    width:45%;
  }
}
@media (min-width:768px) {
  .subcategory-list {
    font-size:95%;
    width:28%;
  }
}

/* small helpers */
.input-group .form-control[name^=quantity] {
  min-width:50px;
}
:focus-visible {
  outline:3px solid rgba(14,165,233,.4);
  outline-offset:2px;
}
@media (max-width:480px) {
  .product-thumb .image { height:250px; }
}

/* Dropdown-menyer – mörkgrå text */
#top-links .dropdown-menu a,
#top .dropdown-menu a {
  color:#444 !important;
}
#top-links .dropdown-menu a:hover,
#top .dropdown-menu a:hover {
  color:#fff !important;
}

/* Toplänkar – ingen bakgrundsändring när aktiv */
#top-links li.open > a,
#top-links li.open > a:hover,
#top .btn-group.open > a,
#top .btn-group.open > button,
#top .btn-group.open > .btn {
  background:transparent !important;
  color:inherit !important;
  box-shadow:none !important;
}

/* Land / språk / valuta – mörkgrå text i dropdown */
#top #form-language .dropdown-menu .language-select,
#top #form-currency .dropdown-menu .currency-select {
  color:#444 !important;
  text-shadow:none !important;
}
#top #form-language .dropdown-menu .language-select:hover,
#top #form-currency .dropdown-menu .currency-select:hover {
  color:#ffffff !important;
}

/* Vänstermeny: aktiv huvudkategori/undermeny */
#column-left .list-group a.list-group-item.active {
  background:#2e6e3e !important;
  color:#ffffff !important;
  font-weight:700;
}
#column-left .list-group a.list-group-item.active[href*="_"] {
  background:#eaeaea !important;
  color:#1e293b !important;
  font-weight:600;
}
#column-left .list-group a.list-group-item.active[href*="_"]:hover {
  background:#d5d5d5 !important;
  color:#1e293b !important;
}

/* MOBIL: knapprad i produktkort */
@media (max-width:480px) {
  .product-thumb .button-group {
    padding:8px 6px !important;
    gap:4px !important;
    flex-wrap:wrap !important;
  }
  .product-thumb .button-group button:first-child {
    min-width:70px !important;
    max-width:100px !important;
    font-size:12px !important;
    padding:0 8px !important;
  }
  .product-thumb .button-group button + button {
    width:30px !important;
    height:32px !important;
  }
}

/* MOBIL: luft runt Kategorier-modulen */
@media (max-width:480px) {
  #column-left .panel,
  #column-left .list-group {
    margin-left:10px !important;
    margin-right:10px !important;
  }
}
/* MOBIL: ta bort extra luft runt bilder i julkarusellen */
@media (max-width: 480px) {
    .julkarusell .product-thumb .image {
        height: auto !important;          /* ingen tvingad höjd */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: flex-start;          /* sluta centrera vertikalt */
    }

    .julkarusell .product-thumb .image img {
        max-height: none !important;      /* låt bilden bestämma höjden */
        width: 100%;
        height: auto;
    }
}
/* MOBIL: låg "Kategorier"-rad + centrerad menyikon */
@media (max-width: 480px) {

    /* Själva raden */
    .navbar {
        min-height: 32px !important;   /* låg, men inte löjligt låg */
        padding: 0 !important;
    }

    /* Lägg text + ikon i ett flex-radblock */
    .navbar-header {
        display: flex !important;
        align-items: center !important;         /* vertikalt centrerat */
        justify-content: space-between !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* "Kategorier"-texten */
    .navbar-brand {
        padding: 4px 10px !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 20px !important;
        height: auto !important;
    }

    /* Meny-ikonen (hamburger / fa-bars) */
    .navbar-toggle {
        margin: 0 8px 0 0 !important;          /* lite sidomarginal höger */
        padding: 4px 8px !important;
        height: auto !important;
        line-height: 20px !important;
    }

    .navbar-toggle .icon-bar {
        width: 18px !important;
        height: 2px !important;
    }
}
/* Gör texten i varukorgens dropdown mörkare */
#cart .dropdown-menu,
#cart .dropdown-menu table td,
#cart .dropdown-menu li p,
#cart .dropdown-menu li p strong {
    color: #333 !important;   /* mörkare grå */
}
/* ===========================================
   1) MOBIL – knapparna på EN rad
   =========================================== */
@media (max-width: 480px) {

  /* Knappraden: full bredd, inga radbrytningar */
  .product-thumb .button-group {
    width: 100% !important;
    padding: 8px 6px !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;   /* EN rad */
    justify-content: center;
  }

  /* KÖP-knappen får ta all plats som blir över */
  .product-thumb .button-group button:first-child {
    flex: 1 1 auto;                 /* växer/krymper */
    min-width: 0 !important;
    max-width: none !important;
    font-size: 12px !important;
    padding: 0 8px !important;
  }

  /* Ikon-knapparna håller fast storlek */
  .product-thumb .button-group button + button {
    flex: 0 0 32px;
    width: 32px !important;
    height: 32px !important;
  }
}

/* ===========================================
   2) MOBIL – ta bort extra luft runt bilden
   =========================================== */
@media (max-width: 480px) {

  /* Ingen fast höjd, ingen centrerings-luft */
  .product-thumb .image {
    height: auto !important;        /* skriver över 230/250px */
    align-items: flex-start !important;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .product-thumb .image img {
    max-height: 100% !important;    /* låt bilden styra höjden */
  }
}
/* MOBIL: tvinga layout i topbaren (land vänster, ikoner höger) */
@media (max-width: 767px) {

    /* Gör hela top-raden till en flex-rad */
    #top .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height:30px !important;
        min-height:30px !important;
    }

    /* Ta bort floats som stör ordningen */
    #top #form-language,
    #top #form-currency,
    #top #top-links {
        float: none !important;
    }

    /* Land / språk till vänster */
    #top #form-language,
    #top #form-currency {
        margin-right: auto !important;
    }

    /* Ikonerna till höger */
    #top #top-links {
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px; /* lite luft mellan ikonerna */
    }
}
/* Mobil: gör produktbeskrivningen lika bred som karusellen */
@media (max-width: 767px) {

    /* Ta bort sidmarginal på hela tab-innehållet */
    .tab-content {
        margin-left: -2px !important;
        margin-right: -2px !important;
    }
}
/* Mobil: centrera loggan i mitten */
@media (max-width: 767px) {

    #logo {
        text-align: center !important;
        float: none !important;
    }

    #logo img {
        margin: 0 auto !important;
        display: inline-block !important;
    }
}
/* ================================
   FIX: Knappar ska alltid få plats
   mellan 992px–1200px
   ================================ */

@media (max-width: 1200px) and (min-width: 992px) {

  .product-thumb .button-group{
    padding: 8px 6px !important;     /* mindre sidluft men fortfarande luft */
    gap: 4px !important;
    flex-wrap: nowrap !important;   /* inga radbrytningar */
  }

  .product-thumb .button-group button:first-child{
    min-width: 70px !important;
    max-width: 95px !important;
    font-size: 12px !important;
    padding: 0 8px !important;
  }

  .product-thumb .button-group button + button{
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
  }
}
.julkarusell .button-group button i {
    margin-right: 6px; /* avstånd mellan ikon och text */
}
