/* ===== GLOBAL STYLES ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}
body{
    background:#f6f7f9;
    color:#333;
}
a{text-decoration:none;color:inherit;}

/* ===== HEADER ===== */
header{
    background:#fff;
    padding:20px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    position:sticky;
    top:0;
    z-index:100;
}
header h1{
    color:#ff6600;
    font-size:28px;
}
nav a{
    margin:0 15px;
    font-weight:500;
}
nav a:hover{color:#ff6600;}
.menu-icon{
    display:none;
    font-size:24px;
    cursor:pointer;
}
@media(max-width:768px){
    header{padding:15px 20px;}
    nav{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#fff;
        display:none;
        flex-direction:column;
        box-shadow:0 8px 20px rgba(0,0,0,0.1);
    }
    nav a{
        padding:15px;
        border-bottom:1px solid #eee;
        font-size:16px;
        font-weight:600;
    }
    nav.active{display:flex;}
    .menu-icon{display:block;}
}

/* ===== HERO ===== */
.hero{
    height: calc(100svh - 80px);
    max-height: 700px;
    background:
      linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
      url('css image.jpg') no-repeat center;
    background-size: cover;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 20px;
    color:#fff;
}
.hero h1{font-size:42px;font-weight:700;}
.hero p{font-size:18px;margin:15px 0;}
.hero-btn{
    background:#fff;
    color:#000;
    padding:12px 26px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}
.hero-btn:hover{transform:scale(1.05);}

/* ===== PRODUCTS ===== */
.products{
    padding:70px 40px;
    text-align:center;
}
.products h2{font-size:36px;margin-bottom:40px;}
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/* ===== PRODUCT CARD ===== */
.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
    transition:.4s;
    position:relative;
}
.product-card:hover{transform:translateY(-8px);}
.product-card img{
    width:100%;
    display:block;
    transition:.6s;
}
.product-card:hover img{transform:scale(1.15);}
.product-info{padding:18px;text-align:center;}
.product-info h3{font-size:18px;margin-bottom:8px;}
.desc{font-size:14px;line-height:1.6;margin-bottom:10px;}
.price{margin:12px 0;font-weight:700;font-size:18px;}
.old-price{text-decoration:line-through;color:#888;margin-right:8px;}
.new-price{color:#e63946;font-size:20px;}
.buy-btn{
    display:inline-block;
    padding:10px 24px;
    background:#000;
    color:#fff;
    border-radius:30px;
    font-size:14px;
    cursor:pointer;
}

/* ===== BADGE ===== */
.badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#000;
    color:#fff;
    padding:6px 14px;
    font-size:12px;
    border-radius:20px;
    z-index:10;
}

/* ===== GALLERY ===== */
.gallery{
  position:relative;
  width:100%;
  height:320px;
  overflow:hidden;
  border-radius:14px;
  z-index:10;
}
.gallery img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .8s ease;
  z-index:1;
}
.gallery img.active{
  opacity:1;
  z-index:2;
}
.slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:28px;
  color:#fff;
  cursor:pointer;
  z-index:11;
}
.slider-arrow.left{left:10px;}
.slider-arrow.right{right:10px;}
.slider-dots{
    position:absolute;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:11;
}
.slider-dots span{
    width:10px;
    height:10px;
    background:#ccc;
    border-radius:50%;
}
.slider-dots span.active{background:#ff6600;}

/* ===== ABOUT ===== */
.about{
  background:#fff;
  padding:80px 0;
  text-align:center;
}
.about h2{
  font-size:40px;
  margin-bottom:25px;
  color:#ff6600;
}
.about p{
  font-size:18px;
  line-height:1.8;
  max-width:850px;
  margin:10px auto;
  color:#333;
}

/* ===== CONTACT ===== */
.contact{
  background:#f9f9f9;
  padding:80px 0;
  text-align:center;
}
.contact h2{
  font-size:40px;
  margin-bottom:35px;
  color:#ff6600;
}
.contact-cards{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px;
  margin-top:30px;
}
.contact-cards div{
  background:#fff;
  padding:25px 30px;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  min-width:220px;
}
.contact-cards div h3{
  font-size:20px;
  margin-bottom:10px;
  color:#ff6600;
}
.contact-cards div p{
  font-size:16px;
  color:#333;
}
.contact-cards div a{
  color:#ff6600;
  text-decoration:none;
}
.contact-cards div a:hover{
  text-decoration:underline;
}

/* ===== TRUST ===== */
.trust-section{
  background:#fff;
  padding:80px 20px;
  text-align:center;
}
.trust-section h2{
  font-size:40px;
  margin-bottom:50px;
  color:#ff6600;
}
.trust-cards{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px;
}
.trust-cards div{
  background:#f6f7f9;
  padding:25px 30px;
  border-radius:15px;
  min-width:220px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
}
.trust-cards div h3{
  font-size:20px;
  margin-bottom:12px;
  color:#ff6600;
}
.trust-cards div p{
  font-size:16px;
  line-height:1.6;
  color:#333;
}

.payment-icons{
  background: #000;
  color: #fff;
  padding: 18px 25px;
  text-align: center;
  font-size: 15px;
  border-radius: 12px;
  margin: 20px auto;
  display: inline-block;
}

/* ===== FOOTER ===== */
footer{
  background:#222;
  color:#fff;
  padding:30px 0;
  text-align:center;
}
footer p{
  margin:0;
  font-size:16px;
  line-height:1.5;
}

/* ===== WHATSAPP & LIVE ORDER ===== */
.whatsapp-wrapper, .mobile-whatsapp-bar, .live-order, .chat-bubble{
    z-index:999;
}
.whatsapp-wrapper{
  position: fixed;
  bottom: 20px;
  right: 20px;
}
.whatsapp-label{
  position:absolute;
  right:70px;
  top:50%;
  transform:translateY(-50%);
  background:#fff;
  color:#333;
  padding:8px 14px;
  font-size:13px;
  border-radius:30px;
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
  white-space:nowrap;
  font-weight:600;
}
.whatsapp-label::after{
  content:"";
  position:absolute;
  right:-6px;
  top:50%;
  transform:translateY(-50%);
  border-width:6px;
  border-style:solid;
  border-color:transparent transparent transparent #fff;
}
.whatsapp-dot{
  display:inline-block;
  width:8px;
  height:8px;
  background:#25D366;
  border-radius:50%;
  margin-right:6px;
}
.whatsapp-float{
  position:fixed;
  width:56px;
  height:56px;
  background:#25D366;
  border-radius:50%;
  right:20px;
  bottom:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  text-decoration:none;
}
.whatsapp-float i {
  color: #fff;
    font-size: 30px;
    line-height: 1;
}
@keyframes whatsappPulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,0.7); transform:scale(1);}
  70%{box-shadow:0 0 0 18px rgba(37,211,102,0); transform:scale(1.05);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0); transform:scale(1);}
}
.mobile-whatsapp-bar{
  display:none;
}
@media(max-width:768px){
  .mobile-whatsapp-bar{
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#25D366;
    color:#fff;
    padding:14px;
    justify-content:center;
    align-items:center;
    font-size:18px;
    font-weight:700;
  }
  body{padding-bottom:70px;}
}

