* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body {
   margin: 0;
  padding: 0;
  background: #fffdf9;
  color: #333;
  line-height: 1.6;
}

/* NAVIGATION BAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff6ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


.logo {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  color: #b57f44;
  font-weight: bold;
}

.nav-search input {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 250px;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dropdown {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.login-btn,
.signup-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.login-btn {
  background-color: transparent;
  color: #b57f44;
  border: 2px solid #b57f44;
}

.signup-btn {
  background-color: #b57f44;
  color: white;
}

.login-btn:hover {
  background-color: #fdf3eb;
}

.signup-btn:hover {
  background-color: #9f6b36;
}


/* Add at bottom of menu.css */

.login-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.login-popup-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1.2rem;
  cursor: pointer;
}




.left-sidebar {
  position: fixed;
  top: 94px; /* match navbar height */
  left: 0;
  width: 262px;
  height: calc(100vh - 94px); /* full height below navbar */
  overflow-y: auto;
  background-color: #fff6ee;
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
  padding: 20px;
  z-index: 998;
}


.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.sidebar-header h2 {
  font-size: 1.2rem;
  color: #b57f44;
  font-family: 'Playfair Display', serif;
}

.sidebar-menu {
  list-style: none;
  padding-left: 0;
}

.sidebar-menu li {
  margin-bottom: 15px;
}

.sidebar-menu a {
  text-decoration: none;
  color: #5a3d2b;
  font-size: 15px;
  font-weight: 500;
  display: block;
  transition: color 0.3s ease;
}

.sidebar-menu a:hover {
  color: #b57f44;
  font-weight: 600;
}



.menu-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-top: -10px;
  color: #c59d5f;
  animation: fadeIn 1s ease-in-out;
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
    margin-left: 270px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  margin-left: 0px;
  margin-right:-45px ; /* to avoid overlapping with sidebar */
}


.card {
  flex: 1 1 calc(25% - 20px);  /* 4 cards per row */
  max-width: calc(25% - 20px);
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  position: relative;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  display: block;
  width: 100%;
  height: 18vw;         /* Adjust as needed */
  object-fit: flex;     /* Ensures cropping without distortion */
  border-bottom: 1px solid #eee;
  transition: transform 0.3s ease;
}
.cakename{
  align-items: center;
}




.card-content {
  padding: 7px 7px 7px;
  text-align: left;
}

.card-content h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.price {
  font-size: 4px;
  margin-bottom: 6px;
  color: #333;
}
.price {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 5px;
}

.price del {
  color: #999;
  margin-right: 5px;
}

.discount {
    font-size: 14px;
  color: #4CAF50;
  font-weight: bold;
}
.delivery{
   font-size: 14px;
  margin-bottom: 14px;
  color: #333;
}

.delivery span {
  color: #4CAF50;
  font-weight: bold;
}
.btn-group {
  display: flex;
  justify-content: center; /* centers the buttons horizontally */
  gap: 10px;
  margin-top: 20px;         /* pushes buttons slightly down */
}
.order-btn,
.cart-btn {
  background-color: #b29065;
  color: white;
  border: none;
  padding: 8px 14px;
  margin: -5px 6px 0;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.order-btn:hover,
.cart-btn:hover {
  background-color: #b08947;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #d6336c;
  color: white;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}


.badge.green {
  background: #388e3c;
}

.footer {
  background-color: #fdf4ef;
  padding: 40px 60px;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.footer-box {
  flex: 1;
}

.footer-box h3 {
  color: #a95428;
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-box p {
  font-size: 14px;
  color: #777;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  flex-wrap: wrap;
}

.footer-contact {
  max-width: 300px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 15px;
}

.footer-contact p {
  font-size: 14px;
  margin: 10px 0;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #a95428;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #a95428;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-size: 14px;
  color: #777;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.fssai-logo {
  height: 30px;
}

.fa {
  font-size: 18px;
  color: #a95428;
}

.fa:hover {
  color: #000;
}


.footer {
  margin-left: 267px;
  text-align: center;
  padding: 20px;
  background-color: #fae8dc;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: #5c4d3f;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* LOGIN / SIGNUP POPUP */
.auth-popup {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  height: 100%;
  background: #fff6ee;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: right 0.4s ease;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}


.auth-popup.active {
  right: 0;
}
.auth-container {
  color: #b57f44;
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-container h2 {
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

.auth-container input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  font-size: 16px;
  box-sizing: border-box;
}

.auth-action-btn {
  display: block; /* THIS is important */
  width: 100%;
  margin-top: 16px;
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
}

.auth-action-btn:hover {
  background-color: #e85c50;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.switch-auth {
  text-align: center;
  font-size: 14px;
}

.switch-auth span {
  color: #ff6f61;
  cursor: pointer;
  font-weight: bold;
}
.logo2{
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  color: #b57f44;
  font-weight: bold;
  margin-top:-240px;
  margin-bottom: 20px;
}

.profile-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.profile-wrapper:hover .profile-dropdown {
  display: block;
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: 45px;
  right: 0;
  background-color: #fff;
  color: #000;
  border-radius: 12px;
  padding: 15px;
  width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 999;
  text-align: center;
}

.profile-dropdown .dropdown-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.profile-dropdown .dropdown-name {
  font-weight: bold;
  margin-bottom: 10px;
}

.dropdown-links a {
  display: flex;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  border-top: 1px solid #eee;
}

.dropdown-links a:hover {
  color: #d23f57;
}

.custom-footer {
  background-color: #fff6f1;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  border-top: 2px solid #f5e2d6;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section {
  margin-left: 195px;
  flex: 1 1 200px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #aa5a2e;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #444;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #aa5a2e;
}

.social-links img {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

.footer-bottom {
  margin-left: 688px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e0cfc2;
  font-size: 14px;
  color: #888;
}

