:root {
  --primary: #00843d;
  --secondary: #ffb612;
}

body {
  margin-top: 7rem;
  overflow-x: hidden;
}

.hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}

.sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 56px;
  left: 0;
  background: #212529;
  padding-top: 20px;
  z-index: 999;
}

.sidebar a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}

.sidebar a:hover {
  background: #198754;
}

/* =======================
   MAIN CONTENT
======================= */
.main {
  margin-left: 250px;
  padding: 100px;
}

/* =======================
   MOBILE FIX (834px RULE)
======================= */
@media (max-width: 834px) {

  nav.navbar.navbar-dark.bg-dark.d-md-none a {
    text-decoration: unset;
    color: #fff;
}

  .sidebar {
    display: none !important; /* hide sidebar */
  }

  .main {
    margin-left: 0 !important;
    padding: 20px;
  }
  body {
    margin-top: 0;
}
div#sellerMenu {
    background-color: #212529;
    color: #fff;
}

.offcanvas-body a {
    color: #fff;
    text-decoration: unset;
    padding: 16px 0;
}

.offcanvas-header {
    padding: 2rem 1rem 0;
}

h5.offcanvas-title {
    text-transform: capitalize;
}
.offcanvas-header .btn-close {
    background-color: #fff;
    opacity: unset;
    margin-right: 0px;
}
}

/* =======================
   CARDS
======================= */
.category-card {
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 10px;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card {
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* =======================
   PAGINATION
======================= */
.page-link {
  color: #00843d;
}

.page-item.active .page-link {
  background: #00843d;
  border-color: #00843d;
}

.thumb-img {
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.thumb-img:hover {
  border-color: #00843d;
}

.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 60px 0;
}


.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

