/* BarghBazar header desktop/base CSS - extracted from uploaded style.css */

.cart-bb-menu svg,
ul.bb-woocommerce-cats.level-1 ul.display-block>li {
    width: 100%
}

.bb-mega-menu .bb-woco-daynamic-menu .woco-menu-icon,
.bb-mega-menu .bb-woco-daynamic-menu .woco-menu-icon span {
    display: flex;
    justify-content: center;
    align-items: center
}

.mini-cart-dropdown-wrapper img {
    width: 50px;
    height: 50px
}

.bb-woocommerce-cats ul {
    display: none
}

ul.mini-cart-items {
    margin: 0;
    padding: 0
}

.bb-woo-menu,
.row.bb-mega-menu-body {
    border-radius: 20px
}

.row.bb-mega-menu-body {
    margin: 15px 0;
    background: #0053e2;
    position: relative;
    border-top: 1px solid #001e60
}

.bb-mega-menu .main-navigation .bb-main-menu {
    display: flex!important;
    flex-direction: row!important;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 500
}

.bb-mega-menu .main-navigation .bb-main-menu>li {
    margin: 0 10px
}

nav.main-navigation a {
    text-decoration: none
}

.bb-mega-menu img {
    max-width: 130px
}

.bb-mega-menu .main-navigation {
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px 0
}

.bb-mega-menu svg {
    max-width: 50px;
    max-height: 40px;
    fill: #fff
}

.bb-mega-menu .bb-menu-pagelink {
    display: flex;
    justify-content: start;
    align-items: center;
    position: unset
}

.bb-mega-menu .bb-woco-daynamic-menu .woco-menu-icon p {
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500
}

.bb-mega-menu .bb-woco-daynamic-menu .woco-menu-icon span {
    height: 30px;
    width: 30px
}

.bb-woo-menu {
    position: absolute;
    background: #ffff;
    min-height: 80vh;
    border: 1px solid #00000045;
    right: 0;
    top: 30px;
    z-index: 10;
    box-shadow: 0 3px 6px #0000004f;
    padding: 0;
    margin: 10px 0;
    left: 0;
    display: none
}

ul.bb-woocommerce-cats.level-0 ul {
    position: absolute;
    right: calc(100% - 70%);
    top: 0;
    list-style: none;
    padding: 0;
    width: calc(100% - 30%)
}

ul.bb-woocommerce-cats.level-1 ul {
    position: relative;
    right: 0;
    top: 0;
    list-style: none;
    height: 100%;
    padding: 0
}

ul.bb-woocommerce-cats.level-0 {
    position: absolute;
    width: 100%;
    white-space: nowrap;
    list-style: none;
    padding: 0 0 20px;
    height: 100%;
    margin: 0!important;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow-y: auto;
    bottom: 0;
    top: 0
}

ul.bb-woocommerce-cats.level-0>li {
    height: 100%;
    display: flex;
    align-items: c
}

ul.bb-woocommerce-cats.level-0 ul li {
    margin: 0 5px;
    padding: 7px 10px
}

.cart-bb-menu span {
    text-decoration: none;
    position: absolute;
    right: 100%;
    width: 25px;
    background: #ffc122;
    color: #000;
    border-radius: 100%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    font-size: 14px
}

.menu-more-option {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse
}

.cart-bb-menu {
    text-decoration: none;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center
}

#bb-ajax-search-results {
    background: #fff;
    width: 100%;
    overflow-y: auto;
    display: none;
    z-index: 999;
    top: 100%;
    max-height: 390px;
    border-radius: 20px;
    margin: 50px 0;
    padding: 0 10px
}

#bb-ajax-search-results li {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center
}

#bb-ajax-search-results li:hover {
    background: #f0f0f0
}

.search-window {
    width: 100%;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center
}

.search-window input {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    margin: 0 auto;
    z-index: 10000;
    color: #000!important;
    border: unset!important
}

.search-window input::placeholder {
    color: #000!important
}

.search-window form {
    width: 100%;
    display: flex;
    margin: 0;
    position: relative;
    height: 100%
}

