:root{
  --bg: #0b1220;
  --bg-2: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --brand: #2dd4bf;
  --brand-2: #22c55e;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.03);
  --table-head: rgba(45, 212, 191, 0.14);
  --border: rgba(148, 163, 184, 0.22);
  --shadow: 0 12px 30px rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }

html, body{
  min-height: 100%;
}

body{
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(1200px 600px at 18% 12%, rgba(45, 212, 191, 0.18), transparent 60%),
              radial-gradient(900px 520px at 88% 22%, rgba(34, 197, 94, 0.14), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg-2));
  margin: 0;
  color: var(--text);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.site-header{
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 18px 16px;
}

.brand{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-logo{
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: rgba(255,255,255,0.10);
}

.brand-title{ font-size: 1.6rem; font-weight: 800; line-height: 1.1; letter-spacing: 0.2px; }
.brand-subtitle{ color: var(--muted); margin-top: 2px; }

.container{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px 16px;

  width: 100%;
  flex: 1 1 auto;
  overflow: visible;
}

@media (max-width: 900px){
  .container{ grid-template-columns: 1fr; }
}

.food-menu{
  background: var(--panel);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.food-menu h2{
  text-align: center;
  color: var(--brand);
  margin: 6px 0 16px;
}

.menu-strip{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 6px 4px 4px;

  list-style: none;
  margin: 0;
}

@media (min-width: 1100px){
  .menu-strip{ grid-template-columns: repeat(5, 1fr); }
}

.menu-card{
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.30);
  display: flex;
  flex-direction: column;
}

.menu-card:hover{
  border-color: rgba(45, 212, 191, 0.45);
}

.menu-img{
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
  background: rgba(255,255,255,0.06);
}

.menu-info{
  padding: 10px 10px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.menu-name{
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 0.98rem;
  line-height: 1.18;
  color: var(--text);

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-price{
  flex: 0 0 auto;
  margin-top: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: rgba(15, 23, 42, 0.78);
  white-space: nowrap;
}

@media (max-width: 520px){
  .menu-strip{ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .menu-img{ height: 96px; }
}

.menu-table{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.menu-table th, .menu-table td{
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.menu-table th{
  background: var(--table-head);
  color: #c7f9f2;
  font-weight: 700;
}

.menu-table tr:nth-child(even){ background: var(--panel-2); }
.menu-table tr:hover{ background: rgba(45, 212, 191, 0.08); }

.item-cell{
  display: flex;
  gap: 10px;
  align-items: center;
}

.item-img{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
}

.chat-frame{
  width: 100%;
  height: 430px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}

.chat-widget{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
}

.chat-toggle{
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}

.chat-toggle:focus-visible{
  outline: 3px solid rgba(45, 212, 191, 0.55);
  outline-offset: 3px;
}

.chat-toggle-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
}

.chat-panel{
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 360px;
  max-width: calc(100vw - 36px);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.chat-widget[data-open="true"] .chat-panel{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-panel-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.chat-panel-title{
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #c7f9f2;
}

.chat-close{
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 700;
}

.chat-close:hover{
  background: rgba(45, 212, 191, 0.10);
}

@media (max-width: 520px){
  .chat-panel{ width: 320px; }
}

.site-footer{
  text-align: center;
  padding: 14px 0;
  background: rgba(15, 23, 42, 0.72);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  margin-top: 0;
}
