/* Kategorier */
.kat-sida { background: #fff; }
.kat-tomt { text-align: center; color: #6b7280; padding: 96px 16px; margin: 0; }
.kat { margin-top: 16px; padding: 40px 80px; content-visibility: auto; contain-intrinsic-size: auto 560px; }
.kat.tonad { background: #FAF9F9; }
.kat-topp { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.kat-topp h2 { font-size: 36px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #1f2937; margin: 0; }
.kat-besk { flex: 1; max-width: 32rem; margin: 0 0 0 auto; font-style: italic; font-size: 18px; color: #6b7280; text-align: right; }
.kat-mer { flex-shrink: 0; display: inline-block; background: #000; color: #fff; border: 1px solid #000; padding: 8px 24px; transition: background 0.3s, color 0.3s; }
.kat-mer:hover { background: #fff; color: #000; }

.kat-rad { display: flex; gap: 32px; align-items: flex-start; }
.kat-bild { flex: 0 0 calc(33.333% - 22px); height: 400px; position: relative; overflow: hidden; border-radius: 8px;
            background: #f3f4f6; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.kat-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kat-spar-wrap { position: relative; flex: 1; min-width: 0; }
.kat-spar { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 4px 24px; }
.kat-spar::-webkit-scrollbar { display: none; }
.kat-prod { flex: 0 0 230px; width: 230px; min-width: 0; height: 400px; background: #fff; padding: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
            transition: transform 0.3s; display: block; color: inherit; }
.kat-prod.med-pris { flex-basis: 250px; width: 250px; }
a.kat-prod:hover { transform: scale(1.05); }
.kat-prod-bild { height: 300px; display: flex; align-items: center; justify-content: center; background: #f9fafb; overflow: hidden; }
.kat-prod.med-pris .kat-prod-bild { height: 250px; }
.kat-prod-bild img { width: 100%; height: 100%; object-fit: cover; }
.kat-prod-bild span { font-size: 56px; color: #d1d5db; }
.kat-prod h3 { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #1f2937; text-align: center;
               margin: 12px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kat-pris { font-size: 14px; color: #4b5563; text-align: center; margin: 4px 0 0; }
.kat-pris s { color: #9ca3af; margin-left: 4px; }
.kat-pil { position: absolute; top: 200px; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none;
           background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.18); cursor: pointer; font-size: 20px; line-height: 1; z-index: 2; }
.kat-pil.vanster { left: -12px; }
.kat-pil.hoger { right: -12px; }
.kat-pil[hidden] { display: none; }

@media (max-width: 1023px) { .kat { padding: 40px 40px; } }
@media (max-width: 767px) {
  .kat { padding: 32px 16px; }
  .kat-topp { flex-direction: column; align-items: flex-start; gap: 8px; }
  .kat-topp h2 { font-size: 24px; }
  .kat-besk { margin: 0; text-align: left; font-size: 16px; }
  .kat-rad { flex-direction: column; gap: 24px; }
  .kat-bild { flex: none; width: 100%; height: 280px; }
  .kat-spar-wrap { width: 100%; }
  .kat-prod, .kat-prod.med-pris { flex-basis: 200px; width: 200px; height: 340px; }
  .kat-prod-bild, .kat-prod.med-pris .kat-prod-bild { height: 240px; }
  .kat-pil { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kat-prod { transition: none; } a.kat-prod:hover { transform: none; } .kat-spar { scroll-behavior: auto; } }