.search-window ul {
    list-style: none;
    padding: 5px
}

.search-window ul li {
    background: #0053e2;
    margin: 10px 0;
    padding: 6px;
    border-radius: 20px;
    border: 1px solid #000
}

.search.active .search-window {
    display: flex!important
}

.userandlogin .bb-user-logged-in {
    position: absolute;
    background: #0053e2;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #00000066;
    box-shadow: 0 3px 6px #00000066;
    right: 0;
    top: 100%;
    display: none;
    z-index: 100
}

.userandlogin.active .bb-user-logged-in {
    display: block
}

.bb-mega-menu a {
    color: #fff!important
}

.bb-mega-menu {
    color: #fff;
    background: #0053e2
}

.bb-woocommerce-cats ul.display-block,
ul.bb-woocommerce-cats.level-2 {
    display: block!important
}

.bb-woo-menu.display-block a {
    color: #000!important;
    padding: 0 30px;
    text-decoration: none
}

.bb-woo-menu.display-block ul.level-0>li:not(:last-child) {
    border-bottom: 1px solid #0c060647;
    padding: 10px
}

.bb-woocommerce-cats>.cat-item.level-0:hover {
    background: #3894ff;
    transition: .6s;
    border-right: 5px solid red
}

.bb-woocommerce-cats>.cat-item.level-1:hover {
    transition: .6s
}

.bb-woocommerce-cats>.cat-item.level-2:hover {
    background: #3894ff;
    transition: .6s
}

.bb-woocommerce-cats>.cat-item.level-1>a {
    text-align: right!important;
    width: 100%;
    border-right: 2px solid red;
    padding: 5px 15px;
    display: block;
    font-weight: 700
}

.bb-woocommerce-cats>.cat-item.level-2>a {
    text-align: right!important;
    width: 100%;
    border-right: 1px solid #3894ff;
    padding: 4px 10px;
    margin: 0;
    display: block;
    font-weight: 700;
    font-size: 13px
}

.bb-woocommerce-cats>.cat-item.level-1>a:hover {
    background: #3894ff;
    color: #fff!important
}

ul.bb-woocommerce-cats .level-0.cat-item {
    width: 30%
}

ul.bb-woocommerce-cats .level-1.display-block {
    display: flex!important;
    justify-content: start!important;
    align-items: start!important;
    flex-direction: row;
    max-height: 100%;
    top: 0;
    flex-wrap: wrap;
    overflow-y: auto
}

ul.bb-woocommerce-cats.level-0 ul.display-block li {
    width: 45%
}

ul.bb-woocommerce-cats.level-0:before {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    right: 30%;
    background: #00000040
}

div#bb-ajax-search-panel a {
    text-decoration: none!important
}

.bb-mega-menu a {
    display: flex;
    align-items: center;
    justify-content: start
}

.search-custom-style,
.userandlogin a {
    display: flex;
    align-items: center;
    justify-content: center
}

.direct-call {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: end;
    z-index: 0
}

.direct-call a {
    color: #ffc122!important;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none
}

.direct-call span {
    color: #fff;
    font-size: 15px;
    font-weight: 600
}

nav.main-navigation {
    margin: 0 20px
}

#bb-ajax-search-form:after {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    fill: #ffc122;
    position: absolute;
    left: 10px;
    top: calc(50% - 12.5px);
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2250%22%20height%3D%2250%22%20viewBox%3D%220%200%2050%2050%22%20fill%3D%22%23ffc220%22%3E%3Cpath%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20d%3D%22M36.978%2C33.335A20.756%2C20.756%2C0%2C0%2C0%2C20.612%2C0a20.764%2C20.764%2C0%2C0%2C0%2C0%2C41.526%2C20.394%2C20.394%2C0%2C0%2C0%2C12.483-4.277L44.778%2C49.021l3.886-3.915L36.978%2C33.335ZM20.612%2C35.99A15.227%2C15.227%2C0%2C1%2C1%2C35.728%2C20.763%2C15.189%2C15.189%2C0%2C0%2C1%2C20.612%2C35.99Z%22%20%2F%3E%3C%2Fsvg%3E) 0 0/contain no-repeat;
    z-index: 10002
}

