header .top_head {
    padding: 5px 0;
}

header .top_head .welcomoffertext {
    font-size: 14px;
}

header .navigation {
    -webkit-transition: .5s;
    -moz-transition: position 10s;
    -ms-transition: position 10s;
    -o-transition: position 10s;
    transition: .5s
}

header nav {
    position: fixed;
    padding: 11px 0;
    z-index: 99;
    width: 100%;
    background-color: transparent;
    transition: all 0.5s ease;
}

.mainheader.fixed-top .navigation {
    /* box-shadow: 0px 2px 4px 0px rgb(96 96 96 / 13%); */
    background-color: #1d1f08e0;
    padding: 0;
    backdrop-filter: blur(22px);
}

header nav .wrapper {
    position: relative;
    height: 70px;
    line-height: 70px;
}

.wrapper .logo img {
    width: 149px;
    transition: all 0.5s ease;
}

.mainheader.fixed-top .wrapper .logo img {
    width: 125px;
}

.wrapper .nav-links {
    display: inline-flex;
    gap: 15px;
}

.nav-links li a {
    padding: 9px 15px;
    transition: all 0.3s ease;
    color: white;
    font-weight: 600;
    /* text-transform: uppercase; */
    font-size: 14px;
}

.nav-links li a:hover,
.desktop-item:hover i {
    color: #EBFF00;
}

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: #fffde6;
    width: 250px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    font-weight: 500;
    box-shadow: 0 1px 4px rgb(0 0 0 / 13%);
    margin-left: 10px;
    /* text-transform: uppercase; */
    border-top: 3px solid #a6b500;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.drop-menu li {
    transition: all 0.5s ease;
    color: white;
    line-height: 37px;
}

.drop-menu li:first-child {
    padding-top: 5px;
}

.drop-menu li:last-child {
    padding-bottom: 5px;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 12px;
    border-radius: 0px;
    transition: all 0.5s ease;
    color: #666565;
    font-weight: 500 !important;
}

.drop-menu li a:hover {
    padding-left: 18px;
    color: #53571F;
}

.mega-box {
    position: absolute;
    left: 109px;
    width: 80%;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

.mainheader.fixed-top .wrapper .mega-box {
    left: 93px;
}

.mega-box .content {
    background: #fffde6;
    /* background: #363c00; */
    /* padding: 22px 8px; */
    padding: 26px 20px;
        padding-bottom: 19px;
    width: 58%;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #a6b500;
}

.maincategoryheading {
    font-size: clamp(19px, 2vw, 19px) !important;
    letter-spacing: 0;
    font-weight: 700;
}

.saree-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);
}

.saree-link {
    padding: 8px 0 !important;
    transition: color 0.15s, transform 0.15s;
    font-weight: 500 !important;
    line-height: normal;
    color: #666565 !important;
}

.saree-link:hover {
    transform: translateX(5px);
    color: #53571F !important;
}

.catehead {
    color: #53571F !important;
    font-weight: 800 !important;
    text-transform: none;
    font-family: "Playfair Display", serif;
    font-size: clamp(16px, 2vw, 16px) !important;
}

.mega-box .content .row {
    line-height: 24px;
}

.mega-box .content .row li {
    margin-bottom: 5px;
    color: white;
}

.mega-box .content .row li a {
    color: white;
}

.mega-box .content .row li a:hover {
    padding-left: 18px;
}

.wrapper .btn {
    color: white !important;
    font-size: 22px !important;
    cursor: pointer;
    display: none;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 9px;
    top: 10px;
    font-size: 27px !important;
}

.desktop-item .caret__1 {
    color: white;
}

nav input {
    display: none;
}

.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
}

