*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif;}
:root{
 --gold:#dec27b;
 --black:#101;
 --gray:#777;
 --bg:#f8f8f8;
}
body{
  background:#101;
  color:#777;
  overflow-x:hidden;
  overflow-y:auto;     /* ensure vertical scroll */
  padding-bottom:80px; /* 🔥 bottom-nav ke liye space */
}


/* HEADER */
header{
  position:fixed;
  top:0; left:0;
  width:100%;
  z-index:999;
  background:#101;
  padding:12px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.5);
}

.left{
  display:flex;
  align-items:center;
  gap:12px;
}

.menu{
  font-size:22px;
  color:#fff;
  cursor:pointer;
}

.logo{
  display:flex;
  align-items:center;
}

.logo img{
  height:36px;
}

.brand-text{
  font-size:22px;
  font-weight:900;
  letter-spacing:4px;
  margin-left:-12px;
  background:linear-gradient(135deg,#6f2cff,#00f0ff,#ff2fa0);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.icons{
  display:flex;
  gap:18px;
  font-size:20px;
}

.icons span{
  cursor:pointer;
  color:#fff;
}

#cartCount{
  position:absolute;
  top:-6px;
  right:-8px;
  background:red;
  color:white;
  font-size:10px;
  padding:2px 6px;
  border-radius:50%;
  display:none;
}


