:root{
  --bg:#fbfcfe;
  --card:#ffffff;
  --text:#0f1720;
  --muted:#6b7280;
  --accent: #d96400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing:antialiased;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: linear-gradient(180deg,#ffffff 0%, var(--bg) 100%);
  color:var(--text);
  font-size:16px;
  line-height:1.4;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* Topbar */
.topbar{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:12px;
  background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
  border-bottom:1px solid rgba(15,23,32,0.04);
  backdrop-filter: blur(6px);
}
.logo-wrap{width:100%;display:flex;justify-content:center}
.logo{
  height:68px;
  max-width:220px;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}
.actions{width:100%;display:flex;justify-content:center;padding:0 14px}
input[type="search"]{
  width:100%;
  max-width:520px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(15,23,32,0.06);
  font-size:14px;
  background:linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

/* Container */
.container{
  padding:14px;
  padding-bottom:20px;
  flex:1 0 auto;
}

/* Current category sticky bar (appears as you scroll) */
.current-category{
  position:sticky;
  top:0; /* will stick under top of viewport */
  z-index:20;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  margin-bottom:8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.90));
  border-radius:10px;
  border: 1px solid rgba(15,23,32,0.04);
  box-shadow: 0 6px 18px rgba(12,18,28,0.04);
  opacity:0;
  transform: translateY(-6px);
  transition: opacity .24s ease, transform .24s cubic-bezier(.2,.9,.2,1);
  pointer-events:none;
}
.current-category.visible{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.current-category .label{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
  opacity:0.9;
}
.current-category .name{
  font-size:18px;
  font-weight:900;
  color:var(--text);
  letter-spacing:0.2px;
}

/* Categories (top pills) */
.categories{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.category-pill{
  padding:8px 14px;border-radius:999px;background:linear-gradient(90deg,#fff4ef,#fffaf7);
  color:var(--text);font-weight:700;font-size:14px;border:none;cursor:pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.04);
}
.category-pill.active{
  background:linear-gradient(90deg,var(--accent), #ff9b55);
  color:white;
  box-shadow: 0 12px 36px rgba(217,100,0,0.18);
}

/* Items list and category header */
.items-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.category-header{padding:4px 0 0 0}
.category-title{
  margin:0 0 8px 4px;
  font-size:20px; /* LARGER category headers */
  font-weight:900;
  color:var(--text);
  letter-spacing:0.2px;
  background:linear-gradient(90deg, rgba(217,100,0,0.08), rgba(0,0,0,0));
  display:inline-block;
  padding:6px 10px;
  border-radius:8px;
}

/* Item card base */
.item-card{
  display:block;
  background:var(--card);
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 12px 36px rgba(12,18,28,0.06);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease;
}
.item-card:active, .item-card:hover{ transform: translateY(-6px); box-shadow: 0 26px 60px rgba(12,18,28,0.12); }

/* Image area */
.card-media{
  width:100%;
  height:180px;
  overflow:hidden;
  background:#f6f6f6;
  position:relative;
}
.card-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .6s ease, filter .3s ease;
}
.item-card:hover .card-img{ transform: scale(1.03); }

/* Placeholder badge (red) */
.placeholder-badge{
  position:absolute;
  left:10px;
  top:10px;
  z-index:40;
  background: linear-gradient(180deg, rgba(210,43,43,0.98), rgba(200,35,35,0.95));
  color: #fff;
  padding:6px 8px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.2px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Main area: text and price */
.card-main{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 14px;
}
.card-body{
  flex:1 1 auto;
  min-width:0;
}
.card-title{
  font-weight:800;
  font-size:16px;
  color:var(--text);
  margin-bottom:6px;
  display:block;
  overflow-wrap:break-word;
  word-break:break-word;
}
.card-desc{
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
  white-space: pre-wrap;
  overflow:visible;
  display:block;
  margin:0;
  padding:0;
  word-break:break-word;
}

/* Price — larger and prominent */
.card-price{
  flex:0 0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  min-width:100px;
}
.price-text{
  font-weight:900;
  color:var(--accent);
  font-size:18px;
  white-space:nowrap;
  line-height:1;
}
@media (min-width:900px){
  .price-text{font-size:20px}
}
.price-missing{color:var(--muted);font-weight:700}

/* ---- Special styling for drinks categories (no images, list with separators) ---- */
.item-card.no-image{
  border-radius:0;
  box-shadow:none;
  background:transparent;
  padding:10px 0;
}
.item-card.no-image .card-media{display:none}
.item-card.no-image .card-main{padding:8px 0 8px 0}
.item-card.no-image .card-body{padding-left:4px}
.item-card.list-item{
  border-bottom:1px dashed rgba(15,23,32,0.08); /* dashed/striped look for drinks lists */
}
.item-card.list-item.last-list-item{
  border-bottom: none;
}

/* Desktop layout */
@media (min-width:900px){
  .items-list{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:18px;
  }
  .item-card{display:flex;flex-direction:row;align-items:stretch}
  .card-media{flex:0 0 160px;height:100%;border-radius:12px 0 0 12px;margin:0}
  .card-img{height:100%}
  .card-main{flex:1;flex-direction:row;align-items:stretch;padding:0}
  .card-body{padding:16px;display:flex;flex-direction:column;justify-content:flex-start}
  .card-price{padding:12px 18px;align-items:flex-start}
  .placeholder-badge{
    left:12px;
    top:12px;
    padding:7px 9px;
    font-size:13px;
    border-radius:9px;
  }
  .current-category .name { font-size:20px; }
  .category-title { font-size:22px; padding:8px 12px; }
}

/* small visual helpers */
.card-title + .card-desc{margin-top:4px}

/* Accessibility */
.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}