:root{
  --red: #c0202c;
  --red-dark: #a91b26;
  --green-bg: #e6f4ea;
  --green-text: #2f8f4e;
  --orange-bg: #fdeee0;
  --orange-text: #d9791f;
  --price-green: #1f8a3b;
  --text-dark: #1c1c1c;
  --text-gray: #6b6b6b;
  --border-light: #eee;
  --card-radius: 18px;
  --max-width: 620px;
}

*{box-sizing:border-box;}

html{
  background:#141414;
}
body{
  margin:0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background:#141414;
  color:var(--text-dark);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

.page{
  max-width:var(--max-width);
  margin:0 auto;
  background:#f2f1ee;
  min-height:100vh;
  position:relative;
}

/* ---------- Header / Cover ---------- */
.cover{
  position:relative;
  height:210px;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-start;
  padding:22px 20px;
  overflow:hidden;
}
.cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.15) 100%);
  pointer-events:none;
}
.cover-content{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
}
.logo-circle{
  width:56px;
  height:56px;
  border-radius:50%;
  overflow:hidden;
  flex-shrink:0;
  border:2px solid rgba(255,255,255,0.85);
  background:#c0202c;
}
.logo-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.restaurant-name{
  color:#fff;
  font-size:1.5rem;
  font-weight:700;
  text-shadow:0 2px 8px rgba(0,0,0,0.5);
  margin:0;
}
.review-btn{
  position:absolute;
  right:20px;
  bottom:20px;
  z-index:3;
  background:#fff;
  color:#1c1c1c;
  border:none;
  border-radius:30px;
  padding:10px 18px;
  font-size:0.9rem;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
  cursor:pointer;
}
.review-btn .star{ color:#f5a623; }

/* ---------- Info Card ---------- */
.info-card{
  background:#fff;
  margin:-18px 14px 0 14px;
  border-radius:20px;
  padding:20px;
  position:relative;
  z-index:4;
  box-shadow:0 6px 24px rgba(0,0,0,0.06);
}
.info-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 0;
  border-bottom:1px solid var(--border-light);
  font-size:0.95rem;
  color:#333;
}
.info-row:last-of-type{ border-bottom:none; }
.info-row .icon{
  width:20px;
  text-align:center;
  flex-shrink:0;
  color:#555;
  font-size:1.05rem;
}
.info-row.wifi-row{ justify-content:space-between; }
.wifi-left{ display:flex; align-items:center; gap:12px; }
.lang-pill{
  margin-left:auto;
  background:#f2f1ee;
  border-radius:20px;
  padding:6px 12px;
  font-size:0.85rem;
  display:flex;
  align-items:center;
  gap:6px;
  color:#333;
}
.social-icons{
  display:flex;
  gap:12px;
  margin-left:6px;
}
.social-icons a{
  width:26px;height:26px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  text-decoration:none;
  font-size:0.85rem;
  color:#fff;
}
.social-icons a.instagram{ background:radial-gradient(circle at 30% 30%, #f9ce34, #ee2a7b 40%, #6228d7 90%); }
.social-icons a.facebook{ background:#1877f2; }
.social-icons a.whatsapp{ background:#25d366; }
.social-icons a.maps{ background:#4285f4; }

.welcome-row{
  align-items:flex-start;
}
.welcome-row .icon{ font-size:1.2rem; }
.welcome-text{ color:#444; line-height:1.5; font-size:0.93rem; }

/* ---------- Category sections ---------- */
.categories{ padding:26px 14px 10px 14px; }
.category-section{ margin-bottom:8px; }
.category-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  padding:10px 2px 14px 2px;
}
.category-header h2{
  color:var(--red);
  font-size:1.15rem;
  letter-spacing:0.5px;
  margin:0;
  font-weight:800;
  text-transform:uppercase;
}
.category-header .chevron{
  color:var(--red);
  transition:transform 0.25s ease;
  font-size:1rem;
}
.category-section.collapsed .chevron{ transform:rotate(-90deg); }
.category-section.collapsed .products-list{ display:none; }

.products-list{ display:flex; flex-direction:column; gap:14px; margin-bottom:8px; }

.product-card{
  background:#fff;
  border-radius:var(--card-radius);
  display:flex;
  gap:14px;
  padding:14px;
  box-shadow:0 2px 10px rgba(0,0,0,0.04);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.product-card:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,0.08); }
.product-thumb{
  width:100px;
  height:100px;
  flex-shrink:0;
  border-radius:14px;
  overflow:hidden;
  background:#eee;
}
.product-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.product-info{ flex:1; display:flex; flex-direction:column; justify-content:center; min-width:0; }
.product-info h3{ margin:0 0 4px 0; font-size:1.05rem; font-weight:700; color:#1c1c1c; }
.product-desc{ color:var(--text-gray); font-size:0.86rem; margin:0 0 8px 0; line-height:1.35; }
.tag{
  display:inline-block;
  font-size:0.75rem;
  font-weight:600;
  padding:4px 10px;
  border-radius:20px;
  margin-bottom:8px;
  width:fit-content;
}
.tag.green{ background:var(--green-bg); color:var(--green-text); }
.tag.orange{ background:var(--orange-bg); color:var(--orange-text); }
.price{ color:var(--price-green); font-weight:800; font-size:1.05rem; }

/* ---------- Footer ---------- */
.site-footer{
  background:#141414;
  color:#fff;
  text-align:center;
  padding:26px 20px 30px 20px;
  margin-top:30px;
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}
.site-footer .f-name{ font-weight:700; font-size:1.05rem; margin-bottom:6px; }
.site-footer .f-copy{ color:#bbb; font-size:0.85rem; margin-bottom:4px; }
.site-footer .f-credit{ font-size:0.85rem; color:#bbb; }
.f-credit .brand{
  font-weight:700;
  text-decoration:none;
  transition:opacity .15s ease;
}
.f-credit .brand:hover{ opacity:0.8; text-decoration:underline; }
.f-credit .brand .o1{ color:#f5a623; }
.f-credit .brand .o2{ color:#e0463c; }
.f-credit .brand .t{ color:#3fa9f5; }

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding:20px;
}
.modal-overlay.active{ display:flex; }
.modal-box{
  background:#fff;
  width:100%;
  max-width:var(--max-width);
  border-radius:22px;
  overflow:hidden;
  max-height:90vh;
  overflow-y:auto;
  animation:popIn .22s ease;
  margin:auto;
}
@keyframes popIn{ from{ transform:scale(0.94); opacity:0;} to{ transform:scale(1); opacity:1;} }
.modal-image{ position:relative; width:100%; }
.modal-image img{ width:100%; height:320px; object-fit:cover; display:block; }
.modal-close{
  position:absolute;
  top:14px; right:14px;
  width:34px;height:34px;
  border-radius:50%;
  background:rgba(0,0,0,0.5);
  color:#fff;
  border:none;
  font-size:1.1rem;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.modal-body{ padding:22px; }
.modal-title-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:10px; }
.modal-title-row h2{ margin:0; font-size:1.3rem; }
.modal-title-row .price{ font-size:1.2rem; white-space:nowrap; }
.modal-desc{ color:var(--text-gray); font-size:0.95rem; line-height:1.5; margin-bottom:14px; }
.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #f0c9c9;
  color:var(--red);
  background:#fff5f5;
  padding:7px 14px;
  border-radius:20px;
  font-size:0.85rem;
  font-weight:600;
}

@media (max-width:400px){
  .restaurant-name{ font-size:1.25rem; }
  .review-btn{ padding:8px 14px; font-size:0.8rem; }
}
