.fp-category-entry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.fp-cat-card {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 18px 20px;
  background: #0c5a84;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fp-cat-card:hover {
  background: #084766;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.fp-cat-card:focus {
  outline: 2px solid #7fc4e8;
  outline-offset: 2px;
}

.fp-entry-intro {
  margin: 0 0 18px;
}

.fp-entry-intro h2 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.2;
  color: #0c3555;
}

.fp-entry-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #24435a;
}

@media (max-width: 767px) {
  .fp-category-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fp-cat-card {
    font-size: 16px;
    padding: 16px 18px;
  }

  .fp-entry-intro h2 {
    font-size: 26px;
  }

  .fp-entry-intro p {
    font-size: 16px;
  }
}

/* ================================
   FRAchTPILOT KATEGORIEFILTER
   schlank, kompakt, containerfreundlich
   ================================ */

   .filter-attribute[data-filter-attribute="category"] .s-filter-category {
    margin-bottom: 10px;
  }
  
  .filter-attribute[data-filter-attribute="category"] .s-filter-category a {
    font-size: 1rem;
    font-weight: 700;
    color: #17354d;
    text-decoration: none;
  }
  
  .filter-attribute[data-filter-attribute="category"] .ilx-filter-group {
    margin-top: 6px !important;
    padding: 0;
  }
  
  .filter-attribute[data-filter-attribute="category"] .ilx-filter-item {
    list-style: none;
    margin: 0 0 6px 0;
    padding: 0;
  }
  
  .filter-attribute[data-filter-attribute="category"] .ilx-filter-item label.small {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    margin: 0;
    border: 1px solid #d9e1e7;
    border-radius: 8px;
    background: #ffffff;
    color: #17354d;
    font-size: 0.92rem !important;
    font-weight: 600;
    line-height: 1.25;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  
  .filter-attribute[data-filter-attribute="category"] .ilx-filter-item label.small:hover {
    background: #f5f9fc;
    border-color: #0c5a84;
  }
  
  .filter-attribute[data-filter-attribute="category"] .ilx-filter-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-width: 15px;
    margin: 0;
    accent-color: #0c5a84;
  }
  
  .filter-attribute[data-filter-attribute="category"] .reset-filter-attribute {
    font-size: 0.88rem;
    color: #0c5a84;
    text-decoration: none;
  }
  
  .filter-attribute[data-filter-attribute="category"] .reset-filter-attribute:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 767px) {
    .filter-attribute[data-filter-attribute="category"] .ilx-filter-item label.small {
      padding: 7px 9px;
      font-size: 0.9rem !important;
    }
  }
  .filter-attribute.ilx-filter-field .ilx-filter-item label.small {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
/* ================================
   Frachtpilot Filter Styling
   kompakt, sauber, umbruchsicher
   ================================ */

/* Nur die Hauptfilterblöcke, die ähnlich aussehen sollen */
.filter-attribute.ilx-filter-field[data-filter-attribute="category"],
.filter-attribute.ilx-filter-field[data-filter-attribute="variety"],
.filter-attribute.ilx-filter-field[data-filter-attribute="brand"],
.filter-attribute.ilx-filter-field[data-filter-attribute="container-type"],
.filter-attribute.ilx-filter-field[data-filter-attribute="container-size"] {
  margin-bottom: 16px;
}

/* Überschrift */
.filter-attribute.ilx-filter-field .s-filter-category {
  margin-bottom: 8px;
}

.filter-attribute.ilx-filter-field .s-filter-category a {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #17354d;
  text-decoration: none;
  line-height: 1.3;
}

/* Liste */
.filter-attribute.ilx-filter-field .ilx-filter-group {
  margin-top: 6px !important;
  padding: 0;
}

/* Eintrag */
.filter-attribute.ilx-filter-field .ilx-filter-item {
  list-style: none;
  margin: 0 0 6px 0;
  padding: 0;
}

/* Klickbarer Block */
.filter-attribute.ilx-filter-field .ilx-filter-item label.small {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  margin: 0;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  background: #ffffff;
  color: #17354d;
  font-size: 0.92rem !important;
  font-weight: 600;
  line-height: 1.3;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;

  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Hover */
.filter-attribute.ilx-filter-field .ilx-filter-item label.small:hover {
  background: #f5f9fc;
  border-color: #0c5a84;
}

/* Checkbox */
.filter-attribute.ilx-filter-field .ilx-filter-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  min-width: 15px;
  flex: 0 0 15px;
  margin: 2px 0 0 0;
  accent-color: #0c5a84;
}

/* Reset-Link */
.filter-attribute.ilx-filter-field .reset-filter-attribute {
  font-size: 0.88rem;
  color: #0c5a84;
  text-decoration: none;
}

.filter-attribute.ilx-filter-field .reset-filter-attribute:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 767px) {
  .filter-attribute.ilx-filter-field .ilx-filter-item label.small {
    padding: 7px 9px;
    font-size: 0.9rem !important;
  }
}