/* ================= RESET ================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

html{
  scroll-behavior:smooth;
}
/* ================= BODY ================= */

body{
  margin:0;
  background:#dfdbdb;
  color:#222;
  position:relative;
  overflow-x:hidden;
}


.cart-panel{
  position:fixed;
  right:0;
  top:0;
  width:350px;
  max-width:100%;
  height:100%;
  background:white;
  padding:25px;
  box-shadow:-8px 0 25px rgba(0,0,0,0.15);
  transform:translateX(100%);
  transition:0.3s;
  overflow-y:auto;
  z-index:2000;
}

.cart-panel textarea{
  width:100%;
  padding:10px;
  margin-top:10px;
  border:1px solid #ddd;
  border-radius:6px;
  font-family:'Poppins',sans-serif;
}
.cart-panel.active{
  transform:translateX(0);
}

/* ================= ORDER STATUS ================= */


.combo-offer .order-highlight{
  background:#ff0000 !important;
  color:#ffffff !important;
  padding:6px 14px;
  border-radius:20px;
  font-weight:700;
}

.combo-offer .order-highlight:hover{
  background:#cc0000;
}

/* ================================== */

/* Sticky wrapper */
.sticky-area{
  position:sticky;
  top:110px;   /* header height */
  z-index:999;
  background:white;
}

/* Tagline */
.brand-tagline{
  text-align:center;
  font-size:14px;
  padding:8px 0;
  background:#111;
  color:white;
}

/* Category Nav */
.category-nav{
  display:flex;
  gap:15px;
  padding:10px;
  overflow-x:auto;
  white-space:nowrap;
  background:white;
}



.category-nav a{
  text-decoration:none;
  font-weight:600;
  color:#ff4d00;
  padding:8px 15px;
  border-radius:20px;
  transition:0.3s;
  flex:0 0 auto;        /* shrink nahi honge */
  font-size:10px;
}

.category-nav a:hover{
  background:#317703;
  color:white;
  border: solid black 1px;
}


/* ================= combo-offer ================= */
.combo-offer{
  display:flex;
  gap:15px;
  padding:10px;
  overflow-x:auto;
  white-space:nowrap;
  background:rgb(92, 81, 81);
  border-radius: 2px;
  
  
}



.combo-offer a{
  text-decoration:none;
  font-weight:600;
  background:#f58506;
  color:white;
  padding:8px 15px;
  border-radius:20px;
  transition:0.3s;
  flex:0 0 auto;        /* shrink nahi honge */
  font-size:9px;
  border-radius: 20%;
  border: solid black 1px;
  
}

.combo-offer a:hover{
  background:#03730e;
  color:white;
}


/* ================= HEADER ================= */


.main-header{
  position:sticky;
  top:0;
  width:100%;
  height:110px;    /* Reduce from 220 */
  background:#ff7b00;
  padding:10px 5%;
  display:flex;
  align-items:center;
  z-index:1000;
}


/* Right side track */
.header-right{
  display:flex;
  gap:10px;
  align-items:center;
}

.header-right input{
  padding:6px 10px;
  border-radius:6px;
  border:none;
  outline:none;
  width:140px;
}

.header-right button{
  padding:6px 12px;
  border:none;
  border-radius:6px;
  background:black;
  color:white;
  cursor:pointer;
}


@media(max-width:768px){
  .main-header{
    flex-direction:column;
    gap:8px;
  }

  .brand-name{
    font-size:24px;
  }

  .header-right input{
    width:120px;
  }
}


/* Header Left Layout */
.header-left{
  display:flex;
  align-items:center;
  gap:18px;   /* Space between logo & text */
}


/* Bigger Logo */
.logo-circle{
  width:90px;
  height:90px;
  border-radius:100%;
  background:#ff7b00;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:10px;
  box-shadow:0 6px 15px rgba(0,0,0,0.25);
}


.logo-circle img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:100%;   /* Very important */
}

