:root {
	--primary-color:   white;
	--secondary-color: #12111f;
	--action-color:    navy;
	--shado:#eeeeee;
}

*{
	margin: 0;
	box-sizing: border-box;
	color: var(--primary-secondar);
	padding: 0;
	font-size: 18px;
}

html,body {
	height: 100vh;

}

body {

	width: 100%;
}




.popupModel{
	display:none;
	position: absolute;
	z-index: 9999;
	top:60px;
	justify-content: center;
	align-items: center;
	background-color: rgba(0,0,0,0.5);
	white-space: nowrap;
	width: 100%;
	height: 100vh;
	box-shadow: 0 15px 35px rgba(0,0,0,0.5); /* Adds depth */
	text-align: center;
}

.topNav{
	background-color: var(--secondary-color);
	display: flex;
	width: 100%;
	color: var(--primary-color);
	position: fixed;
	height: 60px;
	align-items: center;
	gap: 5px;
	padding-right: 20px;
	z-index: 9999;
}

.logo{
	margin-right: auto;
	margin-left: 10px;
	height: 50px;    /* Set height to fit your bar */
	width: auto;     /* Maintains aspect ratio */
	padding: 20px;
	object-fit: cover;
}

.topNav a{text-decoration: none;outline: none;padding: 10px;display: none;}
.topNav input{text-decoration: none;outline: none;}

.bars {margin-right: auto;padding: 15px;font-weight: bold;font-size: 1.2em;}

.bars:hover{
  background-color: white;
  color: black;
  max-height: 100%;
}

.active{
	display: flex !important;
	position: relative;
	z-index: 9999;
	height: auto !important;
	background-color: white !important;
}

.deactive{
	display: none !important;

}


.mainBody{
	display: flex;
	flex-direction: column;
	background-color: var(--primary-color);
	min-height: 100vh;
	overflow: hidden;
	width: 100%;
	padding-top:60px ;
	justify-content: center; /* Centers item horizontally */
  align-items: center;     /* Centers item vertically */
  
}

.mainContent{
	width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Fixed space between items */
  padding: 12px;
  background-color: #f5f5f5;
  align-items: flex-start;
  top: 0px;
  flex-shrink: 0;
}

.sideContent{
	background-color: transparent;
	min-height: 100%;
	display: none;
	width: 100% !important;
	flex-direction: column;


}

.sideContent a{
	width: 100%;
	text-decoration:none ;
	border: none;
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  min-height: 48px; /* Meets mobile touch target guidelines */
	background-color: transparent;
	border-bottom: 1px solid lightgray;
	position: relative;

}

.sideContent a:hover{
  background-color: lightgray;
}

.dropdown {
  width: 100%;
  background-color: transparent;
}

/* Touch-friendly trigger button */
.drop-button {
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  min-height: 48px; /* Meets mobile touch target guidelines */
  width: 100%;
	text-decoration:none ;
	border-bottom: 1px solid lightgray;
	background-color: transparent;
}

/* Hidden menu state */
.drop-menu {
	display: none;
	flex-direction: column;
}

.drop-button:hover {background-color: lightgray;}

/* Desktop hover / Mobile focus fallback state */
.dropdown:focus-within .drop-menu,.dropdown:hover .drop-menu {
   display: flex;
}

.item-card{
	display: flex;
	flex-wrap: wrap;
	border: 1px solid gray;
	border-radius: 8px;
	flex: 0 0 calc((100% - 12px) / 2);
    height: 400px;
    max-width: 100%;
  justify-content: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  overflow: hidden;
}

.item-loc{padding: 0px 10px;width: 100%;}
.item-disc{padding: 0px 10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;}
.item-name{ 
	 border:none;
	 font-weight: bold;
	 position: absolute;
	 background-color: var(--primary-color);
	 border-bottom-right-radius:15px;
	 border-top-left-radius:8px;
	 padding:5px 10px; 
	 border-bottom: 1px solid gray;
	 border-right: 1px solid gray;
	}
.item-image { 
	object-fit: fill;
	height: 150px;
	overflow:hidden;width: 100%;
	border-top-left-radius:8px;
	border-top-right-radius:8px;
}
.item-price { font-weight: bold;width: 100%;padding: 0px 10px;display: flex;}
.item-card:hover,.item-card:focus {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  /* Optional: slightly shifts the div upward for a stronger 3D effect */
  transform: translateY(-8px); 
	z-index: 9999;
}

.item-card button{
	background-color: var(--action-color);color:
	 var(--primary-color);border: none;
	 border-bottom-left-radius:8px;
	 border-bottom-right-radius:8px;
	 position: relative;

	}

.search-box{
	background-color: white;
	display: flex;
	border-radius: 8px;
	padding: 4px;
	cursor: pointer;
	color: black;
	width: auto;
}

form{
	background-color: white;
	padding: 10px;
	border-radius: 10px;
}


form input,label,textarea,button{
	width: 100%;padding: 8px;display: flex;
}

form button{
	text-align: center;
	background-color: var(--action-color);
	color: var(--primary-color);
	justify-content: center;
}


