* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary: #ee4d2d;
  --secondary: #ff7337;
  --light: #f5f5f5;
  --dark: #111827;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

body {
  background: var(--light);
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.topbar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 7%;
}

.top-left,
.top-right {
  display: flex;
  gap: 20px;
}

.top-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.navbar {
  background: white;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 7%;

  box-shadow: var(--shadow);
}

.logo {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
}

.search-box {
  flex: 1;
  margin: 0 40px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 14px 20px;

  border-radius: 50px;
  border: 2px solid #eee;

  outline: none;
}

.search-box button {
  position: absolute;

  right: 5px;
  top: 5px;

  border: none;
  border-radius: 50px;

  background: var(--primary);
  color: white;

  padding: 10px 20px;

  cursor: pointer;
}

.nav-icons {
  display: flex;
  gap: 20px;

  font-size: 24px;
}

.nav-icons a {
  text-decoration: none;
}

/* MAIN */
.explore-container {
  display: flex;
  gap: 30px;

  padding: 170px 7% 50px;
}

/* SIDEBAR */
.sidebar {
  width: 240px;

  background: white;

  padding: 25px;

  border-radius: 20px;

  height: fit-content;

  box-shadow: var(--shadow);
}

.sidebar h2 {
  margin-bottom: 25px;
}

.filter-box {
  margin-bottom: 30px;
}

.filter-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.filter-box label {
  display: block;
  margin-bottom: 12px;

  font-size: 14px;
}

/* PRODUCTS */
.products-section {
  flex: 1;
}

.explore-header {
  margin-bottom: 30px;
}

.explore-header h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.explore-header p {
  color: #666;
}

.products-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 25px;
}

.product-card {
  background: white;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: var(--shadow);

  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 220px;

  object-fit: cover;
}

.product-content {
  padding: 18px;
}

.product-content h3 {
  margin-bottom: 10px;
}

.price {
  color: var(--primary);

  font-size: 22px;
  font-weight: 700;

  margin-bottom: 10px;
}

.product-content p {
  color: #666;
  font-size: 14px;

  margin-bottom: 18px;
}

.product-btn {
  width: 100%;

  padding: 13px;

  border: none;
  border-radius: 12px;

  background: var(--primary);
  color: white;

  cursor: pointer;

  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .explore-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .search-box {
    width: 100%;
    margin: 0;
  }
}
