/* GLOBAL */
body {
  background: #ffffff;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* HEADER */
.main-header {
  background: linear-gradient(to right, #ffffff, #f6f9ff);
  padding: 14px 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none !important;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
}

/* TOP NAV BUTTONS (3D) */
.top-nav a {
  margin-left: 14px;
  padding: 6px 14px;
  background: linear-gradient(to bottom, #ffffff, #eaeef9);
  border-radius: 10px;
  border: 1px solid #d5d9e2;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: 0.2s ease;
}

.top-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background: linear-gradient(to bottom, #f6f9ff, #e6ebff);
}

/* CATEGORY BAR (button version) */
.category-bar {
  display: flex;
  overflow-x: auto;
  padding: 10px 20px;
  gap: 12px;
  background: #f8fafc;
  border: none !important;
  box-shadow: none !important;
  scrollbar-width: none !important;
}

.category-bar::-webkit-scrollbar {
  height: 0;
}

/* Category Buttons */
.category-bar button {
  padding: 8px 16px;
  background: linear-gradient(to bottom, #ffffff, #eef0f6);
  border-radius: 10px;
  border: 1px solid #d5d9e1;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.category-bar button:hover {
  background: #e6ebff;
  color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.category-bar button:active {
  transform: scale(0.97);
}


/* HERO */
.hero-banner {
  height: 360px;
  background: radial-gradient(circle at top, #2563eb, #1d4ed8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

/* PRODUCT + CATEGORY SECTIONS */
.section {
  padding: 40px 20px;
}
.section h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.cat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}
.cat-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
}
.product-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  background: #ffffff;
}
.product-card img {
  width: 100%;
  border-radius: 10px;
}
.price {
  margin-top: 6px;
  font-weight: 700;
}
.offer {
  color: #dc2626;
  font-size: 0.85rem;
}

/* OFFER BANNER */
.offer-banner img {
  width: 100%;
  margin: 35px 0;
  border-radius: 12px;
}

/* CUSTOM GRID */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.custom-card img {
  width: 100%;
  border-radius: 12px;
}

/* FOOTER */
.footer {
  background: #1e293b;
  color: white;
  padding: 20px;
  text-align: center;
}
