
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6fa;
  color: #2d3436;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  padding: 30px 0;
}

.header h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.btn-demo {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}

.shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.shop-card {
  display: block;
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.shop-card:hover {
  transform: translateY(-2px);
}

.shop-emoji {
  font-size: 3em;
  margin-bottom: 10px;
}

.shop-name {
  font-size: 1.2em;
  font-weight: 600;
}

.shop-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 2px solid #dfe6e9;
  margin-bottom: 20px;
}

.shop-header .shop-emoji {
  font-size: 2.5em;
  margin: 0;
}
.lang-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.lang-bar select {
  padding: 6px 12px;
  border-radius: 20px;
  border: 2px solid #e17055;
  background: white;
  font-size: 0.95em;
  cursor: pointer;
  font-weight: 600;
}

.shop-info h1 {
  font-size: 1.8em;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.menu-item {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-image {
  text-align: center;
  margin-bottom: 10px;
}
.item-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.item-emoji {
  font-size: 2em;
  text-align: center;
  margin-bottom: 10px;
}

.item-name {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 4px;
}
.item-sub {
  font-size: 0.85em;
  color: #636e72;
  margin-bottom: 4px;
}

.item-price {
  color: #e17055;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 10px;
}

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

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #f5f6fa;
}

.qty-num {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.shop-card-wrapper { text-align: center; }
.shop-links { margin-top: 8px; }
.shop-links a { color: #636e72; text-decoration: none; margin: 0 8px; font-size: 0.85em; }
.shop-links a:hover { color: #e17055; }

.qr-section {
  margin-top: 12px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.shop-qr {
  width: 80px;
  height: 80px;
  border-radius: 4px;
}
.qr-label {
  font-size: 0.75em;
  color: #636e72;
}

.qr-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.qr-banner img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: white;
  padding: 5px;
}
.qr-banner-right { flex: 1; }
.qr-title { font-weight: 700; font-size: 1.1em; margin-bottom: 4px; }
.qr-desc { font-size: 0.9em; opacity: 0.9; margin-bottom: 8px; }
.qr-shop-url { font-size: 0.85em; background: rgba(255,255,255,0.2); padding: 5px 10px; border-radius: 20px; display: inline-block; }
.qr-shop-url a { color: white; }

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #e17055;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.bottom-bar.disabled {
  background: #b2bec3;
  cursor: not-allowed;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.flex {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-primary {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #e17055;
  color: white;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  cursor: pointer;
}
  