/* ================= GLOBAL ================= */

body{
  font-family: Arial, Helvetica, sans-serif;
  background:#fff;
  color:#111;
  line-height:1.5;
}

a{
  text-decoration:none;
}

.link-blue{
  color:#3665f3 !important;
  font-weight:700;
}


/* ================= TOP BAR ================= */

.top-bar{
  font-size:15px;
  background:#fff;
}

.top-bar a{
  color:#444;
}


/* ================= CATEGORY BAR ================= */

.category-nav .nav-link{
  font-size:12px;
  color:#333;
  cursor:pointer;
  white-space:nowrap;
}

.category-nav .nav-link:hover{
  color:#0064d2;
  text-decoration:underline;
}


/* ================= HERO ================= */

.hero-carousel{
  margin-top:10px;
  position:relative;  /* keeps controls aligned */
}

/* Slides */
.carousel-item{
  padding:40px 0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  min-height:340px;
  position:relative;
}

/* put flex ONLY on the content wrapper */
.carousel-item .hero-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
}


/* Overlay */
.carousel-item::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.05);
  pointer-events:none;
}

/* Content wrapper */
.hero-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  max-width:1100px;
  width:100%;
  margin:auto;
  position:relative;
  z-index:2;
}



.hero-images img{
  max-height:230px;
  width:auto;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}

/* Buttons */
.hero-btn{
  background:#111;
  color:#fff;
  border-radius:30px;
  padding:10px 28px;
  border:none;
}

.hero-btn:hover{
  background:#333;
}

/* Backgrounds */
.hero-1{background-image:url("/assets/img/bg1.avif");}
.hero-2{background-image:url("/assets/img/bg2.avif");}
.hero-3{background-image:url("/assets/img/bg3.avif");}
.hero-4{background-image:url("/assets/img/bg4.avif");}



/* Controls */
.hero-control{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:28px;
  opacity:.9;
  border:none;
  top:45%;
  position:absolute;
}

.carousel-control-prev{
  left:15px;
}

.carousel-control-next{
  right:15px;
}

/* Indicators */
.carousel-indicators button{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#000;
}


/* ================= RESPONSIVE HERO ================= */

@media(max-width:992px){
  .carousel-item{
    min-height:300px;
  }

  .hero-images img{
    max-height:190px;
  }

  .hero-content{
    flex-direction:column;
    text-align:center;
  }

  .hero-images{
    justify-content:center;
  }
}

@media(max-width:768px){
  .hero-content{
    flex-direction:column;
    text-align:center;
  }
}


/* ================= SHOPPING BOX ================= */

.shopping-box{
  margin-top:15px;
}


/* ================= TODAY’S DEALS ================= */

.deals-wrapper{
  display:flex;
}

/* left panel */
.deal-left-card{
  background:#f5f5f5;
  border-radius:14px;
  padding:18px;
  width:240px;
  min-width:240px;
}

.deal-left-title{
  font-size:22px;
  font-weight:800;
}

.deal-left-sub{
  margin-top:-6px;
  color:#444;
}

.deal-left-btn{
  border:none;
  background:#111;
  color:#fff;
  border-radius:30px;
  padding:9px 22px;
}

/* product scroll strip */
.product-strip{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding-bottom:8px;
}

.product-strip::-webkit-scrollbar{
  height:8px;
}

.product-strip::-webkit-scrollbar-thumb{
  background:#ccc;
  border-radius:30px;
}

/* each card */
.product-card{
  scroll-snap-align:start;
  width:200px;
  min-width:200px;
}

.thumb{
  background:#f7f7f7;
  border-radius:16px;
  padding:12px;
  margin-bottom:8px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.thumb img{
  max-height:140px;
  width:auto;
}

/* text */
.title{
  font-size:14px;
  min-height:40px;
}

.price{
  font-weight:800;
  font-size:16px;
}

.old{
  color:#777;
  text-decoration:line-through;
  font-weight:400;
  margin-left:6px;
}


/* ================= MONEY BACK ================= */

.moneyback-box{
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.moneyback-img{
  width: 100%;
  height: 50%;
  object-fit: cover;
  display: block;
}

.moneyback-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}


/* ================= FOOTER ================= */

.footer{
  background:#f7f7f7;
  border-top:1px solid #ddd;
}

.footer h6{
  font-size:14px;
  font-weight:700;
}

.footer a{
  font-size:13px;
  color:#444;
}

.footer a:hover{
  text-decoration:underline;
}


/* ================= RESPONSIVE GENERAL ================= */

@media(max-width:992px){
  .deal-left-card{
    display:none;
  }
}
