:root {
    --primary--color: #C0DC20;
    --secondary--color: #181818;
    --white--color: #ffffff;
}

/* copy css from here */

/* HEADER SECTION START  */
/* HEADER SECTION START  */
.header {
    /*transition: all 0.5s;*/
    z-index: 1000;
    padding: 5px 0;
    background: var(--white--color);
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
    position: sticky !important;
}

a {
    text-decoration: none;
}

.header .logo img {
    max-height: 70px;
}

.navbar .megamenu ul img {
    max-width: 25px;
    max-height: 25px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    column-gap: 20px;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--secondary--color);
    transition: 0.3s;
    text-transform: capitalize;
}

.navbar a i,
.navbar a:focus i {
    font-size: 14px;
    margin-left: 5px;
    margin-top: 5px;
    color: var(--secondary--color);
    font-weight: 600;
}

.navbar a:hover,
.navbar a:active,
.navbar a.active {
    color: var(--primary--color);
}

.navbar a:hover i,
.navbar a:active i,
.navbar a.active i {
    color: var(--primary--color);
}

.navbar .megamenu ul {
    width: 850px;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    top: 3rem;
    left: -20px;
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--white--color);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    border-radius: 20px;
    transition: 0.3s;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 500;
    text-transform: capitalize;
}

.dropdown-box{
    left: -180% !important;
}

.dropdown-box.login{
    left: -108% !important;
}

.location-name{
    color: var(--text--color);
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#locationDropdown{
    background-color: transparent;
}

/* Limit modal width */
.custom-modal-width {
    max-width: 700px;
    width: 100%;
}

/* Make address text wrap nicely */
.address-text {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
    font-size: 16px;
    color: var(--text--color);
}
.address-type {
    font-size: 18px;
    color: var(--text--color);
    font-weight: 600;
}
/* Adjust icon alignment */
#addressesList .d-flex.align-items-center > span:first-child {
    flex-shrink: 0;
    margin-right: 10px;
}

/* Align actions (edit/delete) properly */
#addressesList .actions a img {
    width: 20px;
    height: 20px;
}

.user_addresses{
    color: var(--text--color);
    font-size: 24px;
    font-style: normal;
    font-weight: 550;
    line-height: normal;
}
.add-user-address, .add-user-address:hover {
    display: inline-block !important; /* override any block/fullwidth */
    padding: 0.375rem 0.75rem; /* Bootstrap btn-sm padding */
    font-size: 20px;
    font-weight: 550;
    line-height: normal;
    color: var(--white--color);
    background-color: var(--primary--color);
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    width: 225px;
}

.user-address-select, .user-address-select:hover{
    color: var(--primary--color) !important;
    background-color: var(--white--color) !important;
    border: none !important;
    border-radius: 10px !important;
    filter:drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.16)) !important;
    width: 18%;
}

.address-not-found-description, .address-not-found-card-banner {
    margin-bottom: 30px;
    text-align: center;
    line-height: 30px;
    color: var(--text--color);
}

.address-not-found-description h6 {
    font-weight: 600;
    font-size: 28px;
}

.address-not-found-description p {
    margin: 0 !important;
    padding-top: 10px;
    font-weight: 500;
    font-size: 22px;
}

.custom-close-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.custom-close-button svg {
    width: 16px;
    height: 16px;
}

