.custom-categories-wrapper .no-results-message {
  display: flex;
  justify-content: center;
  grid-column: 2 / 3;
  min-height: 300px;
  text-align: center;
  font-size: 20px;
  color: #7a5a00;
  font-weight: 600;
  margin: 0 auto 80px auto;
  padding: 40px 0 40px 0;
  width: 100%;
}

.custom-categories-wrapper,
.custom-categories-wrapper * {
  box-sizing: border-box;
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  color: #000;
}

.custom-categories-wrapper .elegant-icon-arrow-right::before {
  font-family: 'ElegantIcons';
  content: '\35';
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.3em;
  vertical-align: middle;
}

.custom-categories-wrapper .elegant-icon-presence::before {
  font-family: 'ElegantIcons';
  content: '\e0e9';
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  width: 1em;
  vertical-align: middle;
}

.custom-categories-wrapper .elegant-icon-online::before {
  font-family: 'ElegantIcons';
  content: '\e00d';
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  width: 1em;
  vertical-align: middle;
}

.field-heading {
  margin-bottom: 5px;
  font-size: 18px;
}

.custom-categories-wrapper .search-filter-section {
  background: #FFD77D;
  border-top-right-radius: 100px;
  border-bottom-left-radius: 100px;
  padding: 20px 40px;
  margin: 0 auto 80px auto;
  width: 75%;
}

.custom-categories-wrapper .search-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-items: flex-start;
  max-width: 60em;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.custom-categories-wrapper .search-field-wrapper {
  width: 85%;
  max-width: none;
}

.custom-categories-wrapper .search-input {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: -20px;
  border: solid #FBB000;
  border-width: 2px 2px 4px 2px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 200;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
}

.custom-categories-wrapper .search-input:focus {
  box-shadow: 0 0 0 2px #FBB000;
}

.custom-categories-wrapper .search-input::placeholder {
  color: #acacac;
}

.custom-categories-wrapper .filter-dropdowns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
  width: 85%;
}

.custom-categories-wrapper .search-button-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.custom-categories-wrapper .dropdown-wrapper {
  position: relative;
  flex: 1;
  min-width: 160px;
  max-width: 250px;
}

/* Multiselect Dropdown Styling */
.custom-categories-wrapper .multiselect-dropdown {
  position: relative;
  width: 100%;
}

.custom-categories-wrapper .multiselect-button.placeholder {
  color: #acacac;
}

.custom-categories-wrapper .multiselect-button {
  padding: 14px 12px;
  border: none;
  border-radius: 10px;
  border: solid #FBB000;
  border-width: 2px 2px 4px 2px;
  background: white;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

.custom-categories-wrapper .multiselect-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 8px;
  text-align: left;
  font-size: 15px;
  font-weight: 200;
  color: #acacac; /* default: placeholder color */
}

.custom-categories-wrapper .multiselect-label.is-placeholder {
  color: #acacac;
}

.custom-categories-wrapper .multiselect-label.is-selected {
  color: #333333;
  font-weight: 600;
}

.custom-categories-wrapper .multiselect-button:hover {
  background-color: #f9f9f9;
}

.custom-categories-wrapper .multiselect-button.selected {
  background-color: #fff7d1;
  border-color: #fbb000;
}

.custom-categories-wrapper .multiselect-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FBB000;
}

.custom-categories-wrapper .multiselect-arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.custom-categories-wrapper .multiselect-dropdown.open .multiselect-arrow {
  transform: rotate(270deg);
}

.custom-categories-wrapper .multiselect-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0px;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  min-width: 300px;
}

.custom-categories-wrapper .multiselect-dropdown.open .multiselect-content {
  display: block;
}

.custom-categories-wrapper .multiselect-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.custom-categories-wrapper .multiselect-option:hover {
  background-color: #f8f9fa;
}

.custom-categories-wrapper .multiselect-option:last-child {
  border-bottom: none;
}

.custom-categories-wrapper .multiselect-option input[type="checkbox"] {
  display: none;
}

.custom-categories-wrapper .checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.custom-categories-wrapper .multiselect-option input[type="checkbox"]:checked+.checkbox-custom {
  background-color: #FFD700;
  border-color: #FFD700;
}

.custom-categories-wrapper .multiselect-option input[type="checkbox"]:checked+.checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 12px;
  font-weight: bold;
}

