/* ================= GLOBAL ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #ff4d1a, #b32400);
}

/* ================= LOGO ================= */

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  gap: 12px;
}

.logo {
  height: 180px;
  object-fit: contain;
}

.lang-wrapper {
  display: flex;
  gap: 10px;
}

.lang-btn {
  background: white;
  color: #ff3c00;
  border: 2px solid #ff3c00;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.lang-btn:hover {
  background: #ff3c00;
  color: white;
}

/* ================= MENU GRID ================= */

#menu-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding: 30px;
  margin-right: 320px; /* space for desktop cart */
}

/* ================= PRODUCT CARD ================= */

.product-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(255, 60, 0, 0.15);
  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* ================= BUTTONS ================= */

button {
  background: linear-gradient(45deg, #ff3c00, #ff6a00);
  color: white;
  font-weight: 600;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  transform: scale(1.05);
}

/* ================= SELECT + INPUT ================= */

select,
input {
  width: 100%;
  padding: 8px;
  margin: 6px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* ================= CART (DESKTOP) ================= */

.cart {
  position: fixed;
  right: 0;
  top: 0;
  width: 320px;
  height: 100vh;
  background: linear-gradient(to bottom, #fff5f0, #ffe6db);
  padding: 20px;
  overflow-y: auto;
  border-left: 4px solid #ff3c00;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.cart h2 {
  margin-top: 0;
}

.cart-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.cart-controls {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.cart-controls button {
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 6px;
  background: #ff3c00;
}

.cart-controls button:hover {
  background: #ff6a00;
}

#deliveryNote {
  color: #ff3c00;
  font-weight: 500;
  margin-top: 5px;
}

/* ================= CHECKOUT ================= */

.checkout-section {
  padding: 15px;
  background: #fff4ef;
  border-radius: 12px;
  margin-top: 20px;
}

.order-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
}

.order-btn:hover {
  background: #00a844;
}

/* ================= FLOATING CART BUTTON ================= */

#floatingCartBtn {
  display: none;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  #menu-container {
    grid-template-columns: repeat(2, 1fr);
    margin-right: 0;
    padding: 15px;
    gap: 15px;
  }

  .product-card {
    padding: 15px;
  }

  .product-img {
    height: 200px;
  }

  /* Hide cart off screen */
  .cart {
    position: fixed;
    right: -100%;
    top: 0;
    width: 85%;
    height: 100%;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .cart.active {
    right: 0;
  }

  /* Show floating cart button */
  #floatingCartBtn {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff3c00, #ff6a00);
    color: white;
    padding: 15px 18px;
    border-radius: 50px;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1100;
  }

  #cartCount {
    background: white;
    color: #ff3c00;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 14px;
    margin-left: 5px;
  }

}