.modal-content{
    border-radius: 20px !important;
    border-color: transparent;
}
.user-address-content{
    width: 82%;
}
@media only screen and (max-width: 1268px) {
    .dropdown-box.login{
        left: -120% !important;
    }
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: 2rem;
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

.navbar .megamenu {
    position: static;
}

.navbar .megamenu ul a {
    padding: 5px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    text-transform: capitalize;
}

.megamenu-heading {
    position: relative;
    left: 20px;
}

.megamenu-heading h4 {
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
}

.megamenu-title{
    font-weight: 400;
}

.maga-manu-row {
    margin: 0;
    width: 100%;
    margin-bottom: 8px;
}

.navbar .megamenu .megamenu-service {
    display: flex;
    align-items: end;
    padding: 10px 20px;
    flex-wrap: wrap;
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-right: 3px;
}

.navbar .megamenu ul div li {
    flex: 1;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: 2rem;
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

.responsive-service-nav {
    display: none !important;
}

.search-icon {
    border: 1px solid #9c9c9c;
    border-radius: 10px;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
}

.header-cart {
    position: relative;
    width: fit-content;
}

.header-cart .badge {
    position: absolute;
    top: -38%;
    right: -22%;
    background-color: #F25151;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
}

.cart-icon {
    border: 1px solid #9c9c9c;
    border-radius: 10px;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
}

.desktop-service-nav {
    display: contents !important;
}

.dropdown-toggle::after {
    display: none !important;
}

@media only screen and (max-width: 1200px) {
    .responsive-service-nav {
        display: block !important;
    }

    .desktop-service-nav {
        display: none !important;
    }

    .search-icon {
        margin-left: 0;
    }

    .cart-icon {
        margin-left: 0;
    }

    .header-cart .badge {
        top: -4%;
        right: 8%;
    }
}

@media only screen and (max-width: 1580px) {
    .megamenu ul {
        left: -300px ;
    }
}

@media only screen and (max-width: 1690px) {
    .megamenu ul {
        left: -200px ;
    }
}

@media only screen and (max-width: 1800px) {
    .megamenu ul {
        left: -180px;
    }
}
/**
  * Mobile Navigation
  */
.mobile-nav-toggle {
    color: var(--secondary--color);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    margin-top: 5px;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: var(--secondary--color);
    font-size: 40px;
}

@media (max-width: 1200px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.megamenu-service p {
    margin: 0;
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--white--color);
    transition: 0.3s;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 5px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 70px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 10px;
    background-color: var(--white--color);
    height: min-content;
    transition: 0.3s;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 15%);
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--secondary--color);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: var(--secondary--color);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: var(--white--color);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
    color: var(--primary--color);
}

.navbar-mobile .dropdown>.dropdown-active {
    display: block;
}

/* HEADER SECTION END  */

/* custom scrollbar start  */

.megamenu-service::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #Fff;
    border-radius: 50%;
}

.megamenu-service::-webkit-scrollbar {
    width: 10px;
    border-radius: 50%;
    background-color: #F5F5F5;
    padding-right: 15px;
    margin-right: 10px;

}

.megamenu-service::-webkit-scrollbar-thumb {
    border-radius: 50%;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.171);
    background-color: #f5f5f5;
}

/* custom scrollbar END  */

/* RESPONSIVE SECTION START  */
@media only screen and (max-width: 1200px) {

    .navbar .user-dropdown {
        max-height: 280px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}

@media only screen and (max-width: 767px) {
    .logo-title {
        display: none;
    }

    .navbar .user-dropdown {
        display: flex;
        align-items: end;
        padding: 10px 20px;
        flex-wrap: wrap;
        max-height: 280px;
        overflow-y: scroll;
        overflow-x: hidden;
        margin-right: 3px;
    }

    .user-dropdown::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #Fff;
        border-radius: 50%;
    }

    .user-dropdown::-webkit-scrollbar {
        width: 10px;
        border-radius: 50%;
        background-color: #F5F5F5;
        padding-right: 15px;
        margin-right: 10px;
    }

    .user-dropdown::-webkit-scrollbar-thumb {
        border-radius: 50%;
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.171);
        background-color: #f5f5f5;
    }
}

@media (max-width: 425px) {
    .logo-small img {
        width: 200px;
    }

    #locationDropdown svg{
        width: 20px;
        margin-right: 0.25rem !important;
    }
}

@media (max-width: 345PX) {
    .logo-small img {
        width: 170px;
    }
    #locationDropdown svg{
        width: 16px;
    }
    .location-name {
        font-size: 16px;
    }
    #locationDropdown img{
        margin-left: 2px !important;
    }
}

/* RESPONSIVE SECTION END  */
