/*
* author: Ants Creation (Pvt) Ltd
* email: info@ants.lk
* web: www.ants.lk
* description: header styles
*/

.header-top-bar{
    background-color: var(--theme1);
    color: var(--white);
    font-size: 13px;
    border-bottom: none;
    position: relative;
    z-index: 1040;
    overflow: visible;
}

@media (max-width: 600px) {
    .header-top-bar {
        display: none;
    }
}

.header-top-bar__delivery span{
    color: var(--white);
}

.header-top-bar__social{
    gap: 10px;
}
.header-top-bar__social a{
    font-size: 18px;
    line-height: 1;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.header-top-bar__social a:hover{
    opacity: 1;
    color: var(--white);
}

.header-top-bar__delivery{
    gap: 4px;
    font-weight: 500;
}
.header-top-bar__delivery .la-lock{
    font-size: 14px;
}

.header-top-bar__right a{
    font-size: 13px;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header-top-bar__right a i{
    line-height: 1;
}
.header-top-bar__right .login-register-btn{
    margin-right: 10px;
    max-width: 180px;
}
.header-top-bar__right .login-register-btn span{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-top-bar__right button.login-register-btn{
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
    outline: none;
}
.header-top-bar__right a:hover,
.header-top-bar__right button.login-register-btn:hover{
    color: var(--white);
    opacity: 0.85;
}
.header-top-bar__right .login-register-dropdown{
    position: relative;
}
.header-top-bar__right .login-register-dropdown__menu{
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    float: none;
    display: none;
    background: #fff;
    min-width: 180px;
    max-width: none;
    margin: 8px 0 0;
    padding: 6px 0;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: none !important;
    will-change: auto;
}
.header-top-bar__right .login-register-dropdown.show > .login-register-dropdown__menu,
.header-top-bar__right .login-register-dropdown__menu.show{
    display: block;
}
.header-top-bar__right .login-register-dropdown__menu .dropdown-item{
    display: block;
    width: 100%;
    color: #222 !important;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    opacity: 1;
    gap: 0;
    white-space: nowrap;
}
.header-top-bar__right .login-register-dropdown__menu .dropdown-item:hover,
.header-top-bar__right .login-register-dropdown__menu .dropdown-item:focus{
    background: #f5f5f5;
    color: #222 !important;
    opacity: 1;
}

@media (max-width: 767px){
    .header-top-bar__delivery span{ font-size: 11px; }
    .header-top-bar__right span{ font-size: 11px; }
    .header-top-bar__social{ display: none !important; }
}

.header-main{
    background-color: var(--white);
}

.site-header.header-main,
header.rd-header.header-main {
    position: relative;
    z-index: 1030;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header-main__nav{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Left: logo */
.header-main__left{
    flex-shrink: 0;
}

.header-main__logo{
    flex-shrink: 0;
    display: inline-flex;
}

.header-main__logo .header-logo{
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 1199.98px) {
    .header-main__logo .header-logo {
        max-height: 40px;
    }

    .site-header.header-main,
    header.rd-header.header-main {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Middle: search - takes remaining space and centers the form */
.header-main__search{
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    min-width: 0;
}

.header-main__search-form{
    width: 100%;
    max-width: 400px;
}

.header-main__search-form .input-group{
    width: 100%;
    position: relative;
    align-items: stretch;
}

.header-main__search-form .input-group .form-control{
    position: relative;
    z-index: 1;
    border-radius: 22px 0 0 22px;
    border-right: none;
    padding-right: 50px;
    height: 44px;
}

.header-main__search-form .input-group-append{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Right: login, wishlist, cart */
.header-main__actions{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-main__actions .whishlist-wrapper{
    margin-right: 0;
}

.header-main__actions .cart-top-nav{
    margin-left: 0;
}

.header-main__search-input{
    background-color: transparent;
    border: 1px solid #E0E0E0;
    color: var(--theme_black);
    border-radius: 25px !important;
    padding: 8px 18px;
}

.header-main__search-input::placeholder{
    color: #999;
}

.header-main__search-input:focus{
    background-color: #F9F9F9;
    border-color: var(--theme1);
    color: var(--theme_black);
    box-shadow: none;
}

.header-main__search-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 50% !important;
    background-color: var(--theme1);
    border: none;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-main__search-btn svg {
    fill: currentColor;
}

.header-main__search-btn:hover{
    background-color: var(--theme3);
    color: var(--white);
}

.header-main__login span{
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--theme_black);
}

.header-main__login:hover{
    color: var(--theme3);
}

.header-reseller-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    background-color: var(--theme3);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 3px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-reseller-btn:hover,
.header-reseller-btn:focus{
    background-color: #fff;
    color: var(--theme_black);
}

.header-reseller-btn--mobile{
    color: var(--theme3) !important;
    font-weight: 600;
}

/* Inline nav links in main header */
.header-main__inline-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: 1.5rem;
}
.header-main__nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--theme_black);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.header-main__nav-link:hover {
    color: var(--theme3);
}
.header-main__nav-link--hot {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--theme3);
    font-weight: 600;
}
.header-main__hot-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Main header: profile icon dark */
.header-main .header-main__login svg g[data-name="vuesax/bold/profile-circle"] path {
    fill: var(--theme_black);
}
.header-main .header-main__login svg g[data-name="Ellipse 3"] circle {
    stroke: #ccc;
}

/* Main header: wishlist & cart icons dark, badge coral */
.header-main .whishlist-wrapper a svg path,
.header-main .whishlist-wrapper a{
    fill: var(--theme_black);
    color: var(--theme_black);
}

.header-main .whishlist-wrapper .hart-count{
    background-color: var(--theme3);
}

.header-main .cart-top-nav .cart-nav .cart-icon svg path,
.header-main .cart-top-nav .cart-nav .cart-icon svg{
    stroke: var(--theme_black);
}

.header-main .cart-top-nav .cart-count{
    background-color: var(--theme3);
}

.header-main .dropdown-menu{
    background: var(--white);
}

.header-main .dropdown-item{
    color: var(--theme_black);
}

.header-secondary-nav{
    background-color: var(--white);
    border-top: 1px solid #F0F0F0;
    border-bottom: 1px solid #F0F0F0;
}

.header-secondary-nav__list{
    list-style: none;
    padding: 0;
}

.header-secondary-nav__item{
    margin: 0;
    position: relative;
    margin-right: 0.25rem;
}

.header-secondary-nav__link:hover{
    color: var(--theme3);
}

.header-secondary-nav__item .header-secondary-nav__link--active,
.header-secondary-nav__item .header-secondary-nav__link.active{
    color: var(--theme3);
}

.header-secondary-nav__item::after{
    content: "|";
    color: rgba(0,0,0,0.2);
    font-size: 12px;
    padding-left: 0.35rem;
    margin: 0 0.15rem;
}

.header-secondary-nav__item:last-child::after{
    content: "";
}

.header-secondary-nav__link{
    color: var(--theme_black);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0 0.75rem;
    text-decoration: none;
    position: relative;
}

/* Flash Deal menu highlight + shine */
.header-secondary-nav__item--flash-deal .header-secondary-nav__link{
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 3px;
    background-color: var(--theme3);
    color: var(--white);
    overflow: hidden;
    z-index: 0;
}

.header-secondary-nav__item--flash-deal .header-secondary-nav__link::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 35%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.15) 65%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: headerFlashDealShine 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.header-secondary-nav__item--flash-deal .header-secondary-nav__link:hover,
.header-secondary-nav__item--flash-deal .header-secondary-nav__link.active{
    background-color: var(--theme3);
    color: var(--white);
}

@keyframes headerFlashDealShine{
    0%{
        left: -100%;
    }
    45%,
    100%{
        left: 150%;
    }
}

@media (prefers-reduced-motion: reduce){
    .header-secondary-nav__item--flash-deal .header-secondary-nav__link::before{
        animation: none;
        display: none;
    }
}

.notifications-bar .social .list-inline-item i{
    font-size: 18px;
}
.notifications-bar{
    background-color: var(--white);
    padding-block: 20px;
    color: black;
    border-bottom: 1px solid hsla(182, 100%, 29%, 0.576);
}
.notifications-bar .user .dropdown.show{
    z-index: 99999;
}

.notifications-bar .notify-bar-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    font-size: 16px;
    cursor: pointer;
}

.navbar-light .navbar-nav .nav-link{
    text-wrap: nowrap;
    color: var(--theme2);
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    position: relative;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--theme3);
    transition: all ease-in-out 0.3s;
}
.navbar-light .navbar-nav .nav-link:hover::after {
    transition: all ease-in-out 0.3s;
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px; /* Adjust the position vertically */
    transform: translateX(-50%);
    width: 8px; /* Size of the dot */
    height: 8px;
    background-color: #d4b14b; /* Color of the dot */
    border-radius: 50%; /* Makes the shape circular */
}

.rd-header .dropdown-menu {
    width: unset;
}

.rd-header .mega_menu{
    display: flex;

}

.rd-header .mega_menu_dropdown:hover .mega_menu{
    opacity: 1;
    transform: translate(0, 0);
    visibility: visible;
}

.rd-header li{
    list-style: none;
}


.navbar-light .navbar-toggler{
    color: var(--theme1);
}

.rd-header .mega_menu{
    box-shadow: 0 5px 10px 0px #0000001f;
    box-shadow: none;
    bottom: auto;
    float: none;
    left: auto;
    line-height: 1.7;
    margin: 0;
    min-height: auto;
    max-height: none;
    min-width: auto;
    outline: none;
    overflow: visible;
    right: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    top: auto;
    vertical-align: baseline;
    word-wrap: break-word;
    white-space: normal;
    display: block;
    visibility: hidden;
    padding: 0px 0px 0px 0px;
    position: absolute;
    max-width: none;
    z-index: 999;
    border-radius: 0px 0px 5px 5px;
    background: linear-gradient(to bottom, #fff, #f1f1f1);
    opacity: 0;
    transform: translate(0, 10px);
    transition: opacity 200ms ease-in, transform 200ms ease-in, visibility 200ms ease-in;
}

.officef > .mega_menu {
    left: 180px !important;
}

.officef ul {
    width: 1000px !important;
}

.rd-header .mega_menu_item{
    padding: 15px;
    float: left;
    width: 33.3%;
}

.rd-header .mega_menu_item h3{
    font-size: 1rem;
    color: var(--theme4);
    font-weight: 600;
}

.rd-header .mega_menu_item a{
    color: black;
    font-size: 0.95rem;
}

.rd-header .mega_menu_item a{
    display: block;
}

.whishlist-wrapper .hart-count{
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--theme1);
    width: 15px;
    height: 15px;
    color: white;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

.global-search{
    position: fixed;
    z-index: 9999;
    width: 100%;
    background-color: #00000075;
    top: 0;
    height: 0;
    overflow: hidden;
    transition: 0.2s ease-in-out;
    backdrop-filter: blur(10px);
}

.global-search.active{
    height: 100%;
}

header .cart-top-nav{
    position: relative;
}
header .cart-top-nav>a{
    align-items: center;
}
header .cart-top-nav>a span{
    color: black;
    white-space: nowrap;
    display: block;
    line-height: 1.2;
    font-size: 13px;
}
header .cart-top-nav>a i{
    font-size: 20px;
    color: var(--black);
    margin-right: 0.5rem !important;
}
header .cart-top-nav>a svg{
    width: 40px;
    height: 40px;
}

header .cart-top-nav>a > div{
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

header .cart-top-nav>a .cart-icon .cart-count{
    position: absolute;
    right: -5px;
    top: -5px;
    border-radius: 50%;
    background-color: var(--theme3);
    width: 15px;
    height: 15px;
    text-align: center;
}

header .cart-top-nav>a .cart-icon .cart-count span{
    color: var(--white);
}

header .cart-top-nav>a .cart-icon img{
    width: 25px;
}

header .cart-top-nav>a h6{
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

header .cart-top-nav>a h5{
    font-size: 18px;
    margin: 0;
}

header .cart-top-nav>a .cart-text{
    margin-left: 10px;
}
header .cart-top-nav>a .cart-text div{
    font-size: 10px;
    margin-bottom: 10px;
}

.cart-top-nav.show::before{
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998;
}

/* Cart lives inside header-main (z-index 1030). Raise that stacking
   context while open so the drawer sits above the top bar (z-index 1040). */
.site-header.header-main:has(.cart-top-nav.show),
header.rd-header.header-main:has(.cart-top-nav.show),
body.side-cart-open .site-header.header-main,
body.side-cart-open header.rd-header.header-main {
    z-index: 1100;
}

.cart-top-nav.show .dropdown-menu,
.cart-top-nav.show #side-cart{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    width: 420px;
    max-width: 100vw;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.cart-top-nav.show .dropdown-menu .side-cart-list,
.cart-top-nav.show .dropdown-menu .list-group.side-cart-list{
    flex: 1 1 auto;
    height: auto;
    max-height: none;
    overflow-y: auto;
}

.cart-top-nav.show .dropdown-menu .cart-footer{
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    flex-shrink: 0;
}

.cart-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background-color: #FBEFEF;
    flex-shrink: 0;
}

.cart-header__left{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.cart-header__title{
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.cart-header__badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50%;
    background: var(--theme10, #F5DD93);
    color: #333;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.cart-header__right{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.cart-header__clear{
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #666;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}

.cart-header__clear:hover{
    color: var(--theme3, #E07070);
}

.cart-header__close{
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--theme1, #E58989);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.cart-header__close i{
    font-size: 18px;
}

.cart-header__close:hover{
    background: var(--theme3, #E07070);
}

.side-cart-list{
    padding: 0;
    margin: 0;
}

.side-cart-item{
    padding: 16px 18px !important;
    border-color: #eee !important;
}

.side-cart-item__row{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.side-cart-item__img{
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    background: #fff;
}

.side-cart-item__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-cart-item__body{
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-cart-item__name{
    font-size: 14px;
    font-weight: 500;
    color: #555;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-cart-item__price{
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.side-cart-item__remove{
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid #f0c4c4;
    border-radius: 6px;
    background: #fff;
    color: var(--theme1, #E58989);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-top: 2px;
}

.side-cart-item__remove i{
    font-size: 16px;
}

.side-cart-item__remove:hover{
    background: #FBEFEF;
    border-color: var(--theme1, #E58989);
}

.side-cart-qty{
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
    max-width: 110px;
}

.side-cart-qty__btn{
    width: 28px;
    height: 28px;
    border: 0;
    background: #fff;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.side-cart-qty__btn:disabled{
    opacity: 0.4;
    cursor: not-allowed;
}

.side-cart-qty__btn i{
    font-size: 14px;
    pointer-events: none;
}

.side-cart-qty__input{
    width: 36px;
    height: 28px;
    border: 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    background: #fff;
    padding: 0;
}

.cart-footer{
    border-top: 1px solid #eee;
    padding: 16px 18px 20px;
    background: #fff;
}

.cart-footer__subtotal{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.cart-footer__amount{
    font-weight: 700;
}

.cart-footer__actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cart-footer__actions .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.cart-footer .cart-outline-btn{
    background: #fff !important;
    color: #222 !important;
    border: 1px solid #cfcfcf !important;
    transition: background-color .2s, color .2s, border-color .2s;
}

.cart-footer .cart-outline-btn:hover{
    background: #f7f7f7 !important;
    color: #111 !important;
    border-color: #bbb !important;
}

.cart-footer .cart-primary-btn{
    background: var(--theme1, #E58989) !important;
    color: #fff !important;
    border: 1px solid var(--theme1, #E58989) !important;
    transition: background-color .2s, color .2s, border-color .2s;
}

.cart-footer .cart-primary-btn:hover{
    background: var(--theme3, #E07070) !important;
    border-color: var(--theme3, #E07070) !important;
    color: #fff !important;
}

.side-cart-empty{
    padding-top: 4rem !important;
    color: #666;
}

@media (max-width: 575.98px){
    .cart-top-nav.show .dropdown-menu,
    .cart-top-nav.show #side-cart{
        width: 100vw;
        border-radius: 0;
    }

    .cart-footer__actions{
        grid-template-columns: 1fr;
    }
}

header .search-area .q{
    border: none;
    border-radius: 0;
    background: transparent;
}

header .search-area .cat{
    border-radius: 3px 0 0 3px !important;
    background-color: #F6F6F6;
    border-radius: 0;
    border-color: #F6F6F6;
    width: 15%;
    padding-right: 10px;
    border: 1px solid var(--theme2);
}

.global-search .btn.submit{
    border-radius: 0 30px 30px 0;
    border-left: none;
    background-color: var(--theme1);
}

.global-search .btn.submit:hover{
    background-color: var(--theme1);
    color: white;
}

/* mobile nav drawer — matches Japan Korean Mart theme tokens */
body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
}

.mobile-side-nav-wrap {
    position: relative;
    z-index: 9998;
}

.mobile-side-nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 19, 19, 0.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-side-nav__backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-side-nav .mobile-list .mobile-dropdown .dropdown-menu.show {
    position: relative !important;
}

.mobile-side-nav {
    font-family: var(--theme-font, "Parkinsans", sans-serif);
    font-weight: 400;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    height: 100%;
    max-height: 100dvh;
    width: 0;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    background: var(--white);
    color: var(--font-color);
    border-left: 1px solid rgba(var(--theme_rgba), 0.18);
    box-shadow: -16px 0 40px rgba(229, 137, 137, 0.18);
    transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-side-nav::before {
    content: "";
    display: block;
    height: 4px;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--theme1) 0%, var(--theme3) 100%);
}

.mobile-side-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.85rem;
    flex-shrink: 0;
    background: var(--theme9);
    border-bottom: 1px solid rgba(var(--theme_rgba), 0.16);
}

.mobile-side-nav__brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.mobile-side-nav__logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.mobile-side-nav__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(var(--theme_rgba), 0.28);
    border-radius: 10px;
    background: var(--white);
    color: var(--theme3);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile-side-nav__close:hover,
.mobile-side-nav__close:focus {
    background: var(--theme3);
    border-color: var(--theme3);
    color: var(--white);
    outline: none;
}

.mobile-side-nav__account {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border_color);
}

.mobile-side-nav__account-dropdown {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.mobile-side-nav__account-dropdown .mobile-side-nav__account-link {
    width: 100%;
    cursor: pointer;
}

.mobile-side-nav__account-dropdown .login-register-dropdown__menu {
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 6px 0;
    border: 1px solid var(--border_color, #eee);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.mobile-side-nav__account-dropdown .dropdown-item {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme_black);
    padding: 8px 14px;
}

.mobile-side-nav__account-dropdown .dropdown-item:hover,
.mobile-side-nav__account-dropdown .dropdown-item:focus {
    background: var(--theme9, #f5f5f5);
    color: var(--theme_black);
}

.mobile-side-nav__account-link {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: var(--theme9);
    color: var(--theme_black);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-side-nav__account-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-side-nav__account-link i {
    color: var(--theme3);
    font-size: 1rem;
}

.mobile-side-nav__account-link:hover,
.mobile-side-nav__account-link:focus {
    background: var(--theme3);
    color: var(--white);
    outline: none;
}

.mobile-side-nav__account-link:hover i,
.mobile-side-nav__account-link:focus i {
    color: var(--white);
}

.mobile-side-nav__label {
    margin: 0;
    padding: 1rem 1.25rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--theme3);
}

.mobile-side-nav__label--contact {
    padding-top: 0;
    padding-bottom: 0.5rem;
}

.mobile-side-nav__nav {
    flex: 1 1 auto;
    min-height: 0;
}

.mobile-side-nav .mobile-list {
    padding: 0 0.5rem 0.75rem;
    list-style: none;
}

.mobile-side-nav .mobile-list li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border_color);
}

.mobile-side-nav .mobile-list li:last-child {
    border-bottom: none;
}

.mobile-side-nav .mobile-list .nav-link {
    display: block;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--theme_black);
    padding: 0.85rem 0.75rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.mobile-side-nav .mobile-list .nav-link:hover,
.mobile-side-nav .mobile-list .nav-link:focus {
    color: var(--theme3);
    background: var(--theme9);
    border-left-color: var(--theme3);
    outline: none;
}

.mobile-side-nav .mobile-list .nav-link.header-reseller-btn--mobile {
    color: var(--theme3);
    font-weight: 600;
}

.mobile-side-nav__contact {
    flex-shrink: 0;
    margin-top: auto;
    padding: 1rem 1rem calc(1.25rem + 72px);
    border-top: 1px solid rgba(var(--theme_rgba), 0.16);
    background: var(--theme9);
}

.mobile-side-nav__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid rgba(var(--theme_rgba), 0.16);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-side-nav__contact-row:last-child {
    margin-bottom: 0;
}

.mobile-side-nav__contact-row:hover,
.mobile-side-nav__contact-row:focus {
    background: var(--white);
    border-color: var(--theme3);
    outline: none;
}

.mobile-side-nav .service-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--theme_rgba), 0.12);
    color: var(--theme3);
}

.mobile-side-nav__contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    text-align: left;
}

.mobile-side-nav__contact-kicker {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--txt-color-2);
}

.mobile-side-nav__contact-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--theme_black);
    word-break: break-word;
}

.header-megamenu__category:hover .header-megamenu__category__link{
    transform: translateY(4px);
}

.header-megamenu__container{
    text-align: left;
    z-index: -1;
    padding: 0;
    display: inline-flex;
    background: #fff;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    visibility: hidden;
    height: 0;
    overflow: hidden;
    width: 0;
}

.header-megamenu__container ul{
    list-style: none;
    padding-inline: 1rem;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.header-megamenu__category{
    margin: 0;
    z-index: 99999999;
}

.header-megamenu__subcategory-header{
    font-weight: 600;
}

.rd-header .navbar .collapse .navbar-nav .nav-item .search-button-form{
    position: relative;
}
.rd-header .navbar .collapse .navbar-nav .nav-item .search-button-form .InputBox {
    border: 1px solid #2E3192;
    display: block;
    width: 300px;
    padding: 10px 10px;
    font-size: 15px;
    border-radius: 4px;
}
.rd-header .navbar .collapse .navbar-nav .nav-item .search-button-form .search-button{
    position: absolute;
    top: 5px;
    background-color: #2E3192;
    right: 5px;
    color: var(--white);
    float: right;
    padding: 6px 25px;
}

/* mobile nav */


@media (min-width: 1199px){
    header .wishlist-nav{
        margin-left: 25px;
    }
    header .wishlist-nav i{
        border: 1px solid #000000;
        padding: 8px;
        border-radius: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199px){
    .header-social-media-icons i{
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .top-navbar .list-inline-item .welcome {
        font-size: 13px;
    }

    .top-navbar .list-inline-item .welcome.phone a {
        font-size: 13px;
    }
}

@media (min-width: 992px){
    header .search-area{
        border-radius: 5px;
    }
    .nav-list-area .navbar .navbar-nav .nav-item .nav-link{
        padding-right: .8rem;
        padding-left: .8rem;
    }
    /* .nav-list-area .sidenav-close{
        display: none;
    } */

    .nav-list-area{
        z-index: 1;
    }

    /* mobile nav */
    /* .mobile-side-nav .sidenav-close{
        display: none;
    } */

    .header-megamenu__category:hover .header-megamenu__container, .header-megamenu__container:hover{
        width: auto;
        padding: 1rem;
        z-index: 999999;
        visibility: visible;
        height: calc(100vh - 8rem);
        max-height: 420px;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        column-gap: 2rem;
    }

    .header-megamenu__container .header-megamenu__mobile-subcategory{
        display: none;
    }
}

@media (max-width: 1199px){
    .nav-list-area .navbar .navbar-nav .nav-item.all-category.width-min {
        width: 210px;
    }
    .nav-list-area .navbar .navbar-nav .nav-item.all-category.width-min .icon-cat {
        margin-left: 6.7em;
    }
    .mobile-side-nav .mobile-list .dropdown-menu.show {
        transform: unset !important;
        background: transparent !important;
        box-shadow: none !important;
        border: unset !important;
    }
    .mobile-side-nav a {
        text-decoration: none;
    }
}

@media (max-width: 991px){
    /* sidenav */

    .sidenav .header-links ul{
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidenav .header-links ul li{
        border-bottom: 1px solid var(--theme_gray);
    }

    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 9999;
        top: 0;
        right: 0;
        background-color: #fff;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
    }

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 15px;
        color: var(--black);
        display: block;
        transition: 0.3s;
    }

    .sidenav a:hover {
        color: var(--theme4);
    }

    .sidenav .closebtn {
        position: absolute;
        top: -5px;
        right: 10px;
        font-size: 36px;
        margin-left: 50px;
    }

    .sidenav .header-social-media-icons{
        padding-bottom: 15px;
    }

    .sidenav .header-social-media-icons li a{
        padding: 0;
    }

    .nav-list-area .header-phone{
        display: flex;
    }

    .nav-list-area .header-phone svg{
        fill: var(--theme1);
    }

    .nav-list-area .header-phone h6,
    .nav-list-area .header-phone h5{
        color: var(--theme1);
    }

    .header-megamenu__container{
        transition: transform 0.5s ease;
        transform: translateX(100%);
    }

    .header-megamenu__container.active{
        right: 0;
        left: auto;
        height: 200vh;
        top: 0;
        visibility: visible;
        position: fixed;
        /* overflow: scroll; */
        z-index: 9999;
        width: 260px;
        flex-direction: column;
        transform: translateX(0);
    }

    .mobile-disable-event{
        pointer-events: none;
        position: relative;
        width: 100%;
    }

    .header-megamenu__container .header-megamenu__subcategory,
    .header-megamenu__container .header-megamenu__mobile-subcategory{
        display: none;
    }

    .header-megamenu__container .header-megamenu__subcategory.active,
    .header-megamenu__container .header-megamenu__mobile-subcategory.active{
        display: flex;
    }

    .mobile-disable-event::after{
        content: "\f105";
        font-family: 'Line Awesome Free';
        position: absolute;
        right: 1rem;
    }

    .side-nav__sub-nav li{
        display: block;
        margin-bottom: 10px;
        text-align: initial;
    }

    .side-nav__sub-nav li{
        border-bottom: 1px solid var(--theme_hex_6);
        padding: 2px;
    }

    .side-nav__sub-nav li{
        border-bottom: 1px solid var(--theme_hex_6);
        padding: 2px;
        margin-right: 1rem;
    }





    /* end sidenav */
    .nav-list-area.sidenav .navbar .navbar-nav{
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .nav-list-area.sidenav .navbar .navbar-nav .nav-item{
        text-align: left;
    }

    .nav-list-area .navbar .navbar-nav .nav-item .nav-link{
        font-size: 14px;
        font-weight: 500;
        color: var(--font-color);
    }

    .nav-list-area .navbar .navbar-nav .nav-item .nav-link:hover{
        color: var(--theme_black);
    }

    .nav-list-area .navbar .navbar-nav .nav-item{
        margin-bottom: 10px;
    }

    .top-navbar{
        padding: 0;
    }

    .top-navbar .bx-header{
        padding: 0;
    }

    header .logo-category a{
        margin-top: 0;
        z-index: inherit;
    }
}

@media (max-width: 767px){

}

@media (min-width: 576px) and (max-width: 991px){
    .header-menu-row {
        padding: 16px 0;
    }
}

@media (min-width: 576px) and (max-width: 766px){

}

@media (max-width: 575px){
    header .search-area .advance{
        margin-right: 5px;
    }

    .site-header .header-logo{
        height: 40px;
    }

    .notifications-bar .text-center{
        font-size: 11px;
    }
}

@media (max-width: 375px){

}
