/* ===============================
   MegaMart.pk Custom Styles
   =============================== */

/* General */
body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}

/* Header */
header {
  background: linear-gradient(90deg, #059669, #10b981);
}
header input {
  border: 1px solid #d1d5db;
}
header input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(16,185,129,0.4);
}

/* Category Sidebar */
aside ul li a {
  display: block;
  padding: 6px 0;
  transition: color 0.2s;
}
aside ul li a:hover {
  font-weight: 600;
  color: #059669;
}

/* Product Cards */
.product-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.product-card img {
  transition: transform 0.3s ease-in-out;
}
.product-card img:hover {
  transform: scale(1.05);
}

/* Product Name */
.product-card h3 {
  font-size: 0.95rem;
  line-height: 1.3;
  min-height: 40px;
}

/* Price Styling */
.product-card p {
  font-size: 1rem;
}
.product-card p span {
  margin-left: 6px;
  font-size: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-block;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-green {
  background: #059669;
  color: #fff;
}
.btn-green:hover {
  background: #047857;
}
.btn-outline {
  border: 1px solid #059669;
  color: #059669;
  background: transparent;
}
.btn-outline:hover {
  background: #059669;
  color: #fff;
}

/* Hero Banners */
.hero-banner img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  max-height: 400px;
}

/* Promo Section */
.promo-banner img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #047857, #059669);
}
footer a:hover {
  text-decoration: underline;
}
footer p, footer li {
  color: #d1d5db;
}

/* Utilities */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
