/* ==========================================================================
   Z-INDEX SYSTEM SPECIFICATION
   ========================================================================== */

   :root {
    /* Decorative elements and negative depth */
    --z-below: -1;
  
    /* Standard document flow layer */
    --z-base: 0;
  
    /* Context menus, dropdowns, and popovers */
    --z-dropdown: 100;
  
    /* Sticky headers, floating action buttons */
    --z-sticky: 200;
  
    /* Backdrop scrims for dialogs/drawers */
    --z-overlay: 300;
  
    /* Modals, confirmation dialogs, drawers */
    --z-modal: 400;
  
    /* High-priority system toasts and notifications */
    --z-toast: 500;
  }
  
  /* ==========================================================================
     01. BASINSTÄLLNINGAR & GLOBALA ELEMENT (STYLE-FIRST BASE)
     ========================================================================== */
  
  * { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
  }
  
  :root {
    /* Typografi */
    --font-main: 'Alan Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
    /* Varumärkesfärger */
    --brand-magenta: #FF0075;
    --brand-magenta-dark: #E30062;
    --brand-dark: #080A0E;
    --brand-white: #FFFFFF;
    --brand-yellow: #FFEF00;
    --brand-gray-F3: #f3f3f3;
    --brand-gray-CC: #CCCCCC;
    --brand-gray-97: #979797;
    --brand-gray-66: #666666;
  
    /* Text & Bakgrunder för ljust tema */
    --bg-page: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --text-main: #080A0E;
    --text-muted: #CCCCCC;
    --border-menu: #F180B0;
  }
  
  html {
    font-size: 100%;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
  }
  
  @font-face {
    font-family: 'Alan Sans';
    src: url('/assets/fonts/AlanSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }
  
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* Media & Links */
  img, svg, video, picture {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  a {
    color: var(--brand-dark);
    text-decoration: underline;
  }
  a:hover { 
    color: var(--brand-magenta);
    text-decoration: underline; }
  
  :focus-visible {
    outline: 2px solid var(--brand-magenta);
    outline-offset: 2px;
  }
  
 /* ==========================================
     TYPOGRAPHY BASE & VARIANT SCALE
     ========================================== */

  /* Base Heading Styles */
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--brand-dark);
  }

  /* Default Fluid Type Scale */
  h1 { font-size: clamp(1.7rem, 4vw + 1rem, 3rem); }
  h2 { font-size: clamp(1.3rem, 2vw + 0.7rem, 1.85rem); }
  h3 { font-size: clamp(1.125rem, 1.2vw + 0.6rem, 1.35rem); }
  h4 { font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem); }
  h5 { font-size: 0.95rem; }
  h6 { font-size: 0.85rem; }

  p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    color: var(--brand-dark);
    margin: 10px 0 15px;
    max-width: 70ch;
  }
  .li-p,
  .li-p p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--brand-dark);
  }
  
  /* Clean Reset for UI Lists (Keeps Glossary A-Z, Product Finder & Navigation clean) */
  ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* Article & Content Lists Only (Applies bullets & numbers exclusively to reading content) */
  .main-content ul,
  .sticker-article ul,
  .product-article ul,
  .guide-article ul {
    margin: 16px 0 24px 0;
    padding-left: 20px;
    list-style-type: disc;
  }
  
  .main-content ol,
  .sticker-article ol,
  .product-article ol,
  .guide-article ol {
    margin: 16px 0 24px 0;
    padding-left: 20px;
    list-style-type: decimal;
  }
  
  .main-content ul ul,
  .sticker-article ul ul,
  .product-article ul ul,
  .guide-article ul ul { 
    list-style-type: circle; 
    margin: 6px 0 0 0; 
  }
  
  .main-content li,
  .sticker-article li,
  .product-article li,
  .guide-article li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 300;
  }
  
  /* Responsive Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;  /* Mobil: 20px */
    padding-right: 20px;
  }

  @media (min-width: 768px) {
    .container { 
      padding-left: 32px;  /* Tablet & Desktop: 32px */
      padding-right: 32px;
    }
  }
  
  /* ==========================================
     02. SITE HEADER
     ========================================== */
  
  .top-banner {
    background-color: var(--brand-magenta-dark);
    color: var(--brand-white);
    text-align: center;
    padding: 6px 12px;
  }
  
  .top-banner p {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: none;
    margin-bottom: 0;
  }
  
  @media (min-width: 768px) {
    .top-banner p {
      font-size: 0.75rem;
    }
  }
  
  /* ==========================================
     03. MAIN NAVIGATION
     ========================================== */
  
  .nav-bar {
    background-color: var(--brand-magenta);
    color: var(--brand-white);
  }
  
  .nav-bar__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    height: 90px;
  }
  
  @media (min-width: 1024px) {
    .nav-bar__inner {
      display: flex;
      height: 110px;
    }
  }
  
  .logo {
    grid-column: 2;
    justify-self: center;
  }
  
  .logo img {
    display: block;
    width: 182px;
    height: 60px;
  }
  
  @media (min-width: 1024px) {
    .logo { justify-self: initial; }
    .logo img { width: 242px; height: 80px; }
  }
  
  /* Navigation Toggle */
  .nav-toggle {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 17px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: calc(var(--z-modal) + 1);
  }
  
  .nav-toggle__bar {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background-color: var(--brand-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }
  
  .nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  @media (min-width: 1024px) {
    .nav-toggle { display: none; }
  }
  
  /* Desktop Navigation */
  .main-nav { display: none; }
  .main-nav > ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .main-nav a,
  .dropdown-toggle {
    color: var(--brand-white);
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .main-nav a:hover { text-decoration: underline; }
  
  .has-dropdown { position: relative; }
  .chevron { transition: transform 0.15s ease; }
  .dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
  
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    background: var(--brand-white);
    color: var(--text-main);
    list-style: none;
    padding-left: 0;
    margin: 0;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: var(--z-dropdown);
  }
  
  .dropdown-menu.is-open,
  .has-dropdown .dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-menu li { margin-bottom: 0; }
  .dropdown-menu li a {
    color: var(--text-main);
    font-weight: 400;
    padding: 8px 20px;
    display: block;
  }
  .dropdown-menu li a:hover { background: var(--bg-subtle); text-decoration: none; }
  
  @media (min-width: 1024px) {
    .main-nav { display: block; margin-left: 24px; }
  }
  
  .nav-bar__right {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .nav-about-link {
    display: none;
    color: var(--brand-white);
    font-weight: 600;
    text-decoration: none;
  }
  
  .lang-selector {
    background: none;
    border: none;
    color: var(--brand-white);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 1rem;
  }
  
  @media (min-width: 1024px) {
    .nav-bar__right { margin-left: auto; }
    .nav-about-link { display: inline-block; }
  }
  
  /* Mobile Drawer */
  .drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: var(--z-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .drawer-backdrop.is-open { opacity: 1; pointer-events: all; }
  
  .mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--brand-magenta);
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .mobile-drawer.is-open {
    visibility: visible;
    transform: translateX(0);
  }
  
  .drawer-heading {
    color: var(--brand-white);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .drawer-sublist,
  .drawer-toplist {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
  }
  
  .drawer-sublist { gap: 16px; margin-bottom: 32px; }
  .drawer-sublist a { color: var(--brand-white); text-decoration: none; font-size: 1rem; font-weight: 400; opacity: 0.85; }
  
  .drawer-toplist { gap: 24px; margin-bottom: 32px; }
  .drawer-toplist a { color: var(--brand-white); text-decoration: none; font-size: 1.6rem; font-weight: 600; }
  
  .drawer-divider {
    width: 100%;
    height: 1px;
    background: var(--border-menu);
    margin-bottom: 24px;
  }
  
  .drawer-sublist--about a {
    font-size: 0.9rem;
    opacity: 0.7;
  }
  
  @media (min-width: 1024px) {
    .drawer-backdrop, .mobile-drawer { display: none; }
  }
  
  /* ==========================================
     04. SEARCH
     ========================================== */
  
  .search-bar-section {
    background: var(--brand-white);
    padding: 16px 0;
  }
  
  .search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .search-bar__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--brand-dark);
    pointer-events: none;
  }
  
  #site-search {
    width: 100%;
    border: 1px solid var(--brand-gray-97);
    border-radius: 999px;
    padding: 12px 16px 12px 44px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--brand-dark);
  }
  #site-search::placeholder { color: var(--text-muted); font-style: italic; }
  #site-search:focus-visible { outline: 1px solid var(--brand-magenta-dark); outline-offset: 1px; }
  
  #search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    background: var(--brand-white);
    color: var(--brand-dark);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: var(--z-dropdown);
  }
  
  .search-result {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--brand-dark);
    border-bottom: 1px solid var(--border-menu);
  }
  .search-result:last-child { border-bottom: none; }
  .search-result:hover { background: var(--bg-subtle); }
  
  .search-result__title { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
  .search-result__excerpt { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0; }
  
  .search-empty {
    padding: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  /* ==========================================
     05. SITE FOOTER
     ========================================== */
  
  .site-footer {
    background-color: var(--brand-magenta-dark);
    color: var(--brand-white);
    padding: 56px 0;
  }
  
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  
  .footer-logo { width: 182px; height: 60px; }
  
  .footer-tagline {
    max-width: 480px;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
    color: var(--brand-white);
    margin-bottom: 0;
  }
  
  .footer-social { display: flex; align-items: center; gap: 24px; }
  .footer-social a { color: var(--brand-white); display: flex; }
  .footer-social a:hover { opacity: 0.8; }
  
  .footer-copyright {
    font-size: 0.8rem;
    color: var(--brand-white);
    font-weight: 200;
  }
  
  /* ==========================================
     06. PAGE LAYOUT (INDEX / GUIDES LIST)
     ========================================== */
  
  .page-main {
    background: var(--brand-white);
    padding: 0 0 72px;
  }
  
  .page-container {
    max-width: 1200px;
  }
  
  .page-header {
    margin: 0 auto;
    padding-bottom: 10px;
  }
  
  .page-header h1 {
    margin: 0 0 16px 0;
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
    line-height: 1.1;
    color: var(--brand-dark);
  }
  
  .page-header p {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 60ch;
    color: var(--text-secondary, #666666);
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  /* Filter Navigation */
  .guide-filters {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto 18px;
    border-bottom: 1px solid var(--brand-gray-CC);
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .guide-filters::-webkit-scrollbar { display: none; }
  
  .guide-filter {
    position: relative;
    flex: 0 0 auto;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--brand-dark);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 10px 0 12px;
    cursor: pointer;
    white-space: nowrap;
  }
  
  .guide-filter:hover { color: var(--brand-magenta-dark); }
  
  .guide-filter::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
  }
  
  .guide-filter.is-active {
    color: var(--brand-dark);
    font-weight: 700;
  }
  
  .guide-filter.is-active::after { background: var(--brand-magenta); }
  
  /* Result Status (Screen-reader accessible) */
  .guide-results-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    font-size: 0.8rem;
    color: var(--text-secondary, #666666);
  }
  
  /* Article List */
  .guide-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
    max-width: 720px;
    margin: 0 auto;
  }
  
  /* Guide Card */
  .guide-card { min-width: 0; }
  
  .guide-card__image-link {
    display: block;
    margin-bottom: 14px;
    border-radius: 0;
    overflow: hidden;
    background: var(--brand-gray-F3);
    text-decoration: none;
  }
  
  .guide-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--brand-gray-F3);
    transition: transform 0.25s ease;
  }
  
  .guide-card__image-link:hover .guide-card__image { transform: scale(1.015); }
  
  .guide-card__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--brand-magenta-dark);
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .guide-card__meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
  }
  
  .guide-card__likes {
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--brand-magenta-dark);
  }
  
  .guide-card__title {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    line-height: 1.15;
    font-weight: 700;
  }
  
  .guide-card__title a {
    color: var(--brand-dark);
    text-decoration: none;
  }
  
  .guide-card__title a:hover {
    color: var(--brand-magenta-dark);
    text-decoration: none;
  }
  
  .guide-card__excerpt {
    max-width: none;
    margin: 0 0 14px;
    color: var(--brand-dark);
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 400;
  }
  
  .guide-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .guide-card__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 13px;
    border: 1px solid var(--brand-gray-CC);
    border-radius: 999px;
    color: var(--brand-dark);
    background: var(--brand-white);
    font-size: 0.72rem;
    line-height: 1;
    text-decoration: none;
  }
  
  .guide-card__tag:hover {
    border-color: var(--brand-magenta);
    color: var(--brand-magenta-dark);
    background: var(--brand-gray-F3);
    text-decoration: none;
  }
  
  /* Load More */
  .guide-load-more-wrap {
    display: flex;
    justify-content: center;
    max-width: 720px;
    margin: 48px auto 0;
  }
  
  .guide-load-more {
    width: min(100%, 300px);
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-magenta-dark);
    color: var(--brand-white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  
  .guide-load-more:hover {
    background: var(--brand-magenta);
    transform: translateY(-1px);
  }
  
  .guide-load-more:active { transform: translateY(0); }
  .guide-load-more[hidden] { display: none; }
  
  /* Empty & Error States */
  .guide-empty,
  .guide-load-error {
    max-width: 720px;
    margin: 48px auto;
    padding: 32px 24px;
    border-radius: 8px;
    background: var(--brand-gray-F3);
    text-align: center;
  }
  
  .guide-empty h2 { margin-bottom: 8px; font-size: 1.35rem; }
  .guide-empty p, .guide-load-error { color: var(--text-secondary, #666666); }
  .guide-empty[hidden] { display: none; }
  
  @media (min-width: 768px) {
    .guides-page { padding-bottom: 96px; }
    .guides-header { padding-top: 24px; padding-bottom: 24px; }
    .guide-filters { margin-bottom: 28px; }
    .guide-list { gap: 56px; }
    .guide-card__image-link { border-radius: 8px; margin-bottom: 18px; }
    .guide-card__meta { font-size: 0.82rem; }
    .guide-card__excerpt { font-size: 0.95rem; line-height: 1.55; }
  }
  
  @media (min-width: 1024px) {
    .guides-header,
    .guide-filters,
    .guide-results-status,
    .guide-load-more-wrap,
    .guide-empty,
    .guide-load-error { max-width: 1120px; }
    .guides-header { padding-top: 32px; }
    .guide-list {
      max-width: 1120px;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 32px;
      row-gap: 64px;
    }
    .guide-card__title { font-size: 1.45rem; }
  }
  
  @media (min-width: 1280px) {
    .guide-list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 48px 28px;
    }
    .guide-card__title { font-size: 1.3rem; }
    .guide-card__excerpt { font-size: 0.9rem; }
  }
  
  /* ==========================================
     07. GLOSSARY PAGE STYLES
     ========================================== */
  
  .glossary-container {
    max-width: 1200px;
  }
  
  .glossary-hero {
    max-width: 720px;
    margin: 0 auto 32px 0;
  }
  
  .glossary-hero h1 {
    margin: 0 0 12px 0;
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
    line-height: 1.1;
    color: var(--brand-dark);
  }
  
  .hero-description {
    font-size: 1.05rem;
    color: var(--brand-gray-66);
    margin-bottom: 24px;
    max-width: none;
  }
  
  .search-box input[type="search"],
  #glossary-search,
  .glossary-search-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid var(--brand-gray-CC);
    border-radius: 999px;
    outline: none;
    margin-bottom: 24px;
  }
  
  .search-box input[type="search"]:focus,
  #glossary-search:focus {
    border-color: var(--brand-magenta);
  }
  
  .alphabet-nav,
  .glossary-nav,
  #alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    padding: 0;
    list-style: none;
  }
  
  .alpha-btn,
  .glossary-nav-btn {
    padding: 6px 12px;
    border: 1px solid var(--brand-gray-CC);
    background: var(--brand-white);
    color: var(--brand-dark);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    transition: all 0.2s ease;
  }
  
  .alpha-btn:hover:not(:disabled),
  .glossary-nav-btn:hover {
    border-color: var(--brand-magenta);
    color: var(--brand-magenta-dark);
    text-decoration: none;
  }
  
  .alpha-btn.active,
  .alpha-btn.is-active,
  .glossary-nav-btn.is-active {
    background: var(--brand-magenta) !important;
    color: var(--brand-white) !important;
    border-color: var(--brand-magenta) !important;
  }
  
  .alpha-btn:disabled,
  .alpha-btn.is-disabled {
    opacity: 0.25;
    cursor: not-allowed;
  }
  
  .divider {
    border: none;
    border-top: 1px solid var(--brand-gray-CC);
    margin: 24px 0 32px;
  }
  
  .glossary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
    list-style: none;
  }
  
  @media (min-width: 768px) {
    .glossary-grid { grid-template-columns: repeat(2, 1fr); }
  }
  
  @media (min-width: 1024px) {
    .glossary-grid { grid-template-columns: repeat(3, 1fr); }
  }
  
  .glossary-item,
  .glossary-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-gray-CC);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
  
  .term-title,
  .glossary-term {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
  }
  
  .term-title a {
    color: var(--brand-dark);
    text-decoration: none;
  }
  
  .term-title a:hover { color: var(--brand-magenta); }
  
  .term-definition,
  .glossary-def {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--brand-dark);
    font-weight: 300;
    margin-bottom: 16px;
    flex-grow: 1;
  }
  
  .term-definition p { margin-bottom: 8px; }
  
  /* Bullets Inside Glossary Cards */
  .term-definition ul,
  .glossary-item ul,
  .glossary-card ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin: 8px 0 12px 0 !important;
  }
  
  .term-definition li,
  .glossary-item li,
  .glossary-card li {
    list-style-type: disc !important;
    margin-bottom: 4px !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }
  
  .term-badge,
  .glossary-tag,
  .category-badge {
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--brand-gray-F3);
    font-size: 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-gray-66);
    font-weight: 600;
    margin-top: auto;
  }
  
  /* ==========================================
     08. PRODUCT PAGES LAYOUT & COMPONENTS
     ========================================== */
  
     .page-product {
      padding-top: 32px;
      padding-bottom: 80px;
      padding-left: 20px;  /* Mobil: 20px marginal */
      padding-right: 20px;
    }
  
    @media (min-width: 768px) {
      .page-product {
        padding-left: 32px;  /* Tablet: 32px marginal */
        padding-right: 32px;
      }
    }
  
    @media (min-width: 1024px) {
      .page-product {
        padding-left: 0;   /* Desktop: Centreras av grid/container */
        padding-right: 0;
      }
    }
    
    .product-article,
    .main-content {
      max-width: 720px;
      margin: 0 auto;
      width: 100%;
      min-width: 0; /* Prevents mobile overflow */
    }
    
    .product-section {
      margin-bottom: 32px;
      width: 100%;
    }
  
    .product-section[id],
    section[id] {
      scroll-margin-top: 70px;
    }
  
    /* Page Header Styles */
    .page-header {
      margin-top: 16px;
      margin-bottom: 32px;
    }
  
    .page-header h1 {
      margin-bottom: 16px; /* Space between title and description */
    }
  
    .page-header p {
      font-size: 1.05rem;
      color: var(--brand-dark);
      margin-bottom: 0;
    }
    
    /* 2-Column Page Grid */
    .product-page-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      min-width: 0;
    }
    
    @media (min-width: 1024px) {
      .product-page-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 48px;
      }
    }

    /* Construction Layout (Diagram + Text) */
    .construction-layout {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 24px;
      margin: 24px 0;
      width: 100%;
    }
    
    .construction-graphic {
      flex: 0 0 auto;
      width: 100%;
      max-width: 240px;
      margin: 0 auto;
    }
    
    .construction-list {
      list-style: none;
      padding-left: 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 100%;
    }
    .construction-list h6
    {
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 0;
    }

    
    .construction-list li {
      list-style: none;
      font-size: 0.9rem;
      margin-bottom: 0;
    }
  
    @media (min-width: 768px) {
      .construction-layout {
        flex-direction: row;
        align-items: flex-start;
      }
      .construction-graphic {
        flex: 0 0 240px;
        margin: 0;
      }
      .construction-list {
        flex: 1;
      }
    }
  
    /* ------------------------------------------
       TABLE OF CONTENTS (TOC) & SIDEBAR
       ------------------------------------------ */
  
    /* Mobile Sticky Trigger Bar (With Text Truncation Fix) */
    .toc-mobile-trigger-wrap {
      position: sticky;
      top: 0;
      z-index: var(--z-sticky);
      background: var(--brand-white);
      padding: 8px 0;
      margin-bottom: 16px;
    }
  
    .toc-mobile-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 16px;
      background: var(--brand-white);
      border: 1px solid var(--brand-gray-CC);
      border-radius: 8px;
      font-family: inherit;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--brand-dark);
      cursor: pointer;
    }
  
    .toc-trigger-label {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
      min-width: 0; /* Allows text inside to shrink below flex content width */
    }
  
    .toc-trigger-label svg {
      flex-shrink: 0; /* Prevents the left list icon from squishing */
    }
  
    #tocActiveText {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: block;
    }
  
    .toc-chevron {
      transition: transform 0.2s ease;
      flex-shrink: 0; /* Keeps the right arrow icon fixed on screen */
    }
  
    .toc-mobile-trigger[aria-expanded="true"] .toc-chevron {
      transform: rotate(180deg);
    }
  
    /* TOC Links & Typography (Shared between Mobile Drawer & Desktop) */
  .sidebar-toc {
    margin-bottom: 24px;
  }

  .toc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
  }

  .toc-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .toc-list li { 
    list-style: none !important;
    margin-bottom: 0 !important; 
  }

  .toc-list a {
    font-size: 0.88rem;
    color: var(--brand-dark);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    padding: 4px 0 4px 12px;
    border-left: 3px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
  }

  .toc-list a:hover {
    color: var(--brand-magenta);
    text-decoration: none;
  }

  .toc-list a.is-active {
    border-left-color: var(--brand-magenta);
    color: var(--brand-magenta);
    font-weight: 700;
  }
    /* Info Box Card */
    .sidebar-info-box {
      background: var(--brand-gray-F3);
      border-radius: 8px;
      padding: 20px;
    }
  
    .sidebar-info-box h4 {
      font-size: 0.9rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--brand-dark);
    }
  
    .sidebar-info-box p {
      font-size: 0.82rem;
      line-height: 1.5;
      color: var(--brand-dark);
      font-weight: 300;
      margin-bottom: 16px;
    }
  
    .sidebar-info-box p:last-child {
      margin-bottom: 0;
    }
  
    /* Mobile Bottom Drawer (< 1024px) */
    @media (max-width: 1023px) {
      .toc-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: var(--z-overlay);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
      }
  
      .toc-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
      }
  
      .sticker-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        background: var(--brand-white);
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        z-index: var(--z-modal);
        padding: 12px 24px 32px;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
      }
  
      .sticker-sidebar.is-open {
        transform: translateY(0);
      }
  
      .toc-drawer-handle {
        width: 36px;
        height: 4px;
        background: var(--brand-gray-CC);
        border-radius: 2px;
        margin: 0 auto 16px auto;
      }
  
      .toc-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
      }
  
      .toc-drawer-header .toc-title {
        margin: 0;
        font-size: 1.1rem;
      }
  
      .toc-close-btn {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--brand-dark);
        padding: 4px;
        display: flex;
      }
    }
  
    /* Desktop Sidebar Layout (>= 1024px) */
    @media (min-width: 1024px) {
      .toc-mobile-trigger-wrap,
      .toc-backdrop,
      .toc-drawer-handle,
      .toc-close-btn {
        display: none;
      }
  
      .sticker-sidebar {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        max-height: none;
      }
  
      .sidebar-sticky-wrapper {
        position: sticky;
        top: 24px;
        display: flex;
        flex-direction: column;
        gap: 24px;
      }
    }
  
    
    /* FAQ Component */
    .faq-section { margin-top: 40px; }
    .faq-list { display: flex; flex-direction: column; gap: 0px; }
    .faq-item {
      background: var(--brand-white);
      border: 1px solid var(--brand-gray-CC);
      border-radius: 8px;
      padding: 20px;
      margin-top:30px;
    }
    .faq-item h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.1rem; }
    .faq-item p { margin-bottom: 0; font-size: 0.95rem; }
  
  /* ==========================================
     09. PRODUCT TABLES
     ========================================== */
  
  .table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid var(--brand-gray-CC);
    position: relative;
  }
  
  .product-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.95rem;
    white-space: nowrap;
  }
  
  .product-table th,
  .product-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--brand-gray-CC);
    vertical-align: middle;
    background-color: var(--brand-white);
  }
  
  .product-table th {
    background-color: var(--bg-subtle);
    font-weight: 700;
    color: var(--brand-dark);
    border-bottom: 2px solid var(--brand-gray-CC);
  }
  
  /* LÅS FÖRSTA KOLUMNEN (STICKY) */
  .product-table th:first-child,
  .product-table td:first-child {
    position: sticky;
    left: 0;
    z-index: calc(var(--z-base) + 2);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.06);
  }
  
  .product-table th:first-child {
    background-color: var(--bg-subtle);
    z-index: calc(var(--z-base) + 3);
  }
  
  .product-table td:first-child {
    background-color: var(--brand-white);
  }
  
  .product-table tbody tr:last-child td {
    border-bottom: none;
  }
  
  /* Opaque background on hover prevents text bleed-through */
  .product-table tbody tr:hover td {
    background-color: #F8FAFC;
  }
  
  .product-table tbody tr:hover td:first-child {
    background-color: #F8FAFC;
  }
 /* ------------------------------------------
     CALLOUT BOX & EXPERT NOTE COMPONENTS
     ------------------------------------------ */
  
  /* Standard Callout Box (Vänsterlinje) */
  .callout-box {
    background-color: var(--brand-gray-F3);
    border-left: 4px solid var(--brand-magenta);
    padding: 24px;
    border-radius: 0;
    margin: 20px 0 30px;
  }
  
  .callout-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  /* Expert Note Variant (Ingen vänsterlinje, har ikon) */
  .callout-box.expert-note {
    border-left: none;
    border-radius: 0px;
    padding: 24px 28px;
  }

  .callout-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .callout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: var(--brand-magenta);
    color: var(--brand-white);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 3px;
    flex-shrink: 0;
    line-height: 1;
  }

  .callout-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
  }
  
  /* ==========================================
     10. GUIDE & ARTICLE STYLES (/guides/*)
     ========================================== */
  
  .page-guide {
    padding-top: 24px;
    padding-bottom: 80px;
  }
  
  .guide-article {
    max-width: 760px;
    margin: 0 auto;
  }
  
  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 0.875rem;
    color: var(--brand-dark);
    opacity: 0.8;
    margin-bottom: 24px;
  }
  
  .breadcrumbs a {
    color: var(--brand-dark);
    text-decoration: none;
  }
  
  .breadcrumbs a:hover {
    text-decoration: underline;
    color: var(--brand-magenta);
  }
  
  .breadcrumb-current {
    font-weight: 600;
    color: var(--brand-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 160px;
    vertical-align: bottom;
  }
  
  /* Header & Meta */
  .guide-header h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--brand-dark);
  }
  
  .guide-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 20px;
  }
  
  .guide-meta .dot {
    opacity: 0.4;
  }
  
  /* Inline & Bottom Like Buttons */
  .like-heart-inline,
  .like-button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-magenta);
    padding: 4px;
    transition: transform 0.15s ease;
  }
  
  .like-heart-inline:hover,
  .like-button:hover {
    transform: scale(1.15);
  }
  
  .like-button {
    gap: 8px;
    background: var(--brand-gray-F3);
    border: 1px solid var(--brand-gray-CC);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-dark);
  }
  
  .guide-like-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 40px 0 24px 0;
  }
  
  .like-stats {
    font-size: 0.9rem;
    color: var(--brand-gray-97);
  }
  
  /* Intro & Content */
  .guide-intro p {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: 24px;
    max-width: none;
  }
  
  .guide-content p {
    max-width: none;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.7;
  }
  
  .guide-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
  }
  
  .tag-pill {
    background: var(--brand-gray-F3);
    border: 1px solid var(--brand-gray-CC);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.8rem;
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 500;
  }
  
  .tag-pill:hover {
    border-color: var(--brand-magenta);
    color: var(--brand-magenta);
  }
  
  /* Hero Image & Grid */
  .guide-hero {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 32px;
  }
  
  .guide-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0 8px 0;
  }
  
  .guide-image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }
  
  .guide-image-caption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-bottom: 24px;
    text-align: center;
  }
  
  .guide-image-full {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--brand-gray-F3);
    margin-bottom: 24px;
  }
  
  .guide-divider {
    border: none;
    border-top: 1px solid var(--brand-gray-CC);
    margin: 32px 0;
  }
  
  /* Sources & Author Box */
  .guide-sources {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
  }
  
  .guide-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 80px;
  }
  
  .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-gray-F3);
    border: 1px solid var(--brand-gray-CC);
    flex-shrink: 0;
    overflow: hidden;
  }
  
  .author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 2px;
  }
  
  .author-name {
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--brand-dark);
  }
  
  .author-name-b {
    font-weight: 700;
    color: var(--brand-dark);
  }
  
  @media (max-width: 600px) {
    .guide-header h1 {
      font-size: 1.75rem;
    }
    .guide-image-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* ==========================================
     11. PRODUCT FINDER PAGE STYLES
     ========================================== */
  
  .page-finder,
  .page-product-finder {
    padding: 40px 0 80px;
  }
  
  .finder-hero {
    margin-bottom: 56px;
  }
  
  .finder-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
  }
  
  .finder-hero__lead {
    font-size: 1.05rem;
    color: #555;
    max-width: 820px;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  
  /* Category Cards (Top Section) */
  .category-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .category-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--brand-gray-CC, #e5e5e5);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .category-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-magenta, #e60067);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  }
  
  .category-card__icon-box {
    width: 90px;
    height: 90px;
    background: var(--brand-gray-F3, #f3f3f3);
    border-radius: 12px;
    flex-shrink: 0;
  }
  
  .category-card__body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-dark, #111);
  }
  
  .category-card__body ul {
    padding-left: 16px;
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
  }
  
  /* Catalog Header & Filters */
  .finder-catalog__header {
    margin-bottom: 28px;
  }
  
  .finder-catalog__header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
  }
  
  .finder-catalog__header p {
    font-size: 1rem;
    color: #555;
  }
  
  .finder-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .finder-filters__dropdowns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  /* Filter Dropdowns */
  .filter-dropdown {
    position: relative;
  }
  
  .filter-dropdown__button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--brand-gray-CC, #ccc);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--brand-dark, #111);
    transition: border-color 0.2s;
  }
  
  .filter-dropdown.is-open .filter-dropdown__button,
  .filter-dropdown__button:hover {
    border-color: var(--brand-dark, #111);
  }
  
  .filter-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 280px;
    background: #fff;
    border: 1px solid var(--brand-gray-CC, #ccc);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 16px;
    z-index: var(--z-dropdown);
  }
  
  .filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 12px;
  }
  
  .filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--brand-dark, #333);
  }
  
  .filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-magenta, #e60067);
    cursor: pointer;
  }
  
  .filter-dropdown__clear {
    background: none;
    border: none;
    padding: 4px 0 0;
    font-size: 0.85rem;
    color: #777;
    cursor: pointer;
    text-decoration: underline;
  }
  
  .filter-dropdown__clear:hover {
    color: var(--brand-magenta, #e60067);
  }
  
  /* Active Filter Badge */
  .filter-dropdown__button.has-active-filters {
    border-color: #ccc;
  }
  
  .filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-magenta, #e60067);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: middle;
  }
  
  /* Search Bar & Counter */
  .finder-filters__right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .finder-search {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .finder-search svg {
    position: absolute;
    left: 14px;
    color: #888;
  }
  
  .finder-search input {
    padding: 10px 16px 10px 38px;
    border: 1px solid var(--brand-gray-CC, #ccc);
    border-radius: 999px;
    font-size: 0.9rem;
    width: 220px;
    outline: none;
    transition: border-color 0.2s;
  }
  
  .finder-search input:focus {
    border-color: var(--brand-magenta, #e60067);
  }
  
  .finder-count {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
  }
  
  /* Product Cards Grid */
  .product-finder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .product-card {
    background: #fff;
    border: 1px solid var(--brand-gray-CC, #e5e5e5);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  
  .product-card__image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--brand-gray-F3, #f3f3f3);
  }
  
  .product-card__image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .product-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .product-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
  }
  
  .product-card__title a {
    color: var(--brand-dark, #111);
    text-decoration: none;
  }
  
  .product-card__title a:hover {
    color: var(--brand-magenta, #e60067);
  }
  
  .product-card__desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .product-card__perfect {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 16px;
    margin-top: auto;
  }
  
  .product-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .product-card__tag {
    background: var(--brand-gray-F3, #f3f3f3);
    color: #444;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
  }
  
  .finder-empty {
    text-align: center;
    padding: 48px 0;
    font-size: 1.1rem;
    color: #666;
  }
  
  /* Responsivitet för Product Finder */
  @media (max-width: 992px) {
    .product-finder-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .category-cards-grid {
      grid-template-columns: 1fr;
    }
    .product-finder-grid {
      grid-template-columns: 1fr;
    }
    .finder-filters {
      flex-direction: column;
      align-items: stretch;
    }
    .finder-filters__right {
      justify-content: space-between;
    }
  }
  
  /* ==========================================
     12. UTILITIES & ACCESSIBILITY
     ========================================== */
  
  /* Flush-Left Bulleted List */
  .list-flush {
    list-style: none;
    padding-left: 0;
    margin: 16px 0 24px 0;
  }
  
  .list-flush > li {
    list-style: none;
    margin-bottom: 16px;
  }
  
  .list-flush > li::marker { content: none; }
  
  .list-flush > li > strong {
    display: block;
    font-size: 1rem;
    color: var(--brand-dark);
    margin-bottom: 2px;
  }
  
  /* Flush-Left Sequential Numbered Steps */
  .list-steps,
  .application-steps {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 32px 0;
    counter-reset: step-counter;
  }
  
  .list-steps > li,
  .application-steps > li {
    display: block;
    list-style: none;
    margin-bottom: 20px;
    counter-increment: step-counter;
  }
  
  .list-steps > li::marker,
  .application-steps > li::marker { content: none; }
  
  .list-steps > li strong,
  .application-steps > li strong {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-dark);
    margin-bottom: 4px;
  }
  
  .list-steps > li strong::before,
  .application-steps > li strong::before {
    content: counter(step-counter) ". ";
    font-weight: 700;
    color: var(--brand-dark);
  }
  
  .list-steps > li p,
  .application-steps > li p {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
  }
  
  /* Unstyled List Utility */
  .list-unstyled {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .list-unstyled li {
    margin-bottom: 0;
  }
  
  /* Lås scroll på body när mobildrawer är öppen */
  body.no-scroll {
    overflow: hidden;
  }
  
  /* Tillgänglighet: Dölj etiketter för skärmläsare */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;

  }
  /* ------------------------------------------
     GLOSSARY TOOLTIP COMPONENT
     ------------------------------------------ */
  
  dfn.glossary-term {
    font-style: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: var(--brand-magenta-dark); /* Mörkrosa färg på ordet */
    text-decoration: underline dotted var(--brand-magenta-dark); /* Mörkrosa prickad linje */
    text-underline-offset: 4px;
    cursor: pointer;
    position: relative;
    display: inline;
    transition: opacity 0.15s ease;
  }

  dfn.glossary-term:hover,
  dfn.glossary-term:focus-visible {
    opacity: 0.97; /* Diskret effekt vid hover */
    outline: none;
  }

  /* Popover-rutan */
  .csp-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: 260px;
    background: var(--brand-white);
    color: var(--brand-dark);
    padding: 12px 14px;
    border: 1px solid var(--brand-magenta-dark);
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.45;
    font-weight: 300;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: var(--z-dropdown);
    text-align: left;
    white-space: normal;
  }

  .csp-tooltip strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 4px;
  }

  /* Piken nedåt */
  .csp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: var(--brand-magenta-dark) transparent transparent transparent;
  }

  /* Synlig vid Hover, Focus och Aktiv (Klick/Tap) */
  dfn.glossary-term:hover .csp-tooltip,
  dfn.glossary-term:focus-visible .csp-tooltip,
  dfn.glossary-term.is-active .csp-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
  }