.custom-categories-wrapper .option-label {
  flex: 1;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-categories-wrapper .search-button {
  padding: 14px 30px;
  margin-top: 10px;
  background-color: #FBB000;
  color: #000;
  border: none;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: auto;
  display: block;
}

.custom-categories-wrapper .search-button:hover {
  background-color: #e09f00;
}

/* Results Section */
.custom-categories-wrapper .results-section {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.custom-categories-wrapper .results-wrapper {
  min-height: 970px;
  overflow-y: auto;
}

.custom-categories-wrapper .result_column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
  margin: 0;
}

/* Card Styles */
.custom-categories-wrapper .card {
  background: #eee;
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: block;
  position: relative;
  font-size: 16px;
}

.custom-categories-wrapper .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.custom-categories-wrapper .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.custom-categories-wrapper .card-category-static {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
}

.custom-categories-wrapper .category-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.custom-categories-wrapper .card-icons {
  display: flex;
  gap: 8px;
  color: #666;
}

.custom-categories-wrapper .card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #333;
  width: 90%;
}

.custom-categories-wrapper .card-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #FBB000;
  font-size: 16px;
}

/* Pagination */
.custom-categories-wrapper .pagination-outer {
  width: 100%;
  display: flex;
  justify-content: center;
}

.custom-categories-wrapper .pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: 40px;
}

.custom-categories-wrapper .pagination-btn {
  padding: 12px 16px;
  background-color: white;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-categories-wrapper .pagination-btn:hover:not(:disabled) {
  background-color: #f8f9fa;
  border-color: #FBB000;
  color: #000;
}

.custom-categories-wrapper .pagination-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(251, 176, 0, 0.3);
}

.custom-categories-wrapper .pagination-btn:active {
  transform: scale(0.98);
}

.custom-categories-wrapper .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
}

.custom-categories-wrapper .pagination-btn.page-number {
  background-color: white;
  border: 2px solid #e1e1e1;
  color: #666;
}

.custom-categories-wrapper .pagination-btn.page-number:hover {
  background-color: #f8f9fa;
  border-color: #FBB000;
  color: #000;
}

.custom-categories-wrapper .pagination-btn.page-number.active {
  background-color: #FBB000;
  border-color: #FBB000;
  color: #000;
  font-weight: 600;
}

.custom-categories-wrapper #paginationInfo {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

/* Responsive Design */
@media (max-width: 1200px) {

  .custom-categories-wrapper .result_column {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    margin-bottom: 20px;
  }

  .custom-categories-wrapper .filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 15px;
    width: 87%;
  }

  .custom-categories-wrapper .dropdown-wrapper {
    display: block;
    flex: 0 0 48%;
    max-width: 48%;
    min-width: 200px;
    margin-bottom: 15px;
    box-sizing: border-box;
  }

  .custom-categories-wrapper .multiselect-dropdown {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .custom-categories-wrapper .search-filter-section {
    background: #FFD77D;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 100px;
    padding: 20px 40px;
    margin: 0 auto 80px auto;
    width: 80%;
  }
}

@media (max-width: 768px) {

  .custom-categories-wrapper .search-filter-section {
    padding: 20px;
  }

  .custom-categories-wrapper .search-container {
    gap: 15px;
    align-items: stretch;
  }

  .custom-categories-wrapper .search-filter-section {
    width: 100%;
    padding: 40px 30px 30px 30px;
    border-top-right-radius: 100px !important;
    border-bottom-left-radius: 100px !important;
    border-radius: 0;
    margin: 0 auto 40px auto;
  }

  .custom-categories-wrapper .search-container {
    max-width: 100%;
  }

  .custom-categories-wrapper .search-field-wrapper {
    width: 100%;
    margin-bottom: 22px;
  }

  .custom-categories-wrapper .filter-dropdowns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .custom-categories-wrapper .dropdown-wrapper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .custom-categories-wrapper .search-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .custom-categories-wrapper .multiselect-dropdown {
    width: 100%;
    max-width: none;
    min-width: auto;
  }

  .custom-categories-wrapper .search-button {
    padding: 15px;
  }

  .custom-categories-wrapper .result_column {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .custom-categories-wrapper .search-field-wrapper {
    width: 100%;
  }
}

/* Discount Badge Styling */
.custom-categories-wrapper .card-discount-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #FFD77D;
  width: fit-content;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 6px;
  box-shadow: 0 2px 6px rgba(255, 215, 125, 0.3);
}

.custom-categories-wrapper .card-discount-badge .discount-percent {
  font-size: 1.2rem;
  font-weight: 900;
  color: #000;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-image: url('https://campus-ew.de/wp-content/uploads/2025/12/Rabatt_Orange.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

.custom-categories-wrapper .card-discount-badge .discount-percent::before {
  content: '';
}

.custom-categories-wrapper .card-discount-badge .discount-amount {
  font-size: 0.85rem;
  color: #AA2E49;
  font-weight: 700;
  white-space: nowrap;
}