/* =========================================================
BASE STYLES
========================================================= */
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

body{
  background: #161616;
  color: #ffffff;
  line-height: 1.5;
}

/* =========================================================
NAVBAR (ORIGINAL DESIGN PRESERVED)
========================================================= */
.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* NAV LINKS */
.nav-links a{
  margin-left: 20px;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.7;
  font-size: 15px;
  transition: opacity .2s ease;
}

.nav-links a:hover{
  opacity: 1;
}

/* RIGHT SECTION */
.nav-right{
  display: flex;
  align-items: center;
  gap: 20px;
}

/* LOGO */
.logo img{
  height: 34px;
}

/* =========================================================
BUTTON SYSTEM
========================================================= */
.apply-btn{
  padding: 10px 18px;
  background: transparent;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.apply-btn:hover{
  background: #ffffff;
  color: #000000;
}

/* =========================================================
MAIN LAYOUT
========================================================= */
.container{
  display: flex;
  width: 100%;
}

/* SIDEBAR */
.sidebar{
  width: 250px;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

/* PRODUCT AREA */
.products{
  flex: 1;
  padding: 30px;
}

/* =========================================================
SIDEBAR COMPONENTS
========================================================= */

/* SEARCH INPUT */
.search{
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
}

/* SECTION TITLE */
.sidebar h3{
  margin: 20px 0 10px;
}

/* LIST */
.sidebar ul{
  list-style: none;
}

.sidebar li{
  padding: 6px 0;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity .2s ease;
}

.sidebar li:hover{
  opacity: 1;
}

/* =========================================================
FILTER CONTROLS
========================================================= */
.filters{
  margin-bottom: 25px;
}

.filters button{
  margin-right: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #1a1a1a;
  color: #ffffff;
  cursor: pointer;
  border-radius: 6px;
  transition: all .2s ease;
}

.filters button:hover{
  background: #222;
}

/* =========================================================
PRODUCT GRID
========================================================= */
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* =========================================================
PRODUCT CARD
========================================================= */
.card{
  display: flex;
  flex-direction: column;
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all .2s ease;
  cursor: pointer;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.45);
}

/* =========================================================
CARD IMAGE
========================================================= */
.card-image{
  width: 100%;
  height: 200px;
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
}

/* IMAGE ELEMENT */
.card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
CARD CONTENT
========================================================= */
.card-content{
  padding: 16px;
}

.card-content h3{
  font-size: 16px;
  margin-bottom: 6px;
}

.card-content p{
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 12px;
}

/* =========================================================
CARD FOOTER
========================================================= */
.card-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-bottom a{
  color: #a855f7;
  text-decoration: none;
  font-size: 13px;
  transition: opacity .2s ease;
}

.card-bottom a:hover{
  opacity: 0.8;
}