/* HERO SLIDEER */
.slider{
  width:100%;
  height:33vh;
  margin-top:60px;
  position:relative;
  overflow:hidden;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.slide{
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  background-size:cover;   /* ✅ FIX */
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transition:.6s ease;
}

.slide.active{opacity:1;}
.slider-dots{
 position:absolute;bottom:10px;left:50%;transform:translateX(-50%);
 display:flex;gap:6px;
}
.dot{
 width:8px;height:8px;border-radius:50%;background:#ccc;
}
.dot.active{background:var(--gold);}


/* CATEGORY SCROLL */
.cat-scroll{white-space:nowrap;overflow-x:auto;padding:10px;margin-top:14px;}
.cat{
  width:85px;
  display:inline-flex;          /* 🔥 change */
  flex-direction:column;        /* 🔥 change */
  align-items:center;           /* 🔥 icon + text horizontal center */
  justify-content:center;
  text-align:center;        /* 🔥 text center */
  margin-right:16px;
}

.cat div{
  width:60px;
  height:60px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#002;
  border:2px solid #f8e7b4;
}

.cat p{
  font-size:.80rem;
  margin-top:6px;               /* thoda gap clean look ke liye */
  text-align:center;color:#fff;
}

.cat {
  text-decoration: none;
}
.cat img{
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

/* BOOK */
.book{
 margin:16px 14px;background:linear-gradient(to right,#f8e7b4,#c39a45);border-radius:12px;
 border:1px solid #e5e5e5;padding:18px;text-align:center;color:#000;
 font-weight:600;font-size:1rem;
}


/* BRIDAL MINI SLIDER */
.bridal{
 margin:18px 14px;border-radius:12px;overflow:hidden;position:relative;
background-image: url("images/offer.jpg");
  background-size: cover;
  
  background-repeat: no-repeat;

  height: 400px;   /* important */
}

.bridal img{width:100%;border-radius:12px;}
.br-btn{
 position:absolute;top:50%;transform:translateY(-50%);
 font-size:26px;background:#f8e7b4;padding:3px 10px;border-radius:50%;
 cursor:pointer;
}
.br-prev{left:6px;}
.br-next{right:6px;}


/* PRODUCT TABS */
.tabs{
 display:flex;margin:22px 14px;border-radius:45px;overflow:hidden;
 background:#111;color:#fff;
}
.tab{
 flex:1;text-align:center;padding:10px 0;font-size:.9rem;
 cursor:pointer;opacity:.5;
}
.tab.active{
 background:linear-gradient(to right,#f8e7b4,#c39a45);
 color:#000;font-weight:600;opacity:1;
}


/* PRODUCT SLIDER */
.product-scroll{
 white-space:nowrap;overflow-x:auto;padding:0 14px 6px;scroll-behavior:smooth;
}
.product{
 display:inline-block;width:55%;max-width:200px;
 background:#fff;border-radius:16px;overflow:hidden;
 border:1px solid #dec27b;margin-right:12px;
 color:white;
}
.product .top{
 padding:12px;position:relative;background:white;
}
.product img{
 width:100%;height:170px;border-radius:10px;object-fit:cover;
}
.tag{
 position:absolute;top:14px;left:16px;background:var(--gold);color:black;
 font-size:.65rem;padding:4px 8px;border-radius:6px;font-weight:600;
}
.heart{
 position:absolute;top:14px;right:16px;font-size:18px;color:#000;
 background:white;padding:4px 8px;border-radius:20px;
}
.plus{
 position:absolute;bottom:12px;right:18px;
 font-size:20px;background:#000;color:white;
 width:32px;height:32px;border-radius:6px;
 display:flex;align-items:center;justify-content:center;
}

/* PRODUCT FOOTER */
.product .info{
 background:#000;color:white;padding:14px;
 border-radius:0 0 16px 16px;
 
}
.product .title{
  font-size:.85rem;
  font-weight:500;
  margin-bottom:8px;

  white-space: normal !important;
  overflow: hidden;
  text-overflow: ellipsis;

  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;

  line-height: 1.3;
  max-height: 2.6em;
}
.product .ml{
 display:inline-block;background:#000;border:1px solid var(--gold);
 color:var(--gold);font-size:.7rem;padding:4px 10px;border-radius:20px;
 margin-bottom:6px;
}
.product .price{font-size:.95rem;font-weight:700;margin-top:4px;}
.product .old{font-size:.75rem;text-decoration:line-through;color:#777;margin-left:6px;}
.product button{
 width:100%;margin-top:12px;padding:10px;border:none;
 border-radius:30px;background:linear-gradient(to right,#f8e7b4,#c39a45);
 color:#000;font-weight:600;
}


/* VIEW ALL BTN */
.view-all{text-align:center;margin:18px 0;}
.view-all button{
 padding:10px 26px;border:none;border-radius:30px;
 background:#000;color:var(--gold);font-weight:600;
}


/* BANNER */
.banner{
 margin:22px 14px;border-radius:12px;overflow:hidden;
}
.banner img{width:100%;display:block;}


/* BOTTOM NAV */
/* BOTTOM NAV */
.bottom-nav{  
  position:fixed;  
  bottom:0;left:0;  
  width:100%;  
  background:#000;
  border-top:1px solid #eee;
  display:flex;  
  justify-content:space-around;  
  padding:6px 0;  
  font-size:12px;  
  z-index:99;  
}  
.bottom-nav a{  
  text-decoration:none;  
  color:#777;  
  flex:1;  
}  
.nav-item{  
  text-align:center;  
  padding:6px 0;  
  border-radius:16px;  
}  
.nav-item i{  
  font-size:20px;  
  display:block;  
  margin-bottom:2px;  
}  
.nav-item.active{  
  background:linear-gradient(to right,#f8e7b4,#c39a45);  
  color:#000;  
  font-weight:600;  
  margin:0 4px;  
}  

.bridal{
  margin:18px 14px;
  border-radius:12px;
  overflow:hidden;
  position:relative;
}
.bridal img{
  width:100%;
  border-radius:12px;
}
.br-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:26px;
  background:#ffffffc4;
  padding:3px 10px;
  border-radius:50%;
  cursor:pointer;
}


/* OFFER SLIDER */
.offer-slider{
  margin:22px 14px;
  height:22vh;
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background-image: url("images/bcd.jpg");
  background-size: cover;
}

.offer-slide{
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;   /* 🔥 offer/banner = contain */
  opacity:0;
  transition:0.6s ease;
}

.offer-slide.active{opacity:1;}

.offer-dots{
  position:absolute;
  bottom:8px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:6px;
}

.offer-dots span{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#ccc;
}

.offer-dots span.active{
  background:#d9b56c; /* gold */
}
/* OVERLAY */
.menu-overlay{
  position:fixed;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,0.4);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:98;
}

/* SIDE MENU */
.side-menu{
  position:fixed;
  top:0;left:0;
  width:75%;
  max-width:280px;
  height:100%;
  background:#000;
  background-image: url("images/menu.jpg");
  
  

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color:#fff;
  transform:translateX(-100%);
  transition:.3s ease;
  z-index:99;
  padding:20px;
}

/* ACTIVE STATE */
.side-menu.active{
  transform:translateX(0);
}
.menu-overlay.active{
  opacity:1;
  visibility:visible;
}

/* MENU HEADER */
.menu-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:600;
  margin-bottom:20px;
}
.menu-header button{
  background:none;
  border:none;
  color:#fff;
  font-size:20px;
}

/* MENU LIST */
.menu-list{
  list-style:none;
}
.menu-list li{
  margin:14px 0;
}
.menu-list a{
  text-decoration:none;
  color:#fff;
  font-size:15px;
  letter-spacing:.5px;
}
.menu-list a:active{
  color:var(--gold);
}
a{
  -webkit-tap-highlight-color: transparent;
  outline:none;
}
/* SEARCH OVERLAY */
.search-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  z-index:98;
}

/* SEARCH POPUP */
.search-popup{
  position:fixed;
  top:60px; /* header height */
  left:0;
  right:0;
  background:#111;
  z-index:99;
  padding:14px;
  border-radius:0 0 18px 18px;
  display:none;
}

.search-header{
  display:flex;
  gap:10px;
}
.search-header input{
  flex:1;padding:12px;
  border-radius:8px;
  border:1px solid #333;
  background:#000;color:#fff;
}

.search-filters{
  display:flex;
  gap:10px;
  margin:12px 0;
}

.search-filters select{
  flex:1;
  padding:10px;
  border-radius:8px;
}

.search-results{
  max-height:60vh;
  overflow-y:auto;
}

.result-item{
  display:flex;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid #eee;
  cursor:pointer;
}

.result-item img{
  width:50px;
  height:50px;
  border-radius:8px;
  object-fit:cover;
}

.nayara-footer {
  background: #;
  color: #eee;
  text-align: center;
  padding: 24px 16px;
  font-size: 12px;
  line-height: 1.6;
}

.offer-poster{
background:linear-gradient(160deg,#002, #101);
border-radius:22px;
padding:30px 20px;
width:260px;
margin:auto;
color:#fff;
text-align:center;
box-shadow:0 0 35px rgba(0,0,0,.7);
position:relative;
}

.offer-badge{
position:centre;
top:12px;
right:12px;
background:#f8e7b4;
color:#000;
padding:4px 10px;
border-radius:20px;
font-size:10px;
font-weight:700;
}

.brand{
color:#f8e7b4;
letter-spacing:6px;
margin:0;
}

.tagline{
font-size:12px;
color:#aaa;
margin-bottom:15px;
}

.offer-text{
font-size:22px;
font-weight:700;
margin:15px 0;
}

.offer-text span{
color:#f8e7b4;
font-size:30px;
}

.install-text{
margin-top:10px;
font-size:14px;
color:#f8e7b4;
}

.offer-poster img{
width:180px;
background:#fff;
padding:10px;
border-radius:14px;
margin-top:10px;
}

.small{
font-size:11px;
color:#aaa;
margin-top:10px;
}

.poster-wrapper{
text-align:center;
margin:40px auto;
}

.poster-wrapper button{
margin-top:15px;
background:linear-gradient(to right,#f8e7b4,#c39a45);
border:none;
padding:10px 22px;
border-radius:25px;
font-weight:600;
}
.lang-box{
  position:relative;
  background:#111;
  color:#fff;
  padding:6px 10px;
  border-radius:20px;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:6px;
}


footer {
  background: #transparent;
  color: #fff;
  text-align: center;
  padding: 16px 10px;
  font-size: 14px;
}

.footer-links {
  margin-top: 6px;
}

.footer-links a {
  color: #eee;
  text-decoration: none;
  margin: 0 6px;
  font-size: 13px;
}

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


/* FLOATING FLASH BUTTON */
#flashBtn{
  position:fixed;
  bottom:90px;
  left:50%;
  transform:translateX(-50%);
  background:linear-gradient(to right,#ff0000,#ff9800);
  color:white;
  padding:14px 22px;
  border-radius:40px;
  font-weight:700;
  font-size:15px;
  display:flex;
  gap:10px;
  align-items:center;
  z-index:9999;
  box-shadow:0 0 20px rgba(255,0,0,.7);
  animation:pulseBtn 1s infinite alternate;
}

@keyframes pulseBtn{
  from{transform:translateX(-50%) scale(1);}
  to{transform:translateX(-50%) scale(1.07);}
}

#btnTimer{
  background:black;
  padding:4px 8px;
  border-radius:20px;
  font-size:13px;
}
.stars{color:#e5c98b;font-size:.75rem}
.size{
  display:inline-block;
  margin:6px 0;
  padding:4px 10px;
  border:1px solid #e5c98b;
  border-radius:20px;
  font-size:.7rem;
  color:#e5c98b;
}
.badge{
  position:absolute;
  top:10px;left:10px;
  background:#e5c98b;
  padding:4px 8px;
  font-size:.65rem;
  font-weight:600;
  border-radius:6px;
}
.off{
  position:absolute;
  top:10px;left:10px;
  background:#c39;
  padding:4px 6px;
  font-size:.65rem;
  border-radius:6px;
  animation:pulse 1s infinite;
}