:root {
  --gold: #f5c542;
  --gold-soft: rgba(245, 197, 66, 0.15);
  --bg-dark: #0f0f0f;
  --card-dark: rgba(255,255,255,0.06);
  --border-soft: rgba(255,255,255,0.08);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(
    -45deg,
    #0f0f0f,
    #1a1a1a,
    #2b1d05,
    #000000
  );
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  color: #fff;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



header {
  background: linear-gradient(135deg, #f5c542, #d4a017);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 22px;
}

header h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

header p {
  opacity: 0.85;
  font-size: 14px;
}


.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.item {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

.item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.item button {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  background: #c89b3c;
  border: none;
  cursor: pointer;
}

.cart-btn {
  text-align: center;
  padding: 20px;
}

.cart {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
}

.hidden {
  display: none;
}

.cart button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #c89b3c;
  border: none;
}
/* Animated luxury background */


@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



@keyframes float {
  from { transform: translateY(0px); }
  to { transform: translateY(-80px); }
}
.menu-item {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 12px;
  margin: 12px;
  animation: fadeSlide 0.5s ease forwards;
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: scale(1.04);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-item img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.menu-item img:hover {
  transform: scale(1.08);
}
button {
  background: gold;
  color: black;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  box-shadow: 0 0 20px gold;
  transform: scale(1.05);
}
.category-btn.active {
  background: gold;
  color: black;
  box-shadow: 0 8px 25px rgba(255,215,0,0.5);
}
.checkout-note {
  margin-top: 12px;
  padding: 10px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px dashed #d4af37;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}
.particles,
.bg-particles {
  pointer-events: none;
  z-index: -1;
}


/* ===== FLOATING BACKGROUND (NON-CLICKABLE) ===== */

/* ===== CATEGORY BUTTONS (MOBILE SAFE) ===== */
.categories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.categories::-webkit-scrollbar {
  display: none;
}

.categories button {
  flex-shrink: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--card-dark);
  border: 1px solid var(--border-soft);
  color: white;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.categories button.active {
  background: var(--gold);
  color: black;
  font-weight: 600;
}

/* ===== MENU GRID ===== */
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.item {
  background: var(--card-dark);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.item img {
  height: 140px;
  border-radius: 14px;
  margin-bottom: 8px;
}


/* ===== CART ===== */
.cart {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  z-index: 999; /* 🔥 above everything */
}

.hidden {
  display: none;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .menu {
    grid-template-columns: 1fr;
  }
}
.particles,
.bg-particles {
  pointer-events: none;
}
.address-box {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.address-box input,
.address-box textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
}

.address-box textarea {
  resize: none;
  height: 70px;
}
/* Cart spacing & polish */
.cart {
  background: rgba(0,0,0,0.9);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}


/* Space between input boxes */
.cart-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Inputs */
.cart-form input,
.cart-form textarea {
  margin: 0;
}

/* Checkout note spacing */
.checkout-note {
  margin-top: 8px;
  margin-bottom: 12px;
}

/* Buttons spacing */
.cart-actions {
  margin-top: 10px;
}

/* Button height consistency */
.cart-actions button {
  height: 48px;
}

/* Fix mobile alignment */
@media (max-width: 768px) {
  header h1 {
    font-size: 28px;
  }

  .menu {
    grid-template-columns: 1fr;
  }
}

.app {
  max-width: 1200px;
  margin: auto;
  padding: 16px;
}
.qty {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.qty button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 18px;
}

.qty span {
  min-width: 24px;
  text-align: center;
}
/* ===== HERO SECTION V2 ===== */

.hero {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #d4af37,
    #b8962e,
    #8a6b2f
  );
  padding: 20px;
}

.hero-glass {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 36px;
  letter-spacing: 3px;
  margin: 0;
  color: #fff;
}

.tagline {
  margin-top: 6px;
  font-size: 15px;
  opacity: 0.9;
}

.hero-btn {
  margin-top: 20px;
  padding: 14px 26px;
  font-size: 16px;
  border-radius: 14px;
  background: gold;
  color: black;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px gold;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.85;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-glass {
    padding: 24px 18px;
  }
}
#floating-cart {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 420px;
  background: #f5c542;
  color: #000;
  padding: 14px 18px;
  border-radius: 14px;
  display: none !important;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 99999;
  cursor: pointer;
  gap: 10px;
}

#floating-cart.visible {
  display: flex !important;
}

#floating-cart #cart-summary {
  flex: 1;
  font-size: 15px;
}

#floating-cart .view-text {
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  #floating-cart {
    width: 85%;
    padding: 12px 14px;
    bottom: 12px;
  }
  
  #floating-cart #cart-summary {
    font-size: 13px;
  }
}
