.filter-section {
     /*display: none;*/
 }
.filter-section {
    background-color: #f0f0f0;
    padding: 10px 0;
}

#category-filter-menu .menu-item {
    border-radius: 1.5625rem;
    list-style: none;
    font-weight: 700;
    margin-right: 0.3125rem;
    white-space: nowrap;
    transition: background-color ease-in-out 0.2s;
    padding: 0;
    margin-right: 1.1rem;
}
#category-filter-menu .menu-item a,
#category-filter-menu .menu-item button {
    width: 100%;
    height: 100%;
    padding: 0.25rem 1rem;
    align-items: center;
    font-family: "Be Vietnam SemiBold", "Be Vietnam Pro", sans-serif;
    
    font-size: calc(0.875 * 1.2rem);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.00625rem;
    line-height: 1.5rem;
    border-bottom: none !important;
    color: #000000;
    padding: 0.25rem 1rem;
    /* font-size: 0.875rem; */
    display: flex    ;
    flex-direction: row;
}
#category-filter-menu .menu-item.current-menu-item,
#category-filter-menu .menu-item:hover {
    /*background: #E30A35;
    color: #fff;*/
    border-radius: 2rem;
}
#category-filter-menu .menu-item:hover {
    background: #f85b7a;
    color: #000;
}
#category-filter-menu .menu-item.current-menu-item {
    background: #E30A35;
    color: #fff;
}

#category-filter-menu .menu-item:hover a,
#category-filter-menu .menu-item:hover button {
    color: #000;
    line-height: 1.5rem;
    text-align: left;
}
#category-filter-menu .menu-item.current-menu-item a,
#category-filter-menu .menu-item.current-menu-item button {
    color: #fff;
}

#category-filter-menu .menu-item .sub-menu {
    display: none;
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
    /* padding: 0; */
    margin: 0;
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 2rem;
    background: transparent;
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 0.5rem;
    padding-top: 1.5rem;
}
#category-filter-menu .menu-item.current-menu-item .sub-menu {
    display: flex;
}
/*#category-filter-menu .menu-item:hover .sub-menu {
    display: flex;
}*/
#category-filter-menu .menu-item .sub-menu a {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 17.53px;
    text-align: left;
}

/*#category-filter-menu .menu-item.current-menu-item .sub-menu li:last-child a,
#category-filter-menu .menu-item:hover .sub-menu li:last-child a,*/
/*#category-filter-menu .menu-item.current-menu-item .sub-menu li.current-menu-item a,
#category-filter-menu .menu-item.current-menu-item .sub-menu li:hover a {*/

#category-filter-menu .menu-item .sub-menu li.current-menu-item a,
#category-filter-menu .menu-item .sub-menu li:hover a {
    color: #E30A35;
}
    
/* disabled filter menu */
/* todo: validate or remove */
.filter-submenu {
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% + 10px); /* Adjust top position as needed */
    display: none;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Add shadow */
}

.filter-menu-item:hover .filter-submenu {
    display: block;
}
.filter-menu {
    display: flex;
    /*justify-content: space-between;*/
    padding: 0;
    margin: 0;
    list-style: none;
    padding-bottom: 1rem; /* Added padding bottom */
    border-bottom: 1px solid #E1E1E1; /* Added border bottom */
}
.filter-menu li {
    /*margin-right: 10px;*/
}
.filter-menu li:last-child {
    margin-right: 0;
}
.dropdown-menu-horizontal {
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    background-color: #fff;
    z-index: 1000;
    left: 0;
    top: 100%;
}
.dropdown-menu-horizontal li {
    margin-right: 10px;
    display: inline-block;
}
.dropdown-menu-horizontal li:last-child {
    margin-right: 0;
}

/*
.filter-section {
    background-color: #f0f0f0;
    padding: 0;
}
.filter-menu {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E1E1E1;
}

.filter-menu li:last-child {
    margin-right: 0;
}
.dropdown-menu-horizontal {
    display: none;
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
    margin: 0;
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 2rem;
    background: transparent;
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 0.5rem;
    padding-top: 1.5rem;
}
.dropdown-menu-horizontal li {
    margin-right: 10px;
    display: inline-block;
}
.dropdown-menu-horizontal li:last-child {
    margin-right: 0;
}*/


