/* GLOBAL */
body{
  background:#121212;
  color:#fff;
  font-family:Montserrat,sans-serif;
  margin:0;
  padding-bottom:150px;
}

/* =========================
   HEADER (STICKY)
   ========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 1200;

  height: 110px;                 /* FIXED HEIGHT */
  background:#121212;
  border-bottom:1px solid #2a2a2a;

  display:flex;
  justify-content:center;
  align-items:center;
  padding:0;
}

.header img{
  max-height:75px;
  width:auto;
  height:auto;
}

/* =========================
   CATEGORY SCROLL (STICKY)
   ========================= */
.cat-scroll{
  position: sticky;
  top: 111px;                    /* SAME AS HEADER HEIGHT */
  z-index: 1100;

  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:10px 12px;

  background:#121212;
  border-bottom:1px solid #2a2a2a;
}

/* Hide scrollbar */
.cat-scroll::-webkit-scrollbar{display:none;}
.cat-scroll{
  scrollbar-width:none;
}

/* Category buttons */
.cat-scroll button{
  flex:0 0 auto;
  padding:8px 14px;
  border-radius:999px;

  border:1px solid #2a2a2a;
  background:#1f1f1f;
  color:#fff;

  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}

.cat-scroll button.active{
  color:#FFC107;
  border-color:#FFC107;
}

/* =========================
   MENU SECTIONS
   ========================= */
h2{
  color:#FFC107;
  border-bottom:2px solid #FFC107;
  margin:40px 0 10px;
  font-size: 22px;
}

.menu-section{
  max-width:900px;
  margin:auto;
  padding:0 15px;

  /* OFFSET FOR STICKY HEADER + CAT BAR */
  scroll-margin-top: 180px;
}

/* =========================
   MENU ITEMS
   ========================= */
.item{
  background:#1f1f1f;
  margin:10px 0;
  border-radius:10px;
  border:1px solid #2a2a2a;
}

.item-header{
  display:flex;
  justify-content:space-between;
  padding:14px;
  cursor:pointer;
  font-weight:600;
}

/* Dropdown */
.dropdown{
  display:none;
  border-top:1px solid #2a2a2a;
  padding:12px;
}

.dropdown-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* Quantity */
.qty{
  display:flex;
  align-items:center;
  gap:8px;
}

.qty button{
  background:#b80000;
  color:#fff;
  border:none;
  padding:6px 10px;
  border-radius:6px;
  font-size:16px;
}

.qty .count{
  min-width:22px;
  text-align:center;
  font-weight:700;
}

/* Add button */
.add-btn{
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #FFC107;
    background: #1f1f1f;
    color: #FFC107;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* =========================
   ORDER BAR (FIXED BOTTOM)
   ========================= */
#order-bar{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  background:#1f1f1f;
  border-top:1px solid #333;
  padding:12px;
}

#order-bar .row{
  max-width:900px;
  margin:auto;

  display:flex;
  flex-direction:column;   /* STACK */
  align-items:center;
  gap:10px;                /* space between Cart & button */
  text-align:center;
}

#summary{
  font-size:14px;
}

#send-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #25D366;
    background: #1f1f1f;
    color: #25D366;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* =========================
   POPUP
   ========================= */
#popup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  z-index:2000;
}

#popup .box{
  background:#1f1f1f;
  max-width:320px;
  margin:20vh auto;
  padding:20px;
  border-radius:12px;
  text-align:center;
}

#popup button{
  margin:6px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #FFC107;
  background: #1f1f1f;
  color: #FFC107;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap; 
}

input{
  width:100%;
  padding:8px;
  border-radius:6px;
  border:none;
  margin-top:10px;
}

/* SOCIAL BAR */
.social-bar{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;

  padding:10px 0;
  background:#121212;
  border-bottom:1px solid #2a2a2a;
}

.social-bar a{
  width:36px;
  height:36px;
  display:flex;
  justify-content:center;
  align-items:center;

  border-radius:50%;
  background:#1f1f1f;
  border:1px solid #2a2a2a;
  color:#FFC107;            /* pizza yellow */
  transition:transform .15s ease, background .15s ease;
}

.social-bar a:hover{
  transform:translateY(-2px);
  background:#FFC107;
  color:#000;
}

.social-bar svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:#ffffff;
  stroke-width:2;
}

.item.unavailable {
  opacity: 0.45;
  pointer-events: none;
}

.item .badge {
  background: #b71c1c;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 8px;
}
/* APP-LIKE BEHAVIOR */
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-tap-highlight-color: transparent; /* removes blue tap highlight */
  -webkit-touch-callout: none; /* disables iOS long-press menu */
}

/* Allow interaction normally */
button, a, svg {
  user-select: none;
  -webkit-user-select: none;
}

/* IMPORTANT: allow typing & selecting in inputs */
input, textarea {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}