/* ===== QUICK WHATSAPP ICON ===== */
.product-card .quick-wa{
  position:absolute;
  top:15px;
  right:15px;
  width:40px;
  height:40px;
  background:#25d366;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  z-index:20;
  box-shadow:0 6px 15px rgba(0,0,0,0.3);
  transition:.3s;
}
.product-card .quick-wa:hover{
  background:#1ebe5d;
  transform:scale(1.1);
}

/* ===== QUICK OVERLAY ===== */
.quick-wa-overlay{
  position:absolute;
  inset:0;
  z-index:15;
  cursor:pointer;
  background:transparent;
}

/* ===== REVIEW CARDS ===== */
.reviews{
  background:#f9f9f9;
  padding:80px 20px;
  text-align:center;
}
.review-card{
  display:none;
  max-width:600px;
  margin:20px auto;
  background:#fff;
  padding:25px;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  font-size:18px;
}
.review-card.active{display:block;}

/* ===== ORDER FORM ===== */
.order-section{
  position:relative;
  padding:90px 20px;
  text-align:center;
  overflow:hidden;
  color:#fff;
}
.order-section.slider-bg{
  background:linear-gradient(-45deg,#25D366,#8e44ad,#e91e63,#ff9800);
  background-size:400% 400%;
  animation:gradientSlide 12s ease infinite;
}
.order-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,0.55),rgba(212,175,55,0.35));
  z-index:0;
}
.order-section h2,
#orderForm{position:relative;z-index:1;}
#orderForm{
  max-width:450px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:15px;
}
#orderForm input,
#orderForm textarea,
#orderForm select{
  padding:14px;
  border-radius:10px;
  border:1px solid #ccc;
  font-size:15px;
}
#orderForm button{
  padding:14px;
  background:#000;
  color:#fff;
  border:none;
  border-radius:30px;
  font-size:16px;
  cursor:pointer;
}
#orderForm button:hover{
  background:#ff6600;
}

