.hide{
    display: none !important;
}

.navbar {
    box-shadow: 0 15px 40px -20px rgb(40 44 63 / 15%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: px;
    background: #0b0b0b;
    z-index: 1000;
}

.navbar .nav {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    height: 115px;
    background: #120f0f;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .left {
    display: flex;
    align-items: center;
}

.navbar .left .logo {
    display: block;
    height: 100px;
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    margin-right: 16px;
}

.navbar .left .logo:hover {
    /*transform: scale(1.1);*/
}

.navbar .location-div {
    display: flex;
    align-items: center;
    margin-left: 10px;
    max-width: 300px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
}

.navbar .location-div .other {
    font-weight: 700;
    color: #ffc107;;
    padding-bottom: 2px;
    border-bottom: 2px solid #f6ea06;
}

.navbar .location-div .other:hover {
    color: #e04618;
    border-bottom: 2px solid  #ffc107;;
}

.navbar .location-div .location {
    font-weight: 300;
    padding-left: 5px;
    margin-left: 5px;
    color:  #ffc107;;
}

.navbar .location-div .arrow-down {
    position: relative;
    font-size: 1rem;
    color: #ed3325;
    font-weight: 700;
    margin-left: 5px;
}

.right .items {
    display: flex;
    align-items: center;
}

.right .items li {
    margin-right: 36px;
    color: #ffc107;
    font-size: 14px;
    font-weight: 600;
    list-style-type: none;
}

.right .items .nav-item {
    display: flex;
    align-items: center;
    padding-left: 28px;
    position: relative;
    height: 80px;
    cursor: pointer;
}

.right .items .nav-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffc107;
    font-size: 15px;
}

.nav-item a:hover {
    color: #e04718;
    font-weight: 700;
}

.nav-item a span {
    padding-left: 11px;
}

.right .items li:last-child a svg {
    color: #60b246;
}

.hamburger {
    display: none;
    background: none;
    font-size: 24px;
    color: #3d4152;
}

/* === Cart Hover Popup === */
.cart-item {
  position: relative;
}

/* === Enhanced Cart Hover Popup === */
.cart-popup {
  position: absolute;
  top: 80px;
  right: -22px;
  width: 360px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 18px 20px 22px;
  display: none;
  z-index: 9999;
  animation: fadeInUp 0.25s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 240, 240, 0.9);
  border-top: 3px solid goldenrod;
}

/* === Cart Popup Arrow === */
.cart-popup::before {
  content: "";
  position: absolute;
  top: -10px; 
  right: 38px; 
  width: 2px;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid goldenrod; 
}

.cart-popup::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 40px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff; 
}


.cart-item:hover .cart-popup {
  display: block;
}

/* Subtle fade-up effect */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Header Section --- */
.cart-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-header img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cart-restaurant h4 {
  font-size: 15px;
  color: #2e2e2e;
  font-weight: 700;
  margin: 0;
}

.cart-restaurant p {
  font-size: 12px;
  color: #808080;
  margin: 2px 0;
}

.cart-restaurant p:last-child {
  color: goldenrod;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
}


/* --- Item Section --- */
.cart-popup hr {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 14px 0;
}

.cart-popup .dotted {
  border-top: 1px dashed #d0d0d0;
}

.cart-item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #3d3d3d;
}

.cart-item-details .item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.cart-item-details .item-price {
  font-weight: 600;
  color: #2e2e2e;
}

/* --- Veg Icon --- */
.veg-icon {
  width: 16px;
  height: 16px;
  border: 1.5px solid #2ecc71;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  bottom: 8px;
  margin-top: 10px;
}

.veg-icon::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}

/* --- Subtotal --- */
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #333;
  margin-top: 10px;
  font-size: 15px;
}

.extra-note {
  font-size: 11px;
  color: #8a8a8a;
  margin-top: 4px;
  margin-bottom: 12px;
}

/* --- Checkout Button --- */
.checkout-btn {
  /*background: linear-gradient(135deg, #ff7300, #ff5200);*/
  background-color: goldenrod;
  color: #fff;
  width: 100%;
  border: none;
  padding: 11px 0;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 82, 0, 0.3);
}

.checkout-btn:hover {
  /*background: linear-gradient(135deg, #ff8c1a, #ff6600);*/
  background: linear-gradient(135deg, #ff8c1a, #ffc107);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 82, 0, 0.4);
}

/* Hide Cart Hover Popup on Mobile and Tablet */
@media (max-width: 1024px) {
  .cart-item:hover .cart-popup {
    display: none !important;
  }

  /* Optional: prevent pointer events or accidental hover flashes */
  .cart-popup {
    display: none !important;
    visibility: hidden;
    opacity: 0;
  }
}

/* === Rotating Logo Setup === */
.logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.logo {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/outer_logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    animation: rotate360 15s linear infinite;
    z-index: -1;
    opacity: 2.8;
}

/* Rotate animation */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* === Mobile Menu Toggle === */
@media (max-width: 1024px) {
  .right .items {
    display: none;
    position: absolute;
    top: 115px; /* below header */
    right: 0;
    width: 100%;
    background: #0b0b0b;
    flex-direction: column;
    text-align: right;
    padding: 15px 25px;
  }

  .right .items.menu-active {
    display: flex;
  }

  .right .items li {
    margin: 12px 0;
  }

  .hamburger {
    display: block;
    color: #ffc107;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }
}
