:root {
  --tafadhal-green: #0A642B;
}
body {
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.main-container {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  padding-bottom: 80px;
}
.bg-tafadhal { background-color: var(--tafadhal-green) !important; }
.text-tafadhal { color: var(--tafadhal-green) !important; }
.btn-tafadhal {
  font-size: 12px;
  color: white;
  border: none;
  width: 70px;
  position: absolute;
  bottom: 10px;
}

/* Sticky Search Header */
.search-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: white;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}
.search-input {
  background-color: #f0f2f5;
  border: 1px solid #e4e6eb;
  border-radius: 50px;
  padding: 8px 15px;
}

/* Horizontal Scroll for Cards */
.scrolling-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 15px;
  gap: 15px;
}

/* Vertical Scroll for Cards */
.vert-scrolling-wrapper {
  max-height: 500px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 15px;
  gap: 15px;
}
/* .scrolling-wrapper::-webkit-scrollbar { display: none; } */
.card-tafadhal {
  flex: 0 0 auto;
  width: 260px;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.card-tafadhal-full {
  width: 100%;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

/* Category Grid Customization */
.cat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 5px;
  font-size: 1.2rem;
}
.cat-text { font-size: 11px; font-weight: 500; color: #444; }

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: white;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 1030;
}
.nav-item {
  text-align: center;
  color: #999;
  text-decoration: none;
  font-size: 10px;
}
.nav-item.active { color: var(--tafadhal-green); }
.nav-item i { font-size: 18px; display: block; margin-bottom: 2px; }

.btn-plus-center {
  background: var(--tafadhal-green);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-top: -30px;
  border: 4px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
