* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Instrument Sans", sans-serif; */
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
body {
  background: #ffffff;
}

/* ===== Topbar ===== */
.topbar {
  background: #000;
  color: #fff;
  font-size: 14px;
  padding: 5px 0;
}

/* ===== Header ===== */
header {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

header .search-bar input {
  border-radius: 30px 0 0 30px;
  border: 1px solid #ddd;
  padding: 10px 15px;
}

header .search-bar button {
  border-radius: 0 30px 30px 0;
  border: 1px solid #ddd;
  background: #198754;
  color: #fff;
}

header .icons a {
  margin-left: 15px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

header .icons a:hover {
  color: #198754;
}

/* ===== Navbar ===== */
.navbar {
  background: #f8f9fa;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: #198754;
}

/* ===== Sidebar ===== */
.sidebar {
  height: 100%;
  width: 280px;
  position: fixed;
  top: 0;
  left: -280px;
  background: #fff;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 1050;
  padding-top: 20px;
}

.sidebar h5 {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 0;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar ul li {
  border-bottom: 1px solid #f1f1f1;
}

.sidebar ul li a {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  display: block;
  padding: 12px 20px;
  transition: all 0.3s;
}

.sidebar ul li a:hover {
  background: #198754;
  color: #fff;
  padding-left: 30px;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

/* Active Sidebar */
.sidebar.active {
  left: 0;
}

.overlay.active {
  display: block;
}

/* shop card and filter */

/* ===== Sidebar (Shop By + Filter) ===== */
.sidebar {
  height: 100%;
  width: 280px;
  position: fixed;
  top: 0;
  left: -280px;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 1050;
  padding: 20px;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.filter-sidebar {
  right: -300px;
  left: auto;
  width: 300px;
  box-shadow: -3px 0 8px rgba(0, 0, 0, 0.2);
}

.filter-sidebar.active {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #444;
}

.close-btn:hover {
  color: red;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1040;
}

.overlay.active {
  display: block;
}