body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #f5f5f5;
  margin: 0;
  padding: 0;
}

/* Grid elrendezés */
.week-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Napi doboz */
.day-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 0.5rem;
}

.menu-option {
  margin-top: 1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #444;
}

select {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fafafa;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

select:focus {
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
  outline: none;
}

/* Header */
header {
  background-color: #1e1e1e;
  padding: 1rem;
  text-align: center;
  border-bottom: 2px solid #cda434;
  margin-bottom: 50px;
}

header h1 {
  font-family: 'Playfair Display', serif;
  color: #cda434;
  font-size: 2.5rem;
  margin: 0;
}

/* Vissza gomb */
.back-btn {
  background: #d62828;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  margin: 20px;
  width: 120px;
  height: 120px;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
  background: #a11;
  transform: scale(1.05);
}

@media (min-width: 1200px) {
  .week-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* közepes kijelzőn – 2 oszlop */
@media (min-width: 768px) and (max-width: 1199px) {
  .week-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobil – 1 oszlop */
@media (max-width: 767px) {
  .week-menu-grid {
    grid-template-columns: 1fr;
  }
}


.menu-box {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.menu-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.menu-actions select {
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #999;
}

.cart-btn {
  background-color: #006400;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.cart-btn:hover {
  background-color: #008000;
}

.day-box {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.day-box h2 {
  margin-bottom: 20px;
  color: #006400;
  text-align: center;
}

/* Rács a menüknek */
.day-box .menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 oszlop */
  gap: 20px; /* távolság a boxok között */
}

.menu-item {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  background: #f9f9f9;
  color: #222;
}

.menu-item h3 {
  color: #444;
  margin-bottom: 8px;
} 

.menu-option {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  background: #f9f9f9;
  color: #222
}


/*bevasarlokocsi*/
#cart-modal h2 { margin-top:0; }
#cart-modal .cart-item { margin:10px 0; }
#cart-modal button {
  margin-left:5px;
  background:#d62828;
  color:#fff;
  border:none;
  padding:4px 8px;
  border-radius:5px;
  cursor:pointer;
}
#cart-modal button:hover { background:#a71d2a; }

#cart-icon{
  position:fixed; top:18px; right:18px; font-size:22px; line-height:1;
  background:#fff; border-radius:999px; padding:10px 14px; box-shadow:0 8px 24px rgba(0,0,0,.12);
  cursor:pointer; z-index:1100; user-select:none;
}
#cart-icon #cart-count{ font-weight:700; margin-left:6px;}

/* --- Cart overlay & panel --- */
#cart-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:1098;
}
#cart-panel{
  position:fixed; top:0; right:0; height:100vh; width:min(420px, 92vw);
  background:#fff; box-shadow:-8px 0 30px rgba(0,0,0,.2); z-index:1099;
  display:flex; flex-direction:column; transform:translateX(0);
  border-top-left-radius:16px; border-bottom-left-radius:16px;
  padding:16px;
}

.cart-link{ margin-left:auto; display:inline-flex; align-items:center; gap:.35rem; text-decoration:none; font-weight:600; padding:.4rem .7rem; border-radius:999px; background:#fff; box-shadow:0 6px 18px rgba(0,0,0,.08);}
.cart-link #cart-count{ font-weight:700;}

#cart-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:1098;
}

#cart-panel.hidden, #cart-overlay.hidden{ display:none; }
.cart-header{ display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #eee; padding-bottom:8px; margin-bottom:12px;}
#cart-close{ background:transparent; border:none; font-size:28px; cursor:pointer; line-height:1;}
#cart-items{ flex:1; overflow:auto; padding-right:6px; }
.cart-item{ display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid #f1f1f1;}
.cart-item-name{ font-weight:600;}
.cart-qty{ display:flex; gap:6px; align-items:center;}
.cart-qty button{ background:var(--brand); color:#fff; border:none; border-radius:8px; padding:4px 8px; cursor:pointer;}
.cart-qty button:hover{ background:var(--brand-dark);}
.cart-line{ font-weight:600; text-align:right;}

.cart-footer{ border-top:1px solid #eee; padding-top:12px;}
.cart-total{ display:flex; align-items:center; justify-content:space-between; font-size:18px; margin-bottom:12px;}
#checkout-btn{ background:var(--brand); color:#fff; border:none; padding:10px 14px; border-radius:10px; font-weight:600; cursor:pointer; width:100%;}
#checkout-btn:hover{ background:var(--brand-dark);}

/* Buttons used in menu cards */
.add-to-cart{
  background:var(--brand); color:#fff; border:none; padding:8px 12px; border-radius:10px; cursor:pointer; font-weight:600;
}
.add-to-cart:hover{ background:var(--brand-dark);}

.add-to-cart {
  background: #006400;  /* fix zöld */
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.add-to-cart:hover {
  background: #008000; /* világosabb zöld hover */
}


