*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}
html {
  scroll-behavior: smooth;
}
:root {
  --primary: #e63946;     
  --dark: #111111;        
  --bg: #f8f8f8;          
  --card: #ffffff;
  --text: #222222;
  --muted: #777777;
}
body{
  font-family:sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar{
  position:sticky;
  top:0;
  z-index:1000;
  background: var(--dark);
  color:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 10px;
}

.main-head{
  font-size:clamp(16px,5vw,22px);
  font-weight:600;
}

.order{
   background: var(--primary);
  padding:8px 18px;
  border-radius:20px;
  font-size:clamp(14px,5vw,17px);
  white-space: nowrap;
  text-decoration: none;
  color: white;
}


/* HERO */
.container{
  padding:20px 16px;
  max-width:1000px;
  margin:auto;
}

.item1{
  font-size:clamp(28px,8vw,48px);
  font-weight:700;
  color:#0f5132;
  line-height:1.1;
}

.yep{
  display: flex;
  flex-direction: row;
}

.chicken{
  font-size: clamp(18px, 7vw, 28px);
  font-weight: 500;
  color:#198754;
  margin-left: 4px;
  display: block;
  margin-top: -5px;
}


.container h2{
  margin-top:10px;
  font-size:clamp(16px,5.8vw,22px);
}

.container p{
  margin-top:10px;
  color:#555;
  font-size:clamp(13px,4.5vw,16px);
  line-height:1.6;
}
.hero{
  display:flex;
  /* justify-content: center; */
  align-items: center;
  flex-direction:column;
  gap:15px;
}

.hero-img img{
  max-width: 300px;
  width:100%;
  border-radius:12px;
}

/* Desktop view */
@media(min-width:700px){
  .hero{
    flex-direction:row;
    margin-right: -310px;
  }

  .hero-text{
    flex:1;
  }

  .hero-img{
    flex:1;
  }
}
/* PRICE CARD */
.price-card{
  margin-top:20px;
  background:white;
  padding:16px;
  border-radius:14px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  border-left:5px solid #198754;
  max-width:300px;
}

.price-card p{
  margin:4px 0;
}

.price-card p:first-child{
  color:red;
  text-decoration:line-through;
  font-size:clamp(9px,5vw,20px);
}

.price-card p:last-child{
  color:#198754;
  font-weight:600;
  font-size:clamp(9px,5vw,20px);
}

.livebird{
  display: flex;
 
 
  
}
.livebird p{
  padding: 5px;
  border-radius: 12px;
  font-size:clamp(9px,5vw,16px) ;
   background-color: var(--primary);
}
/* BUTTON */
.buttons{
  margin-top:15px;
  display:inline-block;
  text-decoration: none;
}

.buttons p{
  background:#198754;
  color:white;
  padding:10px 18px;
  border-radius:8px;
  font-weight:600;
  text-align:center;
}

.buttons p:hover{
  background:#146c43;
}

/* MENU */
.menu{
  text-align:center;
  font-size:22px;
  margin-top:30px;
  color:#0f5132;
  font-weight:600;
}

/* CARDS GRID */
.content{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  /* padding:20px 16px; */
  padding: 25px;
  max-width:1100px;
  margin:auto;
}

/* CARD */
.card1{
  background: var(--card);
  border: 1px solid #eee;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  transition:0.3s;
  
}

.card1:hover{
  transform:translateY(-5px);
}

.card1 img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  max-width:100%;
  height:auto;
  aspect-ratio:4/3;
 
 
}

@media(min-width:600px){
  .card1 img{
     aspect-ratio:4/3;
  }
}

/* TEXT */
.fresh{
  font-size:clamp(9px,6vw,16px);
  font-weight:600;
  margin:10px;
}
.price p{
   margin-left: 12px;
   margin-bottom: 5px;
   font-size: clamp(6px,6vw,20px);
}
.place{
  font-size:14px;
  margin:0 10px;
  color:#777;
}
.order-now{
  font-size: clamp(14px,6vw,17px);
}
/* WHATSAPP BUTTON */
.whatsapp-btn{
  margin:12px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  background: var(--primary);
  color:white;
  padding:8px;
  border-radius:6px;
  text-decoration:none;
  font-size:14px;
  cursor: pointer;
  border: none;
  width: calc(100% - 24px);
}

.whatsapp-btn:hover{
     background: #c92a36;
}

.whatsapp-btn img{
  width:16px;
  height:16px;
}

/* BRANCH */
.branches{
  text-align:center;
  margin-top:30px;
  font-size:20px;
  color:#0f5132;
  font-weight:600;
}

/* LOCATION */
.location{
  display:grid;
  grid-template-columns:1fr;
  gap:15px;
  padding:20px 16px;
  max-width:1000px;
  margin:auto;
}

.location-card{
  background:white;
  padding:14px;
  border-radius:10px;
  box-shadow:0 3px 10px rgba(0,0,0,0.1);
}
.location-card i{
  padding-right: 5px;
  
}
.location-card h4{
  color:#0f5132;
}

.location-card p{
  font-size:14px;
  margin:5px 0;
}

.location-card a{
  text-decoration:none;
   color: var(--primary);
  font-size:14px;
}

