.categories-menu-new {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 100%;
    z-index: 1010;
    box-shadow: 0px 25px 50px -12px #00000040;
    border-top: 1px solid var(--Primary-500, #D42B65);
    border-top-width: 1px;
    padding-top: 4px;
    padding-right: 64px;
    padding-left: 64px;
    max-height: 69.64vh;
    display: flex;
    overflow-x: hidden;
}

.categories-menu-new.hidden {
    display: none !important;
}

.new-main-menu-wrapper {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

.mega-menu-main-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.new-main-menu-wrapper .left-side {
    box-shadow: inset -0.67px 0 0 var(--Neutral-50, #F4F5F7);
    display: flex;
    padding: 24px 0px;
    background: var(--Neutral-25, #F9F9F9);
    flex-grow: 1;
    max-width: 256px;
    width: 100%;
    flex-shrink: 0;
}

.leftside-megamenu-categories-wrapper {
    overflow-y: auto;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.leftside-megamenu-categories-wrapper::-webkit-scrollbar {
    display: none;
}

.leftside-megamenu-categories-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.menu-category-options {
    display: flex;
    padding: 14px 24px;
    gap: 12px;
    align-items: center;
    cursor: pointer;
}

.menu-category-options.active {
    background: #FFFFFF;
    box-shadow: inset 4px 0 0 var(--Primary-500, #D42B65);
}

.menu-categories-option-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex-grow: 1;
}

.main-menu-category-logo {
    width: 32px;
    height: 32px;
    background: var(--Primary-50, #FBEAF0);
    border-radius: 8px;
}

.main-menu-category-logo-active {
    width: 42px;
    height: 42px;
    background: var(--Primary-50, #FBEAF0);
    border-radius: 8px;
}

.main-menu-category-logo-active img {
    width: 20px;
    height: 20px;
}

.menu-category-text {
    font-family: Public Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.caption-md-new {
    font-family: Public Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0px;
}

.new-main-menu-wrapper .main-container-main-menu {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding: 0px 27px 32px 32px;
    gap: 12px;
    overflow-y: auto;
    max-height: 100%;
}

.new-main-menu-wrapper .main-container-main-menu::-webkit-scrollbar {
    display: none;
}

.new-main-menu-wrapper .main-container-main-menu {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.main-wrapper-header-sub-categories {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.menu-main-container-header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    padding-top: 32px;
    padding-bottom: 12px;
}

.mega-menu-main-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* .menu-main-container-header img {
    width: 42px;
    height: 42px;
} */

.mega-menu-main-wrapper-sub-categories {
    display: flex;
    justify-content: space-between;
    gap: clamp(20px, 5vw, 36px);
}

.mega-menu-main-wrapper-sub-categories-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 1 254px;
    min-width: 0;
}

.mega-menu-main-wrapper-sub-categories-container {
    display: flex;
    align-items: center;
}

.mega-menu-main-wrapper-sub-categories-container h1 {
    flex: 1 1 auto;
    min-width: 0;
}

.mega-menu-main-wrapper-sub-categories-container p {
    flex: 0 0 auto;
    margin-left: clamp(2px, 2vw, 40px);
}

.new-main-menu-wrapper .right-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-left: 1px solid var(--Neutral-50, #F4F5F7);
    background: var(--Base-White, #FFFFFF);
    padding: 24px 0px 24px 24px;
    flex-grow: 1;
    max-width: 288px;
    width: 100%;
    flex-shrink: 0;
}

.mega-menu-trending-search-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    max-height: 52.711%;
    overflow-y: auto;
}

.mega-menu-trending-search-section::-webkit-scrollbar {
    display: none;
}

.mega-menu-trending-search-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mega-menu-i-planning-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    max-height: 47.289%;
    overflow-y: auto;
}

.mega-menu-i-planning-section::-webkit-scrollbar {
    display: none;
}

.mega-menu-i-planning-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.trending-text {
    font-family: Public Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0px;
}

.mega-menu-right-side-header-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    padding-bottom: 10px;
}

.mega-menu-right-side-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-right-side-searches {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0px;
    cursor: pointer;
}

.mega-menu-trending-point {
    background: var(--Neutral-100, #EFF0F2);
    width: 20px;
    height: 20px;
    opacity: 1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Neutral-600, #707683);
}

.mega-menu-trending-point.active {
    background: var(--Primary-100, #F6D5E0);
    color: var(--Primary-500, #D42B65);
}

.mega-menu-right-side-plans {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--Neutral-50, #F4F5F7);
    border-radius: 12px;
    background: var(--Neutral-25, #F9F9F9);
    cursor: pointer;
}

.mega-menu-main-items-wrapper .home-sponsored-card {
    border-radius: 12px;
    border: 1px solid var(--Neutral-100, #EFF0F2);
    background: var(--Base-White, #FFFFFF);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
    height: 100%;
    transition: all 0.3s ease;
}

.mega-menu-main-items-wrapper .home-sponsored-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mega-menu-main-items-wrapper .home-sponsored-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    border-radius: 6px;
}

.mega-menu-main-items-wrapper .home-sponsored-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    aspect-ratio: 1/1;
}

.mega-menu-main-items-wrapper .new-items-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-menu-main-items-wrapper .new-items-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.mega-menu-main-items-wrapper .new-like-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mega-menu-main-items-wrapper .new-like-text {
    font-family: Public Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.search-category-icon-right {
    width: 16px;
    height: 16px;
    filter: sepia(1) saturate(0.8) hue-rotate(160deg) brightness(0.5);
}

@media (min-width: 400px) {
    .row-cols-sm2-2>* {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .row-cols-lg-3>* {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }
}

@media (min-width: 1200px) {
    .row-cols-xl-3>* {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }
}

@media (min-width: 1515px) {
    .row-cols-xl2-4>* {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (min-width: 1800px) {
    .row-cols-xxxl-5>* {
        flex: 0 0 auto;
        width: 20%;
    }
}

@media (max-width: 1800px) {
    .categories-menu-new {
        padding-right: 52px;
        padding-left: 52px;
    }
}

@media (max-width: 1600px) {
    .new-main-menu-wrapper .right-side {
        padding: 24px 0px 24px 20px;
        max-width: 266px;
    }

    .new-main-menu-wrapper .main-container-main-menu {
        padding: 0px 24px 32px 24px;
    }

    .new-main-menu-wrapper .left-side {
        max-width: 246px;
    }
}

@media (max-width: 1200px) {
    .new-main-menu-wrapper .right-side {
        display: none;
    }

    .new-main-menu-wrapper .main-container-main-menu {
        padding: 0px 0px 32px 24px;
    }

    .categories-menu-new {
        max-height: 60vh;
    }
}

@media (max-width: 992px) {
    .categories-menu-new {
        padding-right: 32px;
        padding-left: 32px;
        max-height: 55vh;
    }

}

.menu-back-btn {
    display: none;
}

@media (max-width: 768px) {
    .new-main-menu-wrapper .main-container-main-menu {
        display: none;
        padding: 0px 0px 24px 0px;
    }

    .new-main-menu-wrapper .left-side {
        max-width: 100%;
        display: flex;
        padding: 0;
    }

    .categories-menu-new {
        left: 0;
        right: 0;
        overflow-y: auto;
    }

    .new-main-menu-wrapper .menu-category-options.active {
        background: transparent;
        box-shadow: none;
    }

    .new-main-menu-wrapper.active-main .left-side {
        display: none;
    }

    .new-main-menu-wrapper.active-main .main-container-main-menu {
        display: flex;
        max-width: 100%;
    }

    .menu-back-btn {
        display: block;
        cursor: pointer;
        width: 24px !important;
        height: 24px !important;
    }
}


@media (max-width: 600px) {
    .mega-menu-main-wrapper-sub-categories {
        flex-direction: column;
    }

    .mega-menu-main-wrapper-sub-categories-wrapper {
        flex: unset;
    }
}

@media (max-width: 576px) {
    .categories-menu-new {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 400px) {
    .categories-menu-new {
        padding-right: 20px;
        padding-left: 20px;
    }
}