 /* ================================
   GLOBAL RESET
================================ */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: "Segoe UI", sans-serif;
}

body{
  background:#fff7fb;
  color:#3a2a3a;
}

/* ================================
   NAVBAR
================================ */
.navbar{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 50px;
  background:linear-gradient(90deg,#f7b2c4,#e6d9ff);
  position:sticky;
  top:0;
  z-index:999;
}

.logo{
  font-size:22px;
  font-weight:700;
  letter-spacing:2px;
}

.navbar nav{
  display:flex;
  gap:22px;
}

.navbar nav a{
  text-decoration:none;
  color:#5a2a3a;
  font-size:14px;
}

/* ================================
   HERO
================================ */
.hero{
  height:65vh;
  background:linear-gradient(rgba(255,182,193,.6), rgba(230,217,255,.6)),
  url("../images/p1.jpg");
  background-size:cover;
  background-position:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.hero h1{
  font-size:42px;
}

.hero p{
  margin-top:10px;
}

.hero button{
  margin-top:20px;
  padding:12px 32px;
  border:none;
  border-radius:30px;
  background:linear-gradient(90deg,#f7b2c4,#e6d9ff);
  cursor:pointer;
  font-weight:600;
}

/* ================================
   SECTIONS
================================ */
.section{
  padding:60px 50px;
}

.section h2{
  text-align:center;
  margin-bottom:35px;
  font-size:30px;
}

/* ================================
   PRODUCT GRID
================================ */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px;
}

/* ================================
   PRODUCT CARD
================================ */
.card{
  background:#fff;
  border-radius:16px;
  padding:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:.3s;
}

.card:hover{
  transform:translateY(-6px);
}

.card img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:12px;
}

.card h3{
  margin-top:10px;
  font-size:15px;
}

.card p{
  margin-top:5px;
  font-weight:600;
}

.card button{
  width:100%;
  margin-top:10px;
  padding:10px;
  border:none;
  border-radius:20px;
  background:linear-gradient(90deg,#f7b2c4,#e6d9ff);
  cursor:pointer;
}

/* ================================
   PRODUCT PAGE
================================ */
.product-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  padding:60px 60px;
}

.product-left img{
  width:100%;
  max-height:480px;
  object-fit:cover;
  border-radius:16px;
}

.product-right h1{
  font-size:30px;
}

.product-price{
  font-size:22px;
  margin:10px 0;
  font-weight:700;
}

.product-desc{
  margin:14px 0;
  line-height:1.6;
}

.option-group{
  margin-top:15px;
}

.option-group select{
  width:200px;
  padding:10px;
  border-radius:8px;
  border:1px solid #ccc;
}

.product-actions{
  display:flex;
  gap:15px;
  margin-top:25px;
}

.add-cart-btn,.buy-now-btn{
  padding:12px 26px;
  border:none;
  border-radius:26px;
  cursor:pointer;
  font-weight:600;
}

.add-cart-btn{background:#f7b2c4;}
.buy-now-btn{background:#e6d9ff;}

/* ================================
   CART PAGE
================================ */
.cart-container{
  max-width:1100px;
  margin:40px auto;
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:25px;
  padding:20px;
}

.cart-items{
  background:#fff;
  padding:20px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

.cart-item{
  display:flex;
  gap:15px;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #eee;
}

.cart-item:last-child{
  border-bottom:none;
}

.cart-item img{
  width:120px;
  height:150px;
  object-fit:cover;
  border-radius:10px;
}

.cart-info{
  flex:1;
}

.cart-info h4{
  margin-bottom:6px;
}

.qty-box{
  display:flex;
  gap:8px;
  margin-top:8px;
}

.qty-box button{
  width:28px;
  height:28px;
  border:none;
  background:#eee;
  border-radius:6px;
  cursor:pointer;
}

.order-box{
  background:#fff;
  padding:20px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  height:fit-content;
}

.order-box h3{
  margin-bottom:15px;
}

.order-box button{
  width:100%;
  padding:12px;
  border:none;
  border-radius:25px;
  background:linear-gradient(90deg,#ff8fb3,#b388ff);
  color:#fff;
  font-weight:600;
  cursor:pointer;
}

/* ================================
   FOOTER
================================ */
.site-footer{
  background:linear-gradient(90deg,#ffd1dc,#e9d5ff);
  margin-top:60px;
  padding:50px 8% 20px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.footer-col h3{
  margin-bottom:15px;
}

.footer-col ul{
  list-style:none;
}

.footer-col ul li{
  margin-bottom:10px;
}

.footer-col ul li a{
  text-decoration:none;
  color:#333;
  font-size:14px;
}

.footer-bottom{
  border-top:1px solid rgba(0,0,0,0.1);
  margin-top:30px;
  padding-top:15px;
  text-align:center;
  font-size:13px;
}

/* ================================
   RESPONSIVE
================================ */
@media(max-width:900px){
  .product-container{
    grid-template-columns:1fr;
    padding:40px 25px;
  }

  .cart-container{
    grid-template-columns:1fr;
  }

  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }
}

@media(max-width:600px){
  .navbar{
    padding:14px 20px;
  }

  .hero h1{
    font-size:32px;
  }

  .section{
    padding:40px 20px;
  }

  .card img{
    height:220px;
  }
}