
 body {
  font-family: Arial;
  background: #f5f6fa;
  padding: 16px;
}

/* 🔍 Search Bar */
.topbar {
  margin-bottom: 15px;
}

.topbar input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* ===== TABS CONTAINER ===== */

.tabs {
  display: inline-flex;
  gap: 6px;

  background: white;
  padding: 6px 16px; /* ✅ spacing moved here */
  margin: 0;

  border: none; /* cleaner */
}
/* ===== TAB BUTTON ===== */

.tab {
  border: none;
  outline: none;

  padding: 8px 16px;
  border-radius: 10px;

  background: transparent;
  color: #6b7280;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* HOVER */
.tab:hover {
  background: rgba(79, 124, 255, 0.08);
  color: #4f7cff;
}

/* ACTIVE TAB */
.tab.active {
  background: #4f7cff;
  color: white;

  box-shadow: 0 2px 6px rgba(79, 124, 255, 0.3);
}

.tabs-wrapper {
  width: 100%;
  display: flex;              /* 🔥 important */
  justify-content: flex-start;

  background: white;
  border-bottom: 1px solid #e5e7eb;

  padding: 1px 10px;
}

/* 📦 Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* 🧾 Card */
.card {
  background: white;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card-icon {
  width: 60px;
  height: 60px;

  border-radius: 14px;
  overflow: hidden;   /* 🔥 prevents overflow */

  margin-bottom: 10px;
}

/* IMAGE INSIDE */
.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 important */
  border-radius: 10px;
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.card h4 {
  margin: 8px 0 4px;
  font-size: 15px;
}

.card p {
  font-size: 12px;
  color: #666;
}

/* 💰 Price */
.price {
  margin-top: 6px;
  font-weight: bold;
  color: #16a34a;
}

/* ===== NAVBAR ===== */

/* ===== NAVBAR ===== */
body {
  margin: 0;
  padding-top: 70px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 24px;

  background: linear-gradient(135deg, #4f7cff, #3a63e0);
  color: white;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* LEFT */
.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 18px;
  font-weight: 700;
}

/* CENTER SEARCH */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* SEARCH INPUT */
.nav-center input {
  width: 50%;
  max-width: 500px;

  padding: 8px 14px;
  border-radius: 20px;

  border: none;
  outline: none;

  font-size: 14px;

  background: rgba(255, 255, 255, 0.15);
  color: white;

  backdrop-filter: blur(6px);
}

/* placeholder color */
.nav-center input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
/* ===== SPLIT BUSINESS CARD ===== */

/* ===== PREMIUM BUSINESS CARD ===== */

.business-container {
  padding: 24px 18px;
}

/* MAIN CARD */
.business-card-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 26px 28px;
  border-radius: 20px;

  /* 🔥 gradient background */
  background: linear-gradient(135deg, #eef2ff, #ffffff);

  /* glass feel */
  backdrop-filter: blur(10px);

  border: 1px solid rgba(79, 124, 255, 0.15);

  box-shadow: 
    0 10px 30px rgba(79, 124, 255, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* LEFT */
.business-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* NAME */
.business-name {
  font-size: 26px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.3px;
}

/* INFO */
.business-info {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #475569;
}

.business-info span {
  font-weight: 600;
  color: #64748b;
  margin-right: 6px;
}

/* ADDRESS */
.business-address {
  font-size: 13px;
  color: #94a3b8;
}

/* RIGHT */
.business-right {
  display: flex;
  align-items: center;
}

/* BADGE */
.premium-badge {
  background: linear-gradient(135deg, #4f7cff, #3a63e0);
  color: white;

  padding: 10px 16px;
  border-radius: 25px;

  font-size: 13px;
  font-weight: 600;

  box-shadow: 0 6px 18px rgba(79, 124, 255, 0.35);
}

/* NAV LEFT CLICKABLE */
.nav-left {
  cursor: pointer;
}

/* LOGO CONTAINER */
.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* HOME ICON */
.home-icon {
  width: 22px;
  height: 22px;
  color: white;
}

/* TEXT */
.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.nav-left {
  text-decoration: none;
  cursor: pointer;
}

/* 📱 MOBILE FIX - INVENTORY */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 10px;
  }

  .nav-center input {
    width: 100%;
    font-size: 14px;
  }

  /* BUSINESS CARD */
  .business-card-premium {
    flex-direction: column;
    padding: 15px;
  }

  .business-name {
    font-size: 20px;
  }

  /* TABS */
  .tabs {
    overflow-x: auto;
    gap: 10px;
  }

  .tab {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  /* GRID → SINGLE COLUMN */
  .grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* CARDS */
  .card {
    padding: 10px;
  }

  .card img {
    height: 150px;
    object-fit: cover;
  }

  .card-title {
    font-size: 14px;
  }

  .card-price {
    font-size: 13px;
  }

  /* SECTION HEADERS */
  h3 {
    font-size: 16px;
  }

}