*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Segoe UI;
}

body{
  background:#0b0c10;
  color:#f5f7ff;
  padding-bottom:80px;
  overflow-x:hidden;
}

/* =========================
   NAV
========================= */
nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px;
}

.cart-btn{
  background:#ffffff15;
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
}

/* =========================
   HERO SLIDER (FIXED)
========================= */

.slider{
  height:70vh;
  position:relative;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:1s ease-in-out;

  /* FIX: prevent blocking clicks */
  pointer-events:none;
}

.slide.active{
  opacity:1;
  pointer-events:auto;
}

/* dark overlay */
.slide::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.35);
  z-index:1;
}

/* hero text box */
.overlay-text{
  position:absolute;
  bottom:20%;
  left:8%;
  background:rgba(0,0,0,0.6);
  padding:18px;
  border-left:4px solid #00c2ff;
  border-radius:10px;
  max-width:90%;
  z-index:5;
}

/* hero button FIX */
.overlay-text button{
  margin-top:10px;
  padding:10px 15px;
  border:none;
  border-radius:8px;
  background:linear-gradient(135deg,#00c2ff,#00ff88);
  font-weight:bold;
  cursor:pointer;
  color:#000;

  position:relative;
  z-index:10;
  pointer-events:auto;
}

/* =========================
   SEARCH
========================= */

.search-box{
  display:flex;
  justify-content:center;
  padding:15px;
}

.search-box input{
  width:90%;
  max-width:600px;
  padding:12px;
  border-radius:10px;
  border:none;
  outline:none;
}

/* =========================
   DELIVERY BANNER
========================= */

.delivery-banner{
  text-align:center;
  padding:10px;
  background:linear-gradient(90deg,#00c2ff22,#00ff8822);
  border:1px solid #00c2ff33;
  font-size:14px;
}

/* =========================
   PRODUCT GRID
========================= */

.section{
  padding:20px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}

/* TABLET */
@media(max-width:1000px){
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* MOBILE */
@media(max-width:600px){
  .grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   PRODUCT CARD (FIXED IMAGES)
========================= */

.card{
  background:#ffffff10;
  padding:10px;
  border-radius:12px;
  transition:0.3s;
  display:flex;
  flex-direction:column;
}

.card:hover{
  transform:translateY(-5px);
}

.card img{
  width:100%;
  height:180px;
  object-fit:contain;
  background:#fff;
  border-radius:10px;
  padding:8px;
}

/* =========================
   BUTTONS
========================= */

button{
  width:100%;
  padding:10px;
  margin-top:8px;
  border:none;
  border-radius:8px;
  background:linear-gradient(135deg,#00c2ff,#00ff88);
  font-weight:bold;
  cursor:pointer;
  color:#000;
}

/* =========================
   CART PANEL
========================= */

.cart{
  position:fixed;
  right:-400px;
  top:0;
  width:320px;
  height:100%;
  background:#0f1117;
  padding:15px;
  transition:0.3s ease-in-out;
  z-index:1000;
  border-left:2px solid #00c2ff;
  overflow-y:auto;
}

/* MOBILE CART FIX */
@media(max-width:600px){
  .cart{
    width:100%;
    right:-100%;
  }

  .cart.active{
    right:0;
  }
}

.cart.active{
  right:0;
}

/* =========================
   CART OVERLAY
========================= */

.overlay{
  position:fixed;
  width:100%;
  height:100%;
  background:#00000080;
  display:none;
  z-index:999;
}

.overlay.active{
  display:block;
}

/* =========================
   MODAL
========================= */

.modal{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#000000cc;
  display:none;
  justify-content:center;
  align-items:center;
  z-index:2000;
}

.modal-content{
  background:#1a1d2b;
  padding:20px;
  width:90%;
  max-width:400px;
  border-radius:12px;
}

.modal-buttons{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.cancel{
  background:#555;
  color:#fff;
}

.confirm{
  background:#00ff88;
  color:#000;
}

/* =========================
   ABOUT
========================= */

.about-store{
  padding:40px 20px;
  text-align:center;
  max-width:800px;
  margin:auto;
}

/* =========================
   FOOTER
========================= */

.footer{
  text-align:center;
  padding:30px;
  background:#0a0a12;
  margin-top:20px;
}

/* =========================
   WHATSAPP BUTTON
========================= */

.wa{
  position:fixed;
  bottom:90px;
  right:20px;
  width:60px;
  height:60px;
  background:#25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:28px;
  color:#fff;
  text-decoration:none;
  z-index:1000;
}

/* =========================
   STICKY BAR
========================= */

.sticky-bar{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:linear-gradient(90deg,#00c2ff,#00ff88);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  z-index:3000;
}

.sticky-info{
  font-weight:bold;
  color:#000;
  font-size:14px;
}

.sticky-btn{
  background:#000;
  color:#fff;
  border:none;
  padding:10px 15px;
  border-radius:8px;
  cursor:pointer;
}