.main_wishlist {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main_search {
    display: none;
}

.main_wishlist .cart_icons {
    background-color: #8B9332;
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    position: relative;
}

.main_wishlist .cart_icons img {
    width: 24px;
}

.nav-links.menu-animate>li {
    opacity: 0;
}

/*==== for numbers ===== */
.cartwishnumber {
    position: relative;
}

.cartwishnumber .cartnumber {
    position: absolute;
    background: #D8060E;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 11px;
    z-index: 2;
    right: -6px;
    top: -5px;
}

/*==== for numbers ===== */

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media only screen and (max-width: 2000px) {
    .mega-box {
        left: 145px;
    }

    .mainheader.fixed-top .wrapper .mega-box {
        left: 132px;
    }
}

@media only screen and (max-width: 1400px) {
    .wrapper .logo img {
        width: 115px !important;
    }

    header nav {
        padding: 4px 0;
    }

    .mainheader.fixed-top .wrapper .logo img {
        width: 113px !important;
    }

    /* .nav-links li a {
        padding: 9px 10px;
        font-size: 14px;
    } */

    .nav-links li a {
        padding: 0px 10px;
        font-size: 13px;
    }

    .desktop-item .caret__1 {
        font-size: 10px !important;
    }

    header nav .wrapper {
        height: 68px;
    }

    .nav-links li:hover .drop-menu,
    .nav-links li:hover .mega-box {
        top: 68px;
    }

    header .top_head ul li p a {
        font-size: 14px;
    }

    header .top_head .patienttab {
        font-size: 14px;
    }
}

@media screen and (max-width: 1100px) {
    .nav-links li a {
        padding: 9px 5px;
    }

    .wrapper .logo img {
        width: 121px !important;
    }

    .mainheader.fixed-top .wrapper .logo img {
        width: 103px !important;
    }

    .nav-links li a {
        font-size: 13px;
    }

    .nav-links .drop-menu {
        line-height: normal;
    }

    .drop-menu li a {
        padding: 0 0 0 15px;
        padding: 11px 12px;
    }

    .main_wishlist .cart_icons {
        background-color: #8B9332;
        border-radius: 50px;
        width: 38px;
        height: 38px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid transparent;
    }
}

@media screen and (max-width: 992px) {
    .wrapper .btn {
        display: block;
    }

    header nav {
        position: relative;
        background-color: #1D1F08;
        padding: 5px 0;
    }

    header nav .wrapper {
        height: 57px;
    }

    /* header .top_head {
        display: none;
    } */

    header .top_head .welcomoffertext {
        display: none;
    }

    .wrapper .logo img {
        width: 108px !important;
    }

    .mainheader.fixed-top {
        background-color: #1d1f08c7;
    }

    .mainheader.fixed-top .wrapper .logo img {
        width: 100px !important;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        top: 0;
        left: -100%;
                background: #262905;
        display: block;
        padding: 50px 0;
        line-height: 45px;
        overflow-y: auto;
        transition: all 0.5s ease;
        z-index: 150;
    }

    .mainheader.fixed-top .wrapper .nav-links {
        top: -39px;
    }

    #menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: rgb(0 0 0 / 70%);
        z-index: 90;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    #menu_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    #menu-btn:checked~.menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
        display: block;
    }

    .btn:hover {
        border: 1px solid transparent !important;
        box-shadow: none;
    }

    #close-btn:checked~.btn.menu-btn {
        display: block;
    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0 11px;
        display: block;
        font-size: 16px;
    }

    .nav-links .mega-box .content li a {
        padding-left: 0;
    }

    .nav-links .drop-menu {
        position: static;
        opacity: 1 !important;
        top: 65px;
        visibility: visible;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        background: #363c00;
        line-height: 45px;
        margin-left: 0;
        border-top: none;
    }

    #showDrop:checked~.drop-menu,
    #showDrop1:checked~.drop-menu,
    #showDrop2:checked~.drop-menu,
    #showMega:checked~.mega-box,
    #showMega1:checked~.mega-box {
        max-height: 100%;
    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
       color: white;
        font-size: 16px;
        font-weight: 600;
        padding-left: 11px;
        transition: all 0.3s ease;
    }

    .drop-menu li {
        margin: 0;
        padding: 0px 0px;
        opacity: 1 !important;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 16px;
        padding-left: 17px;
        color: white;
        opacity: 1 !important;
    }

    .mega-box .content .row li {
        margin-top: 5px;
        margin-bottom: 22px !important;
    }

    .mega-box {
        position: static;
        top: 65px;
        opacity: 1;
        visibility: visible;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
        width: 100%;
    }

    .mega-box .content {
        box-shadow: none;
        padding: 24px 20px;
        width: 100%;
        border-top: none;
    }

    .drop-menu li a {
        font-size: 14px !important;
        line-height: 39px;
    }

    .category-cards {
        grid-template-columns: 1fr;
    }

    .category-card {
        color: white !important;
    }

    .category-card>span {
        font-size: 14px;
        font-weight: 400;
    }

    .saree-grid {
        grid-template-rows: repeat(10, auto);
    }

    .saree-link {
        font-size: 14px !important;
        color: #666565 !important;
    }

    .saree-link.catehead {
        font-size: clamp(16px, 2vw, 16px) !important;
    }

    .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mega-box .content .row:nth-child(1),
    .mega-box .content .row:nth-child(2) {
        border-top: 0px;
        margin: 0 auto;
    }

    .mega-box .content img {
        display: none;
    }

    .mega-box .content .text_body p,
    .mega-box .content .text_body h5 {
        color: white !important;
    }

    /*****dropdown menu animation */
    .nav-links .drop-menu,
    .mega-box {
        transition: max-height 0.5s ease, padding 0.3s ease;
        overflow: hidden;
        max-height: 0;
        padding: 0 0;
    }

    /* Open state when checkbox is checked */
    #showDrop:checked~.drop-menu,
    #showDrop1:checked~.drop-menu,
    #showDrop2:checked~.drop-menu,
    #showMega:checked~.mega-box {
        max-height: 1000px;
        padding: 10px 0;
    }

    /*****dropdown menu animation */

    .main_wishlist {
        display: none;
    }

    .main_search {
        display: block;
    }

    .dottedforcart {
        background: #666565;
        width: 7px;
        height: 7px;
        position: absolute;
        right: 9px;
        border-radius: 50%;
        outline: 2px solid white;
        top: -2px;
    }
}

@media screen and (max-width: 600px) {
    .main_wishlist .cart_icons img {
        width: 21px;
    }

    .main_wishlist .cart_icons {
        width: 36px;
        height: 36px;
    }
}