.userandlogin {
    position: relative;
    margin: 0 25px
}

.userandlogin svg {
    width: 30px;
    height: 30px
}

.bb-woco-daynamic-menu svg {
    width: 25px
}

.bb-top-descktop-menu>.row {
    padding: 0!important;
    margin: 0!important
}

.direct-call svg {
    transform: rotate(95deg);
    width: 31px
}

.bb-mega-menu {
    position: sticky;
    top: 0;
    z-index: 100
}

.mini-cart-link {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer
}

.mini-cart-count {
    background: red;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -8px
}

.mini-cart-dropdown-wrapper {
    position: absolute;
    top: 50px;
    width: max-content;
    visibility: hidden;
    z-index: 999;
    left: calc(0px - 50%);
    transition: .6s
}

.cart-bb-menu {
    position: relative
}

.mini-cart-dropdown-wrapper.display-block {
    visibility: visible;
    z-index: 999;
    transition: .6s
}

.mini-cart-dropdown {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 15px;
    max-height: 410px;
    overflow-y: auto;
    width: 100%
}

.mini-cart-items-list {
    list-style: none;
    margin: 0;
    padding: 20px 0
}

.mini-cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    flex-wrap: wrap
}

.mini-cart-item-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px
}

.mini-cart-item-details {
    flex: 1;
    margin-left: 10px
}

.mini-cart-item-name {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 4px
}

.mini-cart-item-qty-price {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin: 30px 0 0
}

.mini-cart-item-remove {
    color: red;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    margin-left: 10px
}

.mini-cart-view-btn {
    display: block;
    background: #ed2224;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px
}

.mini-cart-empty {
    text-align: center;
    font-size: 14px;
    color: #888;
    padding: 20px 0
}

ul.mini-cart-items span {
    position: unset;
    background: unset!important;
    width: 50%
}

.mini-cart-dropdown a {
    background: #0053e2;
    padding: 10px 0;
    text-align: center;
    border-radius: 20px
}

span.mini-cart-item-price bdi {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse
}

ul.mini-cart-items-list span {
    position: unset!important;
    background: unset!important;
    width: 50%
}

span.mini-cart-item-name {
    width: 80%!important
}

a.mini-cart-item-remove {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    color: #fff!important;
    align-items: center
}

a.mini-cart-view-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

a.mini-cart-checkout-btn {
    display: flex;
    justify-content: center
}

.cart-bb-menu .mini-cart-link {
    cursor: pointer;
    display: inline-block
}

.cart-bb-menu .mini-cart-panel {
    position: absolute;
    top: 60px;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    z-index: 999
}

.cart-bb-menu .mini-cart-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.bb-woocommerce-cats li.cat-item.level-2 a {
    font-weight: unset!important
}

div#bb-ajax-search-results .search-section .search-cat-results {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap
}

div#bb-ajax-search-results .search-section .search-cat-results li {
    margin: 5px 10px
}

#bb-ajax-search-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: none;
    padding: 1rem
}

#bb-ajax-search-panel ul {
    list-style: none;
    margin: 0;
    padding: 0
}

#bb-ajax-search-panel li {
    padding: 8px;
    cursor: pointer;
    transition: .6s
}

#bb-ajax-search-panel li:hover {
    background: #ffc122;
    transition: .6s
}

ul#popular-categories li {
    width: 33%;
    min-width: max-content;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center
}

ul#popular-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
}

.search-suggestions>p {
    margin: 50px 0 20px;
    color: #0053e2;
    border-bottom: 1px solid #000;
    padding: 10px 0;
    font-size: 17px;
    font-weight: 600
}

.mini-cart-item-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start
}

.mini-cart-items span.woocommerce-Price-currencySymbol {
    width: 30%!important;
    text-align: right!important
}

.mini-cart-items a.remove {
    line-height: 5px!important;
    color: #fff!important
}
