body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050505;
  color: #eee;
}

a { color: inherit; text-decoration: none; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #000;
  border-bottom: 1px solid #333;
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
  color: #f5c542;
}
.logo span { color: #fff; font-weight: 400; }

.cart-btn {
  padding: 6px 10px;
  border-radius: 999px;
  background: #222;
  border: 1px solid #444;
  font-size: 14px;
}

.content {
  max-width: 900px;
  margin: 16px auto 80px;
  padding: 0 12px;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  background: #000;
  color: #777;
}

.headline {
  text-align: center;
  margin-bottom: 16px;
}

.categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
}
.category-card {
  min-width: 120px;
  border-radius: 12px;
  background: #111;
  padding: 8px;
  text-align: center;
  font-size: 13px;
}
.category-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 4px;
}

.products {
  display: grid;
  gap: 12px;
}
.product-card {
  display: flex;
  gap: 10px;
  background: #111;
  border-radius: 12px;
  padding: 8px;
}
.product-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.product-card .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card p {
  font-size: 13px;
  color: #bbb;
  max-height: 40px;
  overflow: hidden;
}
.product-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price {
  color: #f5c542;
  font-weight: 600;
}

.btn, .btn-primary, .btn-sm {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}
.btn {
  background: #222;
  color: #eee;
}
.btn-primary {
  background: #f5c542;
  color: #000;
  font-weight: 600;
}
.btn-sm {
  padding: 4px 8px;
  font-size: 12px;
  background: #333;
}

table.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cart-table th,
.cart-table td {
  padding: 6px;
  border-bottom: 1px solid #222;
}

.cart-total {
  text-align: right;
  margin-top: 10px;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.field,
.checkout-form label {
  display: block;
  margin-bottom: 8px;
}
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #050505;
  color: #eee;
  margin-top: 3px;
  margin-bottom: 8px;
}

.check {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.check input {
  margin-right: 6px;
}

.mode-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.order-code {
  font-size: 32px;
  font-weight: 700;
  color: #f5c542;
  text-align: center;
  margin: 12px 0;
}

.login-form, .track-form {
  max-width: 360px;
  margin: 0 auto;
}

.cards {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.card {
  flex: 1;
  background: #111;
  padding: 12px;
  border-radius: 12px;
}
.card span {
  font-size: 13px;
  color: #bbb;
}
.card strong {
  font-size: 20px;
  display: block;
  margin-top: 6px;
}

.flash.err {
  background: #7d0000;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.inline {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}