:root {
    --bg: #0f172a;        /* slate-900 */
    --fg: #e5e7eb;        /* gray-200 */
    --muted: #9ca3af;     /* gray-400 */
    --accent: #60a5fa;    /* blue-400 */
    --panel: #111827;     /* gray-900 */
    --ring: rgba(96,165,250,.45);
}

.productcat-filter-section * { box-sizing: border-box; }
.productcat-filter-section {
    /*margin: 0;
    font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: var(--bg);
    color: var(--fg);
    display: grid;
    place-content: start center;
    min-height: 100svh;
    padding: 24px;*/
}

.productcat-filter-section nav {
    width: min(1100px, 92vw);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    padding: 10px 12px;
    backdrop-filter: blur(4px);
}

/* Horizontal menu */
.productcat-filter-section .menu {
        list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
    justify-content: space-between;
}

.productcat-filter-section .menu > li { position: relative; }

.productcat-filter-section .menu a,
.productcat-filter-section .menu button {
    appearance: none;
    -webkit-appearance: none;
    /* border: 1px solid rgba(255, 255, 255, .08); */
    /* background: rgba(255, 255, 255, .04); */
    /* color: var(--fg); */
    color: #000000;
    /* padding: 10px 14px; */
    /* border-radius: 10px; */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    /* gap: 8px; */
    cursor: pointer;
    transition: transform .06s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.productcat-filter-section .menu a:hover,
.productcat-filter-section .menu button:hover { background: rgba(255,255,255,.08); }
.productcat-filter-section .menu a:active,
.productcat-filter-section .menu button:active { transform: translateY(1px); }
.productcat-filter-section .menu a:focus-visible,
.productcat-filter-section .menu button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
  border-color: var(--accent);
}

.productcat-filter-section .menu .icon { opacity: .7; font-size: 1.1em; }

/* More dropdown */
.productcat-filter-section .more { position: relative; }
.productcat-filter-section .more-toggle { display: inline-flex; align-items: center; }
.productcat-filter-section .caret { display: inline-block; transform: translateY(-1px); }

.productcat-filter-section .more-menu {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 5px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.175);
    z-index: 20;
    border-radius: 0.25rem;
    background-clip: border-box;
    display: none; /* toggled via [data-open="true"] */
}

.productcat-filter-section .more[data-open="true"] .more-menu { display: block; }

.productcat-filter-section .more-menu li { margin: 0; }
.productcat-filter-section .more-menu a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.productcat-filter-section .more-menu a:hover { background: rgba(255,255,255,.06); }

/* Tiny helper text */
.productcat-filter-section .hint { color: var(--muted); margin: 14px 2px 0; font-size: 14px; }

.productcat-filter-section @media (max-width: 560px) {
  .menu { flex-wrap: wrap; }
}


/* PRODUCT CATEGORY FILTER SUB MENU */
#product_cat_sub {
    list-style-type: none;
    display: flex;
    margin: 1rem 0;
    border-bottom: solid 2px #e30135;
    padding-bottom: 7px;
}
#product_cat_sub li {
    color: #fff;
    list-style: none;
    font-weight: 500;
    margin-right: 0.3125rem;
    white-space: nowrap;
    transition: background-color ease-in-out 0.2s;
    padding: 0;
    margin-right: 1.15rem;
    font-size: 15px;
}
#product_cat_sub li:hover a,
#product_cat_sub li.current-menu-item a {
    color: #f85b7a;
}
#product_cat_sub .menu-item a {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
}

#menuToggle {
    z-index: 1000;
}
@media (min-width: 768px) {
    .archive #product_cat_sub {
        overflow: auto;
        /* Firefox */
        scrollbar-width: none;
    
        /* Chrome, Safari, Edge */
        -ms-overflow-style: none;
    }
    .archive #product_cat_sub::-webkit-scrollbar {
        display: none;
    }
}