header {
    position: sticky;
    top: -1px;
    z-index: 100;
    padding: 10px 140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-color);
    box-shadow: rgb(237 67 112 / 0%) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    }

    header p , header h1{
        margin-bottom: 0;
    }

    header h1{
        display: flex;
    }

    header .logo {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    header .logo h1    a{
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 24px;
        color: #666262;
    }

    header .logo h1  a img{
        width: 160px;
        height: auto;
        border-radius: 20px;
    }


    header .location {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    header .location div{
        display: flex;
        align-items:center;
        gap:10px
    }

    header .location h6{
        margin-bottom: 0;
        color: var(--small-heading);
    }

    header .location p{
        font-size: 13px;
        color: var(--small-sub-heading);
    }

    header .location span{
        cursor: pointer;
    }

    header .search {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    }

    header .search input {
        padding: 8px 16px;
        border: 0px solid #e6e6e6;
        border-radius: 20px 0px 0 18px;
    }

    header .search img{
        height:22px;
    }

    header .search input:focus {
        outline: none;
    }

    header .search button {
        padding: 8px 16px;
        border: 0px solid #e6e6e6;
        border-radius: 0px 10px 10px 0px;
        background-color: white;
        cursor: pointer;
    }

    header nav{
        display: flex;
        gap: 24px;
    }

    header nav ul {
        display: flex;
        list-style: none;
        gap: 36px;
        margin-bottom: 0;
    }

    header nav ul li {
        cursor: pointer;
        gap: 8px;
        display: flex;
        align-items: center;
        font-weight: 500;
        color: var(--profile-color);
        font-size: 16px;
        line-height: normal;
    }

    header nav ul li img{
        width:24px;
    }

    header i {
        color:#666262;
    }

    .desktop-only {
            display: flex;
        }

    .mobile-only {
        display: none;
    }

    .account-number{
        display: flex;
        flex-direction: column;
    }

    .account-number span:first-child{
        font-size: 16px;
        color: black;
        font-weight: 500;
    }
    
    .account-number span:last-child{
        font-size: 14px;
        color: rgb(61, 58, 58);
    }
    
    .open-fix-item-Box{
        position: fixed;
        top: 70px;
        left:0px;
        width:100%;
        height:100%;
        z-index: 10;
        background-color:white;
        padding: 20px 120px;
    }

    .open-fix-item-Box h5{
        color: #666262;
        font-weight:500;
        display: flex;
        align-items:center;
        gap:10px;
        margin-left:10px;
        cursor: pointer;
    }



    /* shop by itms css */

    
.shop-by-items{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.shop-by-items div {
    /* margin: 10px; */
    padding: 10px;
    border-radius: 12px;
    /* background-color: #f6f6f6; */
    text-align: center;
    /* border: 1px solid #f2dddd; */
}

.shop-by-items div a{
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background: #f6f6f6; */
    gap: 8px;
}

.shop-by-items div a span{
    color: #575656;
    font-weight: 500;
    /* background-color: white; */
}




.searched-box{
    display:flex;
    flex-wrap:wrap;
    gap:32px
}

.searched-item-box {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-radius: 10px;
}

.searched-item-box {
    width: 48%;
    box-shadow: -1px 5px 11px 2px #ececec;
    padding:20px;
    position: relative;
}

.searched-item-box a{
    display:flex;
    align-items:center;
    gap:20px;
    text-decoration:none;
}

.item-box-inner h4{
    font-size:18px;
    color:#535050;
}


.item-box-inner{
    margin-bottom:50px
}



.searched-item-box img{
    border-radius:10px;
    width: 150px;
    height:150px;
    object-fit: cover;
}
.name-price{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.item-box-inner p{
    margin-bottom:0;
    font-size:16px;
    color:#53505a;
}


.item-box-inner p strike{
    color: #9da0a2;
    margin-right:10px
}

.item-box-inner p span{
    color: #53505a;
}


.searched-item-box .cart-controls {
    width: 37%;
    left: 167px;
}

.btn-fresh-red{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 0px;
    border-radius: 4px;
    width: 100%;
    height: 44px;
    padding: 16px;
    font-weight: 500;
    /* background: white; */
    color: rgb(255 255 255);
    background-color: var(--button-color);
    box-shadow: -4px 6px 8px 0px rgba(255, 255, 255, 0.4) inset;
    border: 0;
}

.btn-fresh-red:hover{
    background: rgb(255 255 255);
    color: #ef4372;
    border: 1px solid #ef4372;
}

.btn-fresh-cart{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 0px;
    border-radius: 4px;
    width: 100%;
    height: 44px;
    padding: 16px;
    font-weight: 500;
    background: var(--background-color);
    color: rgb(255, 255, 255);
    border-color: var(--border-color);
    border: 0;
    box-shadow: -4px 6px 8px 0px rgba(255, 255, 255, 0.4) inset;
}

.btn-fresh-cart:hover{
    background: rgb(255, 255, 255);
    color: var(--button-color);
    border: 1px solid var(--border-color);
}


.btn-fresh-red:hover{
    background: rgb(255 255 255);
    color: var(--border-color);
    border-color: var(--border-color)
}

.btn-fresh-red-outline{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 0px;
    border-radius: 4px;
    width: 100%;
    height: 44px;
    padding: 16px;
    font-weight: 500;
    color: rgb(239 67 114);
    background-color: rgb(255 255 255);
    border: 1px solid rgb(239 67 114);
}

.btn-fresh-red-outline:hover{
    background: rgb(239 67 114);
    color: rgb(255 255 255);
    border-color: rgb(239 67 114);
}

.mobile-overflow-div{
        height:calc(100vh - 170px);
        overflow:auto;
        padding: 10px;
}

.truncate {
        width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
}


.whatsApp{
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    padding: 20px 20px;
    border-radius: 50%;
    z-index: 100;
    cursor: pointer;
}

.cart-tab{
    position: relative;
}

.cart-count{
    background: var(--background-color);
    position: absolute;
    top: 2px;
    right: -22px;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.fixed {
    position: fixed;
    top:0; 
    left:0;
    width: 100%; 
    z-index: 100;
    background: white;
}


.btn-outline-danger {
    color: var(--button-text-color);
    background-color: white;
    border: 1px solid var(--button-border-color);
}

.btn-outline-danger:hover {
    color: white;
    background-color: var(--background-color);
    border: 1px solid var(--button-hover-color);
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: white;
    background-color: var(--background-color);
    border: 1px solid var(--button-hover-color);
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #a39f9f;
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, 0);
}


@media(max-width: 768px) {

    header {
        padding: 10px 15px 5px;
    }

    header img {
        width: 40px;
        height: auto;
        /* border-radius: ; */
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .mobile-header {
        display: flex;
        gap: 10px
    }

    .mobile-header h5 {
        font-size: 16px;
        margin-bottom: 0px;
    }

    .mobile-header p {
        font-size: 12px;
    }

    .truncate {
        width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .shop-by-items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-top: 8px;
    }

    /* .shop-by-items div a img {
        width: 55px;
        height: 55px;
        border: 8px solid #f6f6f6;
    } */

    .shop-by h2 {
        font-size: 22px;
        margin-bottom: 0;
    }

    .shop-by p {
        font-size: 12px;
        margin-bottom: 0;
        color: #787474;
    }

    .shop-by-items div a span {
        font-size: 12px;
        line-height: 14px;
    }


    .open-fix-item-Box {
        padding:20px 0px;
        top: 0px;
    }

    .searched-item-box {
        width: 100%;
        margin-bottom:10px
    }

    .searched-item-box a {
        text-decoration: none;
        align-items:flex-start;
    }

    .searched-item-box img {
        width: 100px;
        height: 100px;
    }

    .item-box-inner h4 {
        font-size: 16px;
    }

    .item-box-inner p {
        font-size: 12px;

    }

    .searched-item-box button {
        left: 142px;
    }

    .search{
        padding: 10px;
    }

    .mobile-overflow-div{
        height:calc(100vh - 200px);
        overflow:auto;
        padding: 10px;
}

    .searched-box{
        gap:0px
    }
    .searched-item-box .cart-controls {
        width: 37%;
    }

    .whatsApp {
        bottom: 100px;
        right: 18px;
        padding: 14px;
    }

    .cart-count {
        top: 2px !important;
        right: 0px !important;
        width: 20px;
        height: 20px;
    }

    .btn-fresh-cart, .btn-fresh-red {
        font-size: 12px;
    }
}   