/* Brand text */
.brand-name{
  font-size:clamp(28px,6vw,60px);
  font-weight:900;
  color:white;
  letter-spacing:3px;
  text-shadow:
    0 2px 0 black,
    0 5px 12px rgba(0,0,0,0.3);
}

@media(max-width:768px){

  .logo-circle{
    width: 70px;
    height:70px;
  }

  .brand-name{
    font-size:28px;
  }

}
.menutext{
  
  text-align:center;
  text-decoration:none;
  font-weight:600;
  color:#ffffff;
  background:#ff4d00;
  padding:8px 15px;
  border-radius:20px;
 
}

.brand-tagline{
  margin-top:10px;
  font-size:clamp(12px,2vw,18px);
  font-weight:300;
}

/* ================= CONTAINER ================= */

.container{
  padding:40px 15px;
  width:100%;
  max-width:1200px;
  margin:0 auto;
}
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:40px 20px;
}

@media(max-width:768px){
  .container{
    padding:20px 15px;
  }
}

/* ================= MENU ================= */

.menu h2{
  font-size:28px;
  margin-bottom:25px;
}


/* ================= CARD ================= */
.card{
  min-width:260px;
  max-width:260px;   /* 👈 MOST IMPORTANT */
  flex-shrink:0;
}

.card{
  
  min-width:260px;
  max-width:260px;
  flex-shrink:0;

  scroll-snap-align:center;  /* 🔥 SNAP CENTER */
  background:white;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  transition:0.3s ease;
  display:flex;
  flex-direction:column;
  width:100%;
  padding:12px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius:20px;
  padding:14px;

  border:1px solid rgba(255,255,255,0.3);

  box-shadow:
    0 8px 32px rgba(0,0,0,0.12),
    inset 0 1px rgba(255,255,255,0.3);

  transition: all 0.35s ease;

  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,77,0,0.15),
    transparent
  );
  opacity:0;
  transition:0.4s;
}

.card:hover::before{
  opacity:1;
}

.card:hover{
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 15px 45px rgba(0,0,0,0.2),
    0 0 20px rgba(255,77,0,0.3);
}

.card button{
  margin-top:auto;
}



.trust-strip{
  background:#fff5f0;
  text-align:center;
  padding:6px;
  font-size:13px;
  font-weight:500;
  color:#ff4d00;
}

.card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  transition:0.3s;
}

.card:hover img{
  transform:scale(1.05);
}

.card h3{
  font-size:16px;
  margin-top:10px;
  font-weight:600;
}

.card p{
  font-size:13px;
  color:#666;
  margin:6px 0;
}

.price{
  font-weight:600;
  margin-bottom:12px;
}

button{
  margin-top:auto;
  padding:10px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg,#ff4d00,#ff7b00);
  color:white;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}
