html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial;
  background:#f5f5f5;
  margin:0;
}

/* ================= HEADER ================= */

header{
  background:#000;
  color:#ff8c00;
  padding:16px 40px;
  display:flex;
  align-items:center;
}

header img{
  width:80px;
}

header h1{
  flex:1;
  text-align:center;
  font-size:24px;
  letter-spacing:2px;
  margin:0;
  color:#ff8c00;
}

nav{
  display:flex;
  gap:28px;
}

nav a{
  color:#ff8c00;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  letter-spacing:1px;
  position:relative;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:#ff8c00;
  transition:0.3s;
}

nav a:hover::after{
  width:100%;
}

/* ================= HEADINGS ================= */

h2{
  margin:30px 20px 15px;
  color:#333;
}

/* ================= CATEGORY GRID ================= */

.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  padding:20px 40px 40px;
}

.category-card{
  background:#111;
  border-radius:18px;
  padding:18px;
  text-align:center;
  cursor:pointer;
  transition:0.4s;
  box-shadow:0 15px 30px rgba(0,0,0,0.4);
}

.category-card:hover{
  transform:translateY(-8px);
}

.category-card button{
  background:#000;
  color:#ff8c00;
  border:1px solid #ff8c00;
  padding:8px 20px;
  border-radius:25px;
  font-weight:bold;
  margin-bottom:15px;
}

.category-card img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:14px;
}

/* ================= OFFERS ================= */

.offers-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  padding:20px 40px 40px;
}

.offer-card{
  background:linear-gradient(135deg,#111,#1c1c1c);
  border-radius:18px;
  padding:25px;
  text-align:center;
  box-shadow:0 15px 35px rgba(0,0,0,0.5);
  transition:0.4s;
}

.offer-card:hover{
  transform:translateY(-8px);
}

.offer-card h3{
  color:#ff8c00;
  letter-spacing:2px;
}

.offer-card p{
  color:#f5f5f5;
}

.offer-tag{
  display:inline-block;
  margin-top:15px;
  padding:6px 14px;
  border-radius:20px;
  background:#ff8c00;
  color:#000;
  font-size:12px;
  font-weight:bold;
}

/* ================= CONTACT ================= */

.contact-wrapper{
  display:flex;
  justify-content:center;
  padding:60px 20px 80px;
}

.contact-card-neo{
  background:linear-gradient(135deg,#111,#1c1c1c);
  color:white;
  max-width:520px;
  width:100%;
  padding:35px 40px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 25px 60px rgba(0,0,0,0.5);
  animation:fadeUp 0.8s ease;
}

.contact-card-neo h3{
  color:#ff8c00;
  margin-bottom:25px;
}

/* ================= PRODUCT GALLERY ================= */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  padding:30px 40px;
}

.gallery-grid img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:0.3s;
}

.gallery-grid img:hover{
  transform:scale(1.05);
}

/* ================= PRODUCT MODAL ================= */

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:999;
}

.modal-content{
  background:#111;
  color:white;
  width:90%;
  max-width:420px;
  padding:25px;
  border-radius:18px;
  box-shadow:0 25px 60px rgba(0,0,0,0.7);
  animation:fadeUp 0.4s ease;
}

.modal-content h3{
  color:#ff8c00;
  margin-bottom:15px;
}

.modal-content select,
.modal-content textarea{
  width:100%;
  padding:10px;
  margin:10px 0;
  border-radius:8px;
  border:none;
}

.modal-content textarea{
  resize:none;
  height:70px;
}

.modal-close{
  text-align:right;
  cursor:pointer;
  font-size:18px;
}

/* ================= STAR RATING ================= */

.stars span{
  font-size:24px;
  cursor:pointer;
  color:gray;
}

.stars span.active{
  color:gold;
}

/* ================= REVIEWS ================= */

.review-box{
  margin-top:15px;
  font-size:14px;
  border-top:1px solid #333;
  padding-top:10px;
}

.review-box p{
  margin:6px 0;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px){
  .category-grid,
  .offers-grid,
  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .category-grid,
  .offers-grid,
  .gallery-grid{
    grid-template-columns:1fr;
  }

  header h1{
    font-size:18px;
  }
}


/* ================= PRODUCT CARDS (STANDARD HEIGHT) ================= */

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  padding:20px 40px 40px;
}

.product-card{
  background:#111;
  border-radius:18px;
  padding:16px;
  text-align:left;
  box-shadow:0 15px 30px rgba(0,0,0,0.45);
  transition:0.4s;
  display:flex;
  flex-direction:column;
  height:100%;
}

.product-card:hover{
  transform:translateY(-6px);
}

/* FIXED IMAGE FRAME */
.product-card img{
  width:100%;
  height:180px;              /* 👈 STANDARD HEIGHT */
  object-fit:cover;          /* 👈 CROPS NICELY */
  border-radius:14px;
  margin-bottom:14px;
}

/* PRODUCT TITLE */
.product-card h3{
  color:#ff8c00;
  margin:5px 0 10px;
  font-size:18px;
}

/* PRICE / DETAILS */
.product-details{
  color:#f1f1f1;
  font-size:14px;
  line-height:1.6;
  flex-grow:1;
}

.product-details span{
  display:block;
}

/* DELIVERY */
.delivery{
  margin-top:8px;
  font-size:13px;
  color:#c7c7c7;
}

/* STAR RATING */
.stars{
  margin-top:10px;
  color:gold;
  font-size:18px;
}

/* ADD TO CART */
.add-cart-btn{
  margin-top:15px;
  background:#ff8c00;
  color:#000;
  border:none;
  padding:10px;
  border-radius:25px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

.add-cart-btn:hover{
  background:#ffa733;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px){
  .product-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .product-grid{
    grid-template-columns:1fr;
  }
}
