/**
 * Version: 0.0.1
 * Build Time: 2026-07-15 09:32:15
 */
body:has(.bottom-sheet.active) {
  position: fixed;
  overflow: hidden;
}

.wp-category-2 {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.wp-category-wrap {
  overflow: hidden;
  display: none;
}
@media (min-width: 1280px) {
  .wp-category-wrap {
    display: flex;
    flex: auto;
  }
}

.wp-category-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.wp-category-wrap-mobile {
  width: 100%;
  display: flex;
}
.wp-category-wrap-mobile .wp-input {
  width: 100%;
  height: 100%;
  flex-direction: row;
}
.wp-category-wrap-mobile .wp-input .wp-input-element.wp-input-md {
  padding: 8px;
  border: none;
  background: inherit;
}
.wp-category-wrap-mobile .wp-input .wp-input-element .wp-input-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--wp-font-family-body-2);
  font-size: var(--wp-font-size-body-2);
  font-weight: var(--wp-font-weight-body-2);
  line-height: var(--wp-line-height-body-2);
}
.wp-category-wrap-mobile .wp-input .wp-input-element .wp-input-border.wp-input-border-position {
  display: none;
}
.wp-category-wrap-mobile .wp-input .wp-input-element svg {
  width: 20px;
  height: 20px;
  color: var(--wp-color-fill-quarternary);
}
@media (min-width: 1280px) {
  .wp-category-wrap-mobile {
    display: none;
  }
}
.wp-category-wrap-mobile .wp-category-menu {
  display: none;
}

.wp-category-menu-child {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 28px;
}

.wp-category-item {
  display: flex;
  flex-direction: column;
}
.wp-category-item .wp-category-item-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  width: 100%;
  cursor: pointer;
}
.wp-category-item .wp-category-item-wrap .wp-category-item-icon {
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-color-fill-quarternary);
  flex-shrink: 0;
}
.wp-category-item .wp-category-item-wrap .wp-category-item-icon .wp-image-custom {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wp-category-item .wp-category-item-wrap .wp-category-item-icon svg {
  width: 100%;
  height: 100%;
}
.wp-category-item .wp-category-item-wrap .wp-category-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wp-color-text-quarternary);
  font-style: var(--wp-font-style-body-2);
  font-family: var(--wp-font-family-body-2);
  font-size: var(--wp-font-size-body-2);
  font-weight: var(--wp-font-weight-body-2);
  line-height: var(--wp-line-height-body-2);
}
.wp-category-item .wp-category-item-wrap:hover .wp-category-item-icon {
  color: var(--wp-color-fill-brand-primary);
}
.wp-category-item .wp-category-item-wrap:hover .wp-category-item-title {
  color: var(--wp-color-text-brand-primary);
}
.wp-category-item .wp-category-item-wrap.active .wp-category-item-icon {
  color: var(--wp-color-fill-brand-primary);
}
.wp-category-item .wp-category-item-wrap.active .wp-category-item-title {
  color: var(--wp-color-text-brand-primary);
  font-weight: 600;
}
.wp-category-item .wp-category-item-wrap.is-active .wp-category-item-icon {
  color: var(--wp-color-fill-brand-primary);
}
.wp-category-item .wp-category-item-wrap.is-active .wp-category-item-title {
  color: var(--wp-color-text-brand-primary);
  font-weight: 600;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  touch-action: none;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* Bottom Sheet */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--wp-color-background-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 70vh;
  min-height: 240px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bottom-sheet.active {
  transform: translateY(0);
}

.bottom-sheet-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.bottom-sheet-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--wp-color-fill-secondary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.close-btn:hover {
  background-color: #f3f4f6;
}

.bottom-sheet-content {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

/* Mobile - always show all levels in bottom sheet */
.bottom-sheet .wp-category-menu-child {
  display: block;
}