*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:#000;
  color:#fff;
  font-family:"Montserrat", system-ui, sans-serif;
}

/* SECTION */
.category-section,
.product-section{
  max-width:1200px;
  margin:90px auto;
  padding:60px;
  border:3px solid #fff;
}

.section-title{
  font-size:30px;
  margin-bottom:40px;
  text-decoration:underline;
}


/* GRID */
.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
}

/* CARD */
.category-card{
  background:#111;
  border:2px solid rgba(255,255,255,0.15);
  padding:18px;
  text-align:left;
  cursor:pointer;
  color:#fff;
  transition:all 0.4s ease;
}

.category-card img{
  width:100%;
  height:170px;
  object-fit:cover;
  margin-bottom:14px;
  filter:grayscale(100%);
  transition:filter 0.4s ease;
}

.category-card:hover img,
.category-card.active img{
  filter:grayscale(0%);
}

.category-card:hover,
.category-card.active{
  border-color:#fff;
  transform:translateY(-8px);
}

.category-card h3{
  margin:0 0 6px;
}

.category-card p{
  color:#ccc;
  font-size:14px;
}

/* PRODUCT SECTION */
.product-content{
  max-width:700px;
}

.product-content h2{
  font-size:32px;
  margin-bottom:14px;
}

.product-content p{
  font-size:17px;
  line-height:1.6;
  color:#e6e6e6;
  margin-bottom:30px;
}

/* BUTTONS */
.product-actions{
  display:flex;
  gap:18px;
}

.btn{
  padding:14px 22px;
  font-size:15px;
  cursor:pointer;
  border:none;
  display:flex;
  align-items:center;
  gap:10px;
}

.btn.primary{
  background:#fff;
  color:#000;
}

.btn.secondary{
  background:transparent;
  color:#fff;
  border:2px solid #fff;
}

.cart-logo{
  font-size:18px;
}

/* ANIMATION */
.fade-section{
  opacity:0;
  transform:translateY(40px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.visible{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */
@media(max-width:1000px){
  .category-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .category-section,
  .product-section{
    padding:40px 25px;
  }

  .category-grid{
    grid-template-columns:1fr;
  }

  .product-actions{
    flex-direction:column;
  }
}
