
/* .noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
} */
#userProfileHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
    width: fit-content;
    backdrop-filter: blur(6px);
}

#userProfileHeaderPlace {
    font-weight: 600;
    font-size: 12px;
    color: #ffffff;
    max-width: 180px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#idUpdatePlace {
    cursor: pointer;
    border-radius: 50%;
    padding: 6px;
    display: inline-grid;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    background: #ffffff;
    border: none;
}

#idUpdatePlace:hover {
  transform: scale(1.1) rotate(10deg);
}

#idUpdatePlace img {
    width: 18px;
    height: 18px;
    filter: none;
}



.center-search {
    display: flex;
    justify-content: center;
    align-items: center;
}

* {
 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    font-family: 'Arial', sans-serif;
    background: #ffffff;
    overflow: hidden;

}



header {
    background: #ff3b7b;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.app-header span {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
}

header h1 {
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input {
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 20px;
    border: 2px solid rgb(255 191 191 / 70%);
    width: 95%;
    transition: width 0.3sease;
}

.search-input:focus {
    width: 98%;
    outline: none;
    border-color: #ffa047;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease-in-out;
    box-shadow: 6px 0 20px rgba(15, 23, 42, 0.2);
    z-index: 1001;
    overflow-y: auto;
    border-right: 1px solid #e5e7eb;
}

/* Open state */
.mobile-menu.open {
left: 0;
}

/* Profile Section */
.mobile-menu .profile {
text-align: center;
margin-bottom: 20px;
}

.mobile-menu .profile img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff7db2;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.mobile-menu .profile h3 {
margin: 10px 0 5px;
font-size: 18px;
color: #333;
}

.mobile-menu .profile p {
color: #666;
font-size: 14px;
}

/* Menu Items */
.mobile-menu .menu-items {
list-style: none;
padding: 0;
margin-bottom: 20px;
}

.mobile-menu .menu-items li {
margin: 10px 0;
}

.mobile-menu .menu-items a {
    text-decoration: none;
    color: #0f172a;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-menu .menu-items a i {
color: #d30054;
}

.mobile-menu .menu-items a:hover {
    background: #ff3b7b;
    color: white;
    transform: translateX(2px);
}

.mobile-menu .menu-items a:hover i {
color: white;
}

/* Category Links */
.mobile-menu a {
    display: block;
    color: #ff3b7b;
    font-size: 1rem;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ffd0e4;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.mobile-menu a:hover {
background: #ff3385;
}


.subheaderSearch {
    background: #fff;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 998;
    overflow-x: auto;
}

.icon {
width: 60px;
height: 60px;
background-size: cover;
background-position: center;
margin: 0 auto;
}


.menubtn{
font-size: 30px;
color: #ff3385;
background: #fff;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:  #ff3385;
    padding: 10px 18px;
    height: 64px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

/* Mobile Menu Button */
.menu-toggle {
    font-size: 26px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Logo Styling */
.logo {
    border-radius: 30px;
    height: 40px;
    width: 40px;
}
.cartitem{

position: absolute;
background: rgb(0 0 0);
width: 25px;
border-radius: 20px;
display: initial;
font-size: 15px;
padding: 3px;
font-weight: bold;
text-align: center;
border: 2px solid;

}
/* Login */
@keyframes pulseGlow {
0% {
box-shadow: 0 0 5px #ff3385;
}
50% {
box-shadow: 0 0 20px #ff3385, 0 0 30px #ff66a3;
transform: scale(1.1);
}
100% {
box-shadow: 0 0 5px #ff3385;
}
}

.login-btn {
    right: 20px;
    top: 130px;
position: absolute;
padding: 10px 18px;
font-size: 16px;
font-weight: bold;
background: linear-gradient(45deg, #ff3385, #ff66a3);
border: 2px solid #ff3385;
color: white;
cursor: pointer;
border-radius: 8px;
transition: all 0.3s ease-in-out;
animation: pulseGlow 1.5s infinite ease-in-out;
}

.login-btn:hover {
background: #ff66a3;
transform: scale(1.1);
}

#headerRight {
    display: flex;
    align-items: center;
    gap: 10px;
}

#backButton {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#backButton.show {
    display: inline-flex;
}

#backButton:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
}

/* busy loader */

/* Overlay to lock the screen */
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
z-index: 1000; /* Make sure it's above all other content */
display: none; /* Hidden by default */
}

/* Spinner for the busy indicator */
#loadingSpinner {
position: fixed;
inset: 0;
margin: auto;
width: 64px;
height: 64px;
border: 6px solid rgba(255, 255, 255, 0.4);
border-top-color: #ff3b7b;
border-radius: 50%;
animation: spin 1s linear infinite;
z-index: 1100;
display: none;
box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
backdrop-filter: blur(2px);
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Hide elements when busy indicator is shown */
.no-content {
    visibility: hidden;
}
#content {
    height: calc(100% - 40px);
    margin-top: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    overflow-y: auto;
    padding-top: 10px;
    box-sizing: border-box;
    margin-bottom: 65px;
}
/* Back Button Styling with Animation */
#backButton {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#backButton i {
    font-size: 22px;
    color: #ffffff;
}
#backButton:hover {
    color: #007bff;
}
/* Show Animation */
#backButton.show {
    display: block;
    opacity: 1;
    transform: translateX(0);
}
