body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding-bottom: 80px;
  background: #f5f5f5;
}
h1, h2 {
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}
.product, .offer, .category {
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  text-align: center;
}
.product img, .offer img, .category img {
  max-width: 100%;
  height: 100px;
  object-fit: cover;
}
.page {
  display: none;
  padding: 10px;
}
.page.active {
  display: block;
}
button {
  background: #0077cc;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
#tabs {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0077cc;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 1000;
}
#tabs button {
  background: none;
  color: white;
  font-size: 16px;
}
#splash-screen {
  position: fixed;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#splash-logo {
  width: 50%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}
.loading-dots span {
  font-size: 30px;
  animation: blink 1s infinite;
}
.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
#mini-logo {
  position: fixed;
  top: 5px;
  left: 5px;
  width: 60px;
  height: 60px;
  display: none;
  z-index: 999;
}
#mini-logo img {
  width: 100%;
}
#facebook-icon {
  position: fixed;
  top: 5px;
  left: 70px;
  width: 40px;
  height: 40px;
  z-index: 999;
}
#facebook-icon img {
  width: 100%;
}
#cart-badge {
  background: red;
  border-radius: 50%;
  padding: 2px 6px;
}
.old-price {
  color: red;
  text-decoration: line-through;
}
textarea, input {
  width: 95%;
  padding: 10px;
  margin: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
