/* Custom Offcanvas Bredde og Stilarter */
.custom_service_offcanvas {
  width: 100% !important;
  max-width: 420px !important;
  border: none !important;
}

/* Header */
.custom_service_offcanvas .offcanvas_header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.custom_service_offcanvas .offcanvas_title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.custom_service_offcanvas .btn_header_action {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #111827;
  cursor: pointer;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.custom_service_offcanvas .btn_header_action:hover {
  background-color: #f3f4f6;
}

/* Main Body Layout */
.custom_service_offcanvas .offcanvas_body {
  display: flex;
  padding: 0 !important;
  overflow: hidden;
}

/* Venstre Kolonne: Kategorier */
.custom_service_offcanvas .categories_sidebar {
  width: 110px;
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom_service_offcanvas .categories_sidebar::-webkit-scrollbar {
  width: 3px;
}

.custom_service_offcanvas .categories_sidebar::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 3px;
}

.custom_service_offcanvas .category_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.custom_service_offcanvas .category_item.active {
  border: 2px solid #1d4ed8;
  background-color: #ffffff;
}

.custom_service_offcanvas .category_icon_box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.custom_service_offcanvas .category_icon_box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.custom_service_offcanvas .category_icon_box svg {
  font-size: 20px;
}

.custom_service_offcanvas .category_name {
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

/* Højre Kolonne: Underkategorier */
.custom_service_offcanvas .subcategories_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  overflow: hidden;
}

.custom_service_offcanvas .subcategory_title_banner {
  background-color: #ebf5ff;
  padding: 10px 16px;
}

.custom_service_offcanvas .subcategory_title_banner h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.custom_service_offcanvas .subcategories_list {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px;
}

.custom_service_offcanvas .subcategories_list::-webkit-scrollbar {
  width: 4px;
}

.custom_service_offcanvas .subcategories_list::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.custom_service_offcanvas .subcategory_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  transition: color 0.2s ease;
}

.custom_service_offcanvas .subcategory_item:hover {
  color: #1d4ed8;
}

.custom_service_offcanvas .chevron_icon {
  font-size: 12px;
  color: #64748b;
}

.custom_service_offcanvas .no_subcategories_text {
  padding: 24px 0;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}