*{box-sizing:border-box}
body{margin:0;font-family:Arial,system-ui;background:#d7d1c7;color:#111}

/* container */
.container{max-width:1100px;margin:0 auto;padding:22px}

/* poster card */
.poster{
  background:#ffffff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  border:1px solid rgba(0,0,0,.08);
}

/* top title area */
.poster-top{
  padding:22px 18px 10px;
  text-align:center;
}
.poster-top h1{margin:0;font-size:38px;letter-spacing:2px}
.poster-top .sub{margin:6px 0 0;color:#333;letter-spacing:1px}

/* hero image */
.hero{
  position:relative;
  height:260px;
  background:#222;
}
.hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero .hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.65));
}
.hero .hero-title{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  text-align:center;
  color:#e8dfcf;
}
.hero .hero-title .big{
  font-size:52px;
  letter-spacing:10px;
  font-weight:800;
}
.hero .hero-title .small{
  margin-top:6px;
  font-size:14px;
  opacity:.9;
  letter-spacing:1px;
}

/* category bar */
.catbar{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:0;
  background:#cbbfaa;
  border-top:1px solid rgba(0,0,0,.15);
}
.catbar div{
  padding:10px 12px;
  text-align:center;
  font-weight:800;
  letter-spacing:4px;
  color:#1b1b1b;
  border-right:1px solid rgba(0,0,0,.12);
}
.catbar div:last-child{border-right:none}

/* columns area */
.cols{
  background:linear-gradient(#233018, #0e1b10);
  padding:18px;
}
.cols-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
}
@media(max-width:980px){
  .hero{height:220px}
  .cols-grid{grid-template-columns:1fr}
  .catbar{grid-template-columns:1fr}
  .catbar div{border-right:none;border-bottom:1px solid rgba(0,0,0,.12)}
}

/* each column box */
.col{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  min-height:200px;
}
.col-title{
  text-align:left;
  color:#e8dfcf;
  font-weight:900;
  letter-spacing:4px;
  margin:0 0 10px;
}

/* item cards */
.item{
  position:relative;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:12px;
}
.item:last-child{margin-bottom:0}
.item-img{
  width:100%;
  height:140px;
  object-fit:cover;
  display:block;
  background:#000;
}
.item-body{padding:10px 10px 12px}
.item-name{
  color:#f4eddc;
  font-weight:900;
  font-size:16px;
  margin:0 0 6px;
}
.item-desc{
  color:rgba(244,237,220,.82);
  font-size:12.5px;
  line-height:1.4;
  margin:0 0 8px;
  min-height:34px;
}
.item-price{
  color:#f4eddc;
  font-weight:900;
  font-size:16px;
}

/* badge (BEST PRICE / BEST NEW / etc.) */
.badge{
  position:absolute;
  right:10px;
  top:10px;
  background:#a11414;
  color:#fff;
  width:78px;
  height:78px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:900;
  letter-spacing:1px;
  transform:rotate(12deg);
  box-shadow:0 10px 18px rgba(0,0,0,.35);
  border:2px solid rgba(255,255,255,.18);
  font-size:12px;
}
.badge small{display:block;font-size:10px;opacity:.95}
.unavailable{opacity:.55}

/* bottom contact bar */
.footerbar{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:0;
  background:#0b140c;
  color:#e8dfcf;
  border-top:1px solid rgba(255,255,255,.10);
}
.footerbar .cell{
  padding:14px 16px;
  border-right:1px solid rgba(255,255,255,.10);
}
.footerbar .cell:last-child{border-right:none}
.footerbar .label{
  font-weight:900;
  letter-spacing:4px;
  margin-bottom:6px;
  opacity:.9;
}
.footerbar .muted{opacity:.85}
.footerbar .right{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.btn-admin{
  display:inline-block;
  padding:8px 12px;
  border-radius:10px;
  background:#e8dfcf;
  color:#111;
  text-decoration:none;
  font-weight:900;
}
/* cart button */
.cart-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;
  background:#111;
  color:#fff;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  padding:12px 14px;
  font-weight:900;
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(0,0,0,.25);
}
.cart-badge{
  background:#e8dfcf;
  color:#111;
  min-width:28px;
  height:28px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

/* add button */
.add-btn{
  margin-top:10px;
  width:100%;
  border:none;
  cursor:pointer;
  padding:10px 12px;
  border-radius:12px;
  font-weight:900;
  background:#e8dfcf;
  color:#111;
}
.add-btn:hover{filter:brightness(.95)}

/* cart modal */
.modal{
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:flex-end;
  justify-content:center;
  z-index:9998;
}
.modal.open{display:flex}
.sheet{
  width:min(980px, 100%);
  background:#fff;
  border-radius:18px 18px 0 0;
  max-height:85vh;
  overflow:auto;
  border:1px solid rgba(0,0,0,.08);
}
.sheet-head{
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  border-bottom:1px solid #eee;
}
.sheet-title{font-weight:900;font-size:16px}
.sheet-close{
  border:1px solid #ddd;
  background:#fff;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:900;
}
.cart-list{padding:12px 16px}
.cart-row{
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid #f1f1f1;
}
.cart-row img{
  width:58px;height:58px;
  border-radius:12px;
  object-fit:cover;
  background:#eee;
}
.cart-name{font-weight:900}
.cart-sub{color:#666;font-size:13px}
.qty-box{
  display:flex; align-items:center; gap:8px;
  margin-left:auto;
}
.qty-btn{
  width:34px;height:34px;border-radius:10px;
  border:1px solid #ddd;background:#fff;cursor:pointer;
  font-weight:900;
}
.qty-val{
  min-width:38px;text-align:center;font-weight:900;
}
.cart-foot{
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #eee;
}
.order-btn{
  border:none; cursor:pointer;
  padding:10px 14px;border-radius:12px;
  background:#111;color:#fff;font-weight:900;
}