/* ===== TOP MULTI COLOR SLIDER ===== */
.top-slider{
  padding:30px 15px;
  border-radius:18px 18px 0 0;
  background:linear-gradient(-45deg,#25D366,#ff0057,#9b59b6,#ff9800);
  background-size:400% 400%;
  animation:colorSlide 10s ease infinite;
}
.top-slider h2{
  margin:0;
  font-size:20px;
  font-weight:700;
  color:#fff;
}

/* ===== BOTTOM BLACK GOLD SLIDER ===== */
.bottom-slider{
  padding:30px 20px;
  border-radius:0 0 18px 18px;
  background:linear-gradient(-45deg,#000,#1a1a1a,#d4af37,#000);
  background-size:300% 300%;
  animation:goldSlide 12s ease infinite;
}

/* ===== SLIDER ANIMATIONS ===== */
@keyframes gradientSlide{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
@keyframes colorSlide{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
@keyframes goldSlide{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

/* ===== DARK MODE ===== */
.dark-btn{
  background:#000;
  color:#fff;
  border:none;
  padding:6px 12px;
  border-radius:20px;
  cursor:pointer;
}
body.dark{
  background:#111;
  color:#fff;
}
body.dark .product-card,
body.dark header,
body.dark footer{
  background:#1c1c1c;
  color:#fff;
}

/* ===== LIVE VIEWERS POPUP ===== */
.live-view {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: none; /* hidden by default */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

/* show live-view */
.live-view.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ===== ORDER POPUP ===== */
.order-popup {
    position: fixed;
    top: 120px;
    right: -400px; /* hidden initially */
    background: #25D366;
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: right 0.5s ease;
    z-index: 9999;
}

.order-popup.show {
    right: 20px; /* slide-in */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .live-view {
        bottom: 130px;
        left: 15px;
        font-size: 13px;
    }
    .order-popup {
        top: 100px;
        font-size: 14px;
    }
}

/* ===== ORDER SUCCESS POPUP ===== */
.order-success{
    position: fixed;
    top: 120px;
    right: -400px; /* hidden */
    background: #16a34a; /* green success */
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: right 0.5s ease;
    z-index: 9999;
}

.order-success.show{
    right: 20px;
}

/* ===============================
   BONUS UI / CONVERSION BOOSTERS
=============================== */

/* Only 3 Left Badge */
.stock-badge{
  position:absolute;
  top:10px;
  left:10px;
  background:#e63946;
  color:#fff;
  padding:5px 10px;
  font-size:12px;
  border-radius:14px;
  font-weight:700;
  z-index:9;
}

/* Free Delivery Floating Badge */
.free-delivery{
  background:#25D366;
  color:#fff;
  padding:6px 14px;
  font-size:13px;
  border-radius:14px;
  font-weight:600;
  display:inline-block;
  animation:floatBadge 1.8s ease-in-out infinite alternate;
}

@keyframes floatBadge{
  from{transform:translateY(0)}
  to{transform:translateY(-6px)}
}

/* Countdown Timer */
.countdown{
  font-size:14px;
  font-weight:600;
  color:#ff9800;
  margin-top:8px;
}

/* Auto Stars */
.stars{
  font-size:16px;
  margin-top:6px;
  color:#f1c40f;
}

/* Order Success Popup */
.order-success{
  position:fixed;
  top:20px;
  right:-320px;
  background:#25D366;
  color:#fff;
  padding:14px 22px;
  border-radius:14px;
  font-weight:600;
  z-index:9999;
  transition:.4s ease;
}
.order-success.show{
  right:20px;
}

/* WhatsApp Pulse */
.whatsapp-float{
  animation:whatsappPulse 2s infinite;
}
@keyframes whatsappPulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,.7)}
  70%{box-shadow:0 0 0 18px rgba(37,211,102,0)}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}
}

.desc{
  font-size:14px;
  line-height:1.6;
  color:#555;
  text-align:left;
  margin:10px 0;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.top-btn{
  position: fixed;
  left: 18px;
  bottom: 160px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #000, #c9a24d);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* hover effect */
.top-btn:hover{
  transform: scale(1.1);
}

/* mobile size adjust */
@media (max-width: 768px){
  .top-btn{
    width: 44px;
    height: 44px;
    font-size: 20px;
    bottom: 110px; /* WhatsApp se takra na ho */
  }
}

/* ===== IMAGE WRAPPER ===== */
.gallery{
  position: relative;
  overflow: hidden;
}

/* ===== OVERLAY CONTAINER ===== */
.product-overlays{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

/* ===== BADGES ===== */
.badge{
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: 8px;
}

.badge.hot{
  background:#e63946;
}

.badge.stock{
  top: 50px;
  background:#000;
  color:#d4af37;
  border:1px solid #d4af37;
}

/* ===== FREE DELIVERY ===== */
.free-delivery{
  position: absolute;
  top: 90px;
  left: 12px;
  background:#25D366;
  color:#fff;
  padding:5px 10px;
  font-size:12px;
  border-radius:6px;
}

/* ===== STARS ===== */
.stars{
  position:absolute;
  bottom:50px;
  left:12px;
  font-size:14px;
  background:rgba(0,0,0,0.6);
  padding:4px 8px;
  border-radius:6px;
  color:#FFD700;
}

/* ===== COUNTDOWN ===== */
.countdown{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(0,0,0,0.75);
  color:#fff;
  padding:6px 14px;
  font-size:13px;
  border-radius:20px;
  font-weight:600;
}
@media(max-width:768px){
  .badge,.free-delivery{
    font-size:11px;
  }
  .countdown{
    font-size:12px;
  }
}

/* ===== PRODUCT TEXT FIX ===== */
.product-card{
  display:flex;
  flex-direction:column;
}

.product-img{
  position:relative;
}

.product-card h3,
.product-card .price,
.product-card .description{
  position:relative;
  z-index:1;
  margin-top:10px;
  text-align:left;
}

.gallery{
  position:relative;
}

/* IMAGE OVERLAY ITEMS */
.gallery .badge,
.gallery .free-delivery,
.gallery .stars,
.gallery .countdown{
  position:absolute;
  z-index:20;
}

/* POSITIONS */
.gallery .badge.hot{
  top:10px;
  left:10px;
}

.gallery .badge.stock{
  top:45px;
  left:10px;
  background:#000;
}

.gallery .free-delivery{
  bottom:10px;
  left:10px;
  background:#25D366;
  color:#fff;
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
}

.gallery .stars{
  top:10px;
  right:10px;
  font-size:14px;
  color:#ffd700;
}

.gallery .countdown{
  bottom:10px;
  right:10px;
  background:#000;
  color:#fff;
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
}
.countdown{
  display:flex;
  gap:6px;
  justify-content:center;
}

.countdown div{
  background:#000;
  color:#fff;
  padding:6px 8px;
  border-radius:8px;
  font-size:12px;
  min-width:52px;
}

.countdown span{
  display:block;
  font-size:14px;
  font-weight:bold;
}

.product-img {
  position: relative;
}

.gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;   /* 🔥 FULL IMAGE AREA */
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.gallery img.active {
  display: block;
}
@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

/* -------------------- Free Delivery Badge -------------------- */
.free-delivery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px; /* Countdown se chhota */
    height: 35px; /* Countdown se chhota */
    background-color: #28a745;
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem; /* Thoda chhota font */
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.free-delivery:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* -------------------- Review Card -------------------- */
.review-card{
  display:none;
  max-width:600px;
  margin:20px auto;
  background:#fff;
  padding:25px;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  font-size:18px;
}
.review-card.active{display:block;}

/* -------- Image Overlay Review -------- */
.review-card.customer-review {
    display: none; /* JS will control active */
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    font-size: 0.9rem;
    color: #000;
    transition: all 0.3s ease;
}
.review-card.customer-review.active {
    display: block;
}
.review-card.image-review {
    position: absolute;
    bottom: 12px;
    left: 12px;
    min-width: 90px;
    max-width: 160px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    display: flex; /* always visible */
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.review-card.image-review .review-rating {
    font-size: 0.65rem;
}
.review-card.image-review .review-text {
    font-size: 0.6rem;
    line-height: 1.1;
}
.product-img {
    position: relative; /* Required for absolute overlay */
}
