/* ===============================
MARKET PAGE
=============================== */

.market-page{
  padding-top:80px;
  padding-bottom:90px;
  background:#000;
  min-height:100vh;
}

/* SEARCH */

.market-search{
  padding:15px;
}

.market-search input{
  width:100%;
  padding:14px;
  border:none;
  border-radius:15px;
  background:#111;
  color:white;
  font-size:15px;
}

/* CATEGORIES */

.market-categories{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:0 15px 15px;
}

.market-categories button{
  border:none;
  padding:10px 16px;
  border-radius:30px;
  background:#111;
  color:white;
  white-space:nowrap;
}

.active-category{
  background:red !important;
}

/* SECTIONS */

.market-section{
  padding:20px 15px;
}

.section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.section-header h2{
  font-size:20px;
}

.section-header span{
  color:red;
  font-size:14px;
}

/* EBOOK GRID */

.ebooks-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
}

.ebook-card{
  background:#111;
  border-radius:18px;
  overflow:hidden;
}

.ebook-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.ebook-content{
  padding:12px;
}

.ebook-title{
  font-weight:bold;
  margin-bottom:5px;
}

.ebook-price{
  color:red;
  margin-top:8px;
}

/* PRODUCT GRID */

.products-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
}

.product-card{
  background:#111;
  border-radius:18px;
  overflow:hidden;
}

.product-card img,
.product-card video{
  width:100%;
  height:240px;
  object-fit:cover;
}

.product-content{
  padding:12px;
}

.product-title{
  font-weight:bold;
}

.product-price{
  color:red;
  margin-top:8px;
}