button{
  background:linear-gradient(135deg,#ff4d00,#ff7b00);
  box-shadow:0 10px 20px rgba(255,77,0,0.3);
}

button:hover{
  background:#e63e00;
}
button:hover{
  transform:scale(1.05);
}

/* ================= CART PANEL ================= */

.cart-header{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:20px;
}

.close-cart{
  background:none;
  border:none;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  color:#ff4d00;
}

.close-cart:hover{
  text-decoration:underline;
}

@media(max-width:768px){
  .cart-panel{
    width:100%;
  }
}
@media(max-width:768px){
  .container{
    padding:20px;
  }
}

.cart-panel.active{
  transform:translateX(0);
}

.cart-panel h3{
  margin-bottom:15px;
}

.cart-panel input{
  width:100%;
  padding:10px;
  margin-top:15px;
  border:1px solid #ddd;
  border-radius:6px;
}

.total{
  font-weight:700;
  margin:15px 0;
}

/* ================= FLOATING CART ================= */

.cart-wrapper{
  position:fixed;
  bottom:25px;
  right:25px;
  z-index:1000;
  cursor:pointer;
}

.cart-circle{
  position:relative;
  width:70px;
  height:70px;
  background:linear-gradient(135deg,#ff4d00,#ff7b00);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  color:white;
  box-shadow:0 15px 35px rgba(255,77,0,0.4);
  transition:0.3s ease;
}

.cart-circle:hover{
  transform:scale(1.1);
}

.cart-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  background:black;
  color:white;
  font-size:14px;
  font-weight:600;
  padding:5px 9px;
  border-radius:50px;
  min-width:25px;
  text-align:center;
}



.card img{
  border-radius:14px;
  transition:0.3s;
}

.card:hover img{
  transform:scale(1.05);
}

body{
  overflow-x:hidden;
}

/* Small phones */


.size-options{
  margin-top:10px;
}

.size-options select{
  width:100%;
  padding:8px;
  border-radius:8px;
  border:1px solid #ddd;
  font-weight:600;
  cursor:pointer;
}

.quantity-box{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  margin:10px 0;
}

.quantity-box button{
  width:35px;
  height:35px;
  border-radius:50%;
  border:none;
  background:#ff4d00;
  color:white;
  font-size:18px;
  cursor:pointer;
} 

.quantity-box span{
  font-weight:700;
  font-size:16px;
}

.brand-tagline{
  text-align:center;
  font-size:14px;
  color:#999;
  padding:8px 0;
  background:#111;
  letter-spacing:1px;
}

/* ===== RESPONSIVE GRID ===== */

.grid{
  display:flex;
  position:relative;
  gap:15px;
  overflow-x:auto;
  padding:10px;
  scroll-snap-type:x mandatory;   /* 🔥 MAIN MAGIC */
  scroll-behavior:smooth;
}

.grid::-webkit-scrollbar{
  height:6px;
}

.grid::-webkit-scrollbar-thumb{
  background:#ccc;
  border-radius:10px;
}

.grid::before{
  left:0;
  background:linear-gradient(to right, #f4f4f4, transparent);
}

.grid::after{
  right:0;
  background:linear-gradient(to left, #f4f4f4, transparent);
}

/* Mobile specific */
@media (max-width:768px){

  .grid{
    grid-template-columns:repeat(2,1fr);
  }

  .brand-name{
    font-size:20px;
  }


  .cart-panel{
    width:100%;
  }

}

@media(max-width:480px){
  .grid{
    grid-template-columns:3fr;
  }
  .card{
    min-width:220px;
    max-width:220px;
  }
}

.card{
  width:100%;
}

/* Payment Fail Popup */

.payment-fail-popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.popup-box{
  background:white;
  width:90%;
  max-width:380px;
  padding:30px 20px;
  border-radius:15px;
  text-align:center;
  animation:popupFade 0.3s ease;
}

.popup-icon{
  font-size:45px;
  margin-bottom:10px;
}

.popup-box h2{
  margin-bottom:10px;
  color:#ff4d00;
}

.popup-box p{
  font-size:14px;
  margin-bottom:20px;
  color:gray;
}

.popup-box button{
  width:100%;
  margin-top:8px;
  padding:10px;
  border:none;
  border-radius:8px;
  background:#ff4d00;
  color:white;
  font-weight:600;
  cursor:pointer;
}

.popup-box .cancel-btn{
  background:#ccc;
  color:black;
}

@keyframes popupFade{
  from{ transform:scale(0.8); opacity:0; }
  to{ transform:scale(1); opacity:1; }
}

.hero{
  position:relative;
  height:100vh;
  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* 🔥 ALL LAYERS */
.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;

  background-size:cover;
  background-position:center;

  z-index:0;
}

/* ✅ BASE IMAGE (ALWAYS VISIBLE — NEVER 0) */
.base{
  background-image:url('https://images.unsplash.com/photo-1601924638867-3ec2f9b0b3cf');
}

/* 🔄 SECOND IMAGE */
.bg2{
  background-image:url('https://images.unsplash.com/photo-1594007654729-407eedc4be65');
  animation:fade2 12s infinite;
}

/* 🔄 THIRD IMAGE */
.bg3{
  background-image:url('https://images.unsplash.com/photo-1604382355076-af4b0eb60143');
  animation:fade3 12s infinite;
}

/* 🔥 CROSSFADE (NO GAP) */
@keyframes fade2{
  0%,30%   { opacity:0 }
  40%,70%  { opacity:1 }
  80%,100% { opacity:0 }
}

@keyframes fade3{
  0%,60%   { opacity:0 }
  70%,90%  { opacity:1 }
  100%     { opacity:0 }
}

/* 🌙 OVERLAY */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
  z-index:1;
}

/* 📍 TEXT FIXED CENTER */
.hero-content{
  position:relative;
  z-index:2;

  text-align:center;
  color:white;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  width:100%;
  height:100%;
}

/* ❌ NO TEXT ANIMATION */
.hero-content *{
  animation:none !important;
  transform:none !important;
}

.hero-bg{
  animation: moveBg 20s linear infinite;
}

@keyframes moveBg{
  0%{ background-position:0% center }
  50%{ background-position:100% center }
  100%{ background-position:0% center }
}

.hero h1{
  font-size:32px;
  font-weight:800;
}

.hero p{
  font-size:16px;
  margin:10px 0;
}

.hero-btn{
  display:inline-block;
  margin-top:15px;

  padding:12px 24px;
  border-radius:30px;

  background:linear-gradient(135deg,#ff4d00,#ff7b00);
  color:white;
  text-decoration:none;
  font-weight:600;
}

.footer{
  background:#111;
  color:white;
  text-align:center;
  padding:20px;
  margin-top:40px;
  font-size:13px;
}

.cart-badge{
  animation:pop 0.3s ease;
}

@keyframes pop{
  0%{transform:scale(0.7);}
  100%{transform:scale(1);}
}

/* ===== Location Toggle ===== */

.location-toggle{
  position:absolute;
  right:20px;
  background-color: #ffffff;
  top:35px;
  border-radius: 3px;
  border: 1px solid black;
  display:flex;
  align-items:center;
  gap:8px;
  z-index:2000;

}


#locationStatus{
  font-size:12px;
  font-weight:600;
  color:rgb(160, 7, 7);
}

/* Switch Style */

.switch{
  position:relative;
  display:inline-block;
  width:46px;
  height:24px;
}

.switch input{
  opacity:0;
  width:0;
  height:0;
}

.slider{
  position:absolute;
  cursor:pointer;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:red;
  transition:.3s;
  border-radius:34px;
}

.slider:before{
  position:absolute;
  content:"";
  height:18px;
  width:18px;
  left:3px;
  bottom:3px;
  background:rgb(255, 255, 255);
  transition:.3s;
  border-radius:50%;
}

input:checked + .slider{
  background-color:green;
}

input:checked + .slider:before{
  transform:translateX(22px);
}

/* Mobile Fix */

@media(max-width:768px){
  .location-toggle{
    top:75px;
    right:10px;
  }
}

/* ===== Location Popup ===== */

.location-popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  animation:fadeIn 0.3s ease;
}

.location-box{
  background:white;
  width:90%;
  max-width:380px;
  padding:30px 20px;
  border-radius:18px;
  text-align:center;
  animation:scaleUp 0.3s ease;
}

.location-icon{
  font-size:40px;
  margin-bottom:10px;
}

.location-box h2{
  color:#ff4d00;
  margin-bottom:10px;
}

.location-box p{
  font-size:14px;
  color:gray;
  margin-bottom:20px;
}

.location-box button{
  width:100%;
  padding:10px;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  margin-bottom:8px;
  background:linear-gradient(135deg,#ff4d00,#ff7b00);
  color:white;
}

.location-box .cancel-btn{
  background:#ddd;
  color:black;
}

@keyframes scaleUp{
  from{ transform:scale(0.8); opacity:0; }
  to{ transform:scale(1); opacity:1; }
}

@keyframes fadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

.location-icon img{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}


.price-box{
  display:flex;
  align-items:center;
  gap:8px;
  margin:10px 0;
}

.market-price{
  font-size:12px;
  text-decoration:line-through;
  color:#aaa;
}

.offer-price{
  font-size:20px;
  font-weight:800;
  color:#ff4d00;
}
button{
  margin-top:auto;
  padding:10px;

  border-radius:12px;
  border:none;

  background:linear-gradient(135deg,#ff4d00,#ff7b00);
  color:white;

  font-weight:600;
  letter-spacing:0.5px;

  transition:0.3s;
}

button:hover{
  transform:scale(1.07);
  box-shadow:0 10px 25px rgba(255,77,0,0.5);
}

.save-badge{
  background:linear-gradient(135deg,#ff4d00,#ff7b00);
  color:white;
  font-size:11px;
  padding:4px 10px;
  border-radius:20px;
  box-shadow:0 5px 15px rgba(255,77,0,0.4);
}
.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.popup-card{
background:white;
padding:25px;
border-radius:12px;
width:90%;
max-width:350px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.popup-card h2{
color:#ff4d00;
margin-bottom:10px;
}

.popup-card p{
margin-bottom:15px;
}

.popup-card button{
background:#ff4d00;
color:white;
border:none;
padding:10px 18px;
border-radius:6px;
cursor:pointer;
font-weight:600;
}



.img-box{
  position:relative;
  height:230px;
  border-radius:18px;
  overflow:hidden;
}

.img-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}


/* 🔥 OVERLAY */

.overlay{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:14px;

  background:linear-gradient(
    to top,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.6),
    transparent
  );

  color:white;
}

/* TEXT */

.overlay h3{
  font-size:16px;
  font-weight:700;
}

.overlay p{
  font-size:12px;
  opacity:0.9;
  margin:4px 0 10px;
}

/* PRICE + BUTTON */

.bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:10px;
}

.overlay button{
  background:#ff4d00;
  color:white;

  border:none;
  border-radius:12px;

  padding:8px 14px;
  font-weight:700;

  box-shadow:0 0 10px rgba(255,77,0,0.4);
}

.overlay button:hover{
  transform:scale(1.08);
  box-shadow:0 0 20px rgba(255,77,0,0.8);
}

/* GRID FIX (FULL WIDTH + SCROLL) */

.grid{
  display:flex !important;
  gap:15px;
  overflow-x:auto;
  padding:10px;
}



/* MOBILE */

@media(max-width:480px){
  .card{
    min-width:220px;
  }

  .img-box{
    height:200px;
  }
}

/* 🔥 MODERN CATEGORY HEADER */

.section-header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:30px 10px 20px;
  position:relative;
}

.section-header h2{
  font-size:20px;
  font-weight:800;
  color:#ff4d00;

  padding:6px 14px;
  border-radius:10px;

  background:rgba(255,77,0,0.08);

  text-shadow:0 0 8px rgba(255,77,0,0.3);
}

/* 🔥 LINE EFFECT */

.section-header .line{
  flex:1;
  height:3px;
  border-radius:10px;

  background:linear-gradient(
    to right,
    transparent,
    #ff4d00,
    transparent
  );
}

.section-header h2{
  background:white;
  padding:8px 15px;
  border-radius:20px;
  display:inline-flex;
  margin:20px auto;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.section-header::after{
  content:"";
  position:absolute;
  bottom:-6px;
  width:80px;
  height:4px;
  border-radius:10px;

  background:#ff4d00;
  box-shadow:0 0 12px rgba(255,77,0,0.6);
}
.section-header.active h2{
  background:#ff4d00;
  color:white;
  box-shadow:0 0 15px rgba(255,77,0,0.6);
}
.section-header .line{
  background:linear-gradient(to right,#ff4d00,transparent);
}
.section-header h2{
  text-shadow:0 0 8px rgba(255,77,0,0.3);
}
.category-block{
  text-align:center;
}