/* FOOTER */
.footer{
  background:#111;
  color:white;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.hkbn{
  display:flex;
  align-items:center;
  gap:10px;
}

.hkbn img{
  width: 27vw;
  max-width: 100px;
  height:auto;
  border-radius:6px;
}

.hkbn p{
  font-size:18px;
}

.social-logo{
  display:flex;
  gap:15px;
  font-size:clamp(7px,6.5vw,24px);
  
}

.social-logo i{
  background:#222;
  padding:8px;
  border-radius:50%;
  color: white;
}

/* QUICK LINKS */
.quick{
  margin-top:10px;
  color: white;
}

.lists{
  margin-top:5px;
}

li{
  list-style:none;
  font-size:clamp(14px,5vw,16px);
  margin-top:7px;
}

/* COPYRIGHT */
.last-text{
  text-align:center;
  font-size:13px;
  margin-top:10px;
}
/* POPUP BACKGROUND */
.popup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
 /* background: white; */
  background: rgba(0,0,0,0.35);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:2000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* POPUP BOX */
.popup-content{
  background:white;
  width:90%;
  max-width:350px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding:20px;
  border-radius:12px;
  position:relative;
  box-sizing: border-box;
}

/* CLOSE BUTTON */
.close-btn{
  position:absolute;
  top:10px;
  right:12px;
  cursor:pointer;
}

/* INPUTS */
.popup-content label{
  display:block;
  margin-top:10px;
  font-weight:500;
}

.qty-box{
  display:flex;
  align-items: center;
  gap:8px;
  margin-top:5px;
  width: 100%;
  overflow: hidden;
}

.qty-box button{
  width: 46px;
  min-width: 46px;
  height: 40px;
  padding:12px 17px;
  border:none;
  padding: 0;
  background:#198754;
  color:white;
  border-radius:6px;
  font-size: 22px;
  flex-shrink: 0;
}

.qty-box input{
  flex:1;
  min-width: 0;
  width: 100%;
  padding:6px;
  text-align:center;
  box-sizing: border-box;
  font-size: 16px;
  /* font-size: clamp(9px,7vw,17px); */
}
.sub-total{
    margin-top: 10px;
    /* font-size: clamp(4px,99vw,9px); */
}

.deliv{
    margin-top: 5px;
}

.freemsg{
      margin-top: 5px;
      margin-bottom: 5px;
}

.method{
    margin-bottom: 5px;
}
.live{
    padding: 5px;
    font-size: clamp(12px,4vw,16px);
    color: blue;
    background-color: rgb(164, 235, 163);
    cursor: pointer;
    max-width: 100%;
    width: fit-content;
    box-sizing: border-box;
}
/* ADDRESS */
textarea{
  width:100%;
  margin-top:5px;
  padding:8px;
  border-radius:6px;
  border:1px solid #ccc;
}

/* BUTTON */
.confirm-btn{
  margin-top:15px;
  width:100%;
  padding:11px;
   background: var(--primary);
  color:white;
  border:none;
  border-radius:8px;
  font-weight:600;
  font-size: clamp(15px,7vw,14px);
}

#eggSelect{
  width:100%;
  padding:8px;
  margin-top:5px;
  border-radius:6px;
  border:1px solid #ccc;
}

h1, h2, h3 {
  color: #1a1a1a;
  font-weight: 700;
}

.highlight {
  color: var(--primary);
}

.stock-text{
  color:red;
  font-weight:bold;
  margin-top:5px;
}



.out-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 14px;
}

.error-border {
  border: 2px solid red !important;
}

.error-text {
  color: red;
  font-size: clamp(9px,4vw,18px);
  margin-top: 5px;
}

.location-hint{
  color: #666;
  /* margin-top: 4px; */
  background: #f1f1f1;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}
.location-hint{
  font-size: clamp(7px,5vw,14px);
  color: #2e7d32;
  margin-top: 2.5px;
  background: #e8f5e9;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
  border-left: 3px solid #2e7d32;
  border-right: 3px solid #2e7d32;
}





/* RESPONSIVE */
@media(min-width:600px){
  .content{
    grid-template-columns:repeat(2,1fr);
  }

  .location{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(min-width:1000px){
  .content{
    grid-template-columns:repeat(3,1fr);
  }

  .location{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width: 330px){
  .popup-content{
    width: 95%;
    max-width: 300px;
    max-height: 88vh;
    padding: 12px;
    border-radius: 10px;
  }

  .popup-content h3{
    font-size: 16px;
  }

  .popup-content h4{
    font-size: 15px;
  }

  .popup-content label,
  .sub-total,
  .deliv,
  .freemsg{
    font-size: 13px;
  }

  .qty-box{
    gap: 6px;
  }

  .qty-box button{
    padding: 8px 12px;
    font-size: 14px;
  }

  .qty-box input{
    font-size: 14px;
    padding: 5px;
  }

  #payment,
  #eggSelect,
  textarea{
    font-size: 12px;
    padding: 2px;
  }

  .confirm-btn{
    padding: 9px;
    font-size: 14px;
  }

  .live{
    width: 100%;
    margin-top: 8px;
    font-size: 13px;
    padding: 8px;
  }

  .close-btn{
    top: 8px;
    right: 10px;
    font-size: 14px;
  }
}
@media (max-height: 600px){
  .popup{
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .popup-content{
    max-height: 85vh;
    overflow-y: auto;
  }
}

@media(max-width:480px){
  .live{
    width: 100%;
    text-align: center;
  }
}

@media(max-width:480px){
  .popup-content{
    width: 94%;
    padding: 16px;
  }
  .qty-box{
    gap: 6px;
  }

  .qty-box button{
            width: 40px;
            min-width: 40px;
            height: 40px;
            font-size: 20px;
  }

  .qty-box input{
    font-size: 15px;
    padding: 8px;
  }
  
}
