/* *{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
body{
  font-family:Arial, Helvetica, sans-serif;
  background:#f8f9fa;
  color:#333;
} */

/* ================= Banner ================= */
.banner-outer{
  /* padding:40px 20px; */
  padding: 0px 20px;
  max-width:100%;
  margin:auto;
}

.banner-wrapper{
  display:flex;
  gap:20px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

/* LEFT SLIDER */
.slider-part{
  flex:1;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  min-height:400px;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:.8s ease;
}
.slide.active{
  opacity:1;
}
.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.content{
  position:absolute;
  bottom:30px;
  left:25px;
  color:#fff;
  max-width:70%;
  text-shadow:0 4px 12px rgba(0,0,0,.8);
}
.content h1{
  /* color: white; */
  color: black;
  font-size:2.6rem;
}
.content p{
  color: black;
  font-size:1.2rem;
  margin-top:6px;
}
.btn-shop{
  display:inline-block;
  margin-top:14px;
  padding:12px 30px;
  background:#fff;
  color:#000;
  border-radius:40px;
  text-decoration:none;
  font-weight:600;
}
.btn-shop:hover{
  background:#000;
  color:#fff;
}

/* SLIDER NAV */
.nav-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:45px;
  height:45px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,.6);
  color:#fff;
  cursor:pointer;
  font-size:22px;
}
.prev{left:15px;}
.next{right:15px;}

/* RIGHT PROMO */
.promo-part{
  width:420px;
  min-width:260px;
  height:400px;
  border-radius:14px;
  overflow:hidden;
  flex-shrink:0;
}
.promo-part img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ================= Categories ================= */
.category-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}
.category-title span{
  font-size:1.5rem;
  font-weight:600;
}
.view-all{
  text-decoration:none;
  font-weight:500;
  color:#0066cc;
}

/* GRID */
.category-grid{
  display:grid;
  grid-template-columns:repeat(9,1fr);
  gap:20px;
}
.category-item{
  text-align:center;
}
.category-circle{
  width:140px;
  height:140px;
  margin:auto;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  border:1px solid #eee;
  box-shadow:0 6px 14px rgba(0,0,0,.1);
}
.category-circle img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.category-name{
  margin-top:10px;
  font-size:.9rem;
  font-weight:500;
}

/* ================= Responsive ================= */
/* large screens */
@media(max-width:1200px){
  .category-grid{grid-template-columns:repeat(6,1fr);}
}

/* medium screens */
@media(max-width:900px){
  .banner-wrapper{
    flex-direction:column;
  }
  .slider-part,
  .promo-part{
    width:100%;
    height:320px;
    min-height:320px;
    flex-shrink:0;
  }
  .category-grid{grid-template-columns:repeat(4,1fr);}
}

/* small screens */
@media(max-width:600px){
  .slider-part,
  .promo-part{
    height:260px;
    min-height:260px;
  }
  .content h1{font-size:1.6rem;}
  .content p{font-size:1rem;}
  .category-grid{grid-template-columns:repeat(3,1fr);}
  .category-circle{width:110px;height:110px;} /* bigger than default */
  .category-name{font-size:1.1rem;}
}

/* extra small screens */
@media(max-width:450px){
  .category-grid{grid-template-columns:repeat(2,1fr);}
  .category-circle{width:140px;height:140px;} /* bigger for 2 columns */
  .category-name{font-size:1.2rem;}
}

@media(max-width:350px){
  .category-grid{grid-template-columns:repeat(1,1fr);}
  .category-circle{width:180px;height:180px;} /* biggest for 1 column */
  .category-name{font-size:1.4rem;}
}