:root{
  --bg1:#4b1717;
  --bg2:#2b0c0c;
  --text:#f5f5f5;
  --muted:rgba(255,255,255,.70);
  --line:rgba(255,255,255,.10);
  --shadow:0 22px 60px rgba(0,0,0,.35);
  --cardShadow:0 18px 40px rgba(0,0,0,.40);
  --radius:18px;
  --radius2:14px;
  --wa:#25D366;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 50% -20%, rgba(255,255,255,.08), transparent 65%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  min-height:100vh;
}

.container{
  width:100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

/* topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(43,12,12,.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 0;
}
.brand{
  font-weight: 900;
  font-size: 24px;
  letter-spacing: .4px;
  text-decoration:none;
  color: var(--text);
}
.navlinks{
  display:flex;
  gap: 22px;
}
.navlinks a{
  text-decoration:none;
  color: var(--text);
  opacity: .9;
  font-weight: 700;
}
.navlinks a:hover{opacity:1}

/* grid like template */
.hero{ padding: 56px 0 40px; }
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items:stretch;
}
@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .hero{ padding-top: 32px; }
  .grid{ grid-template-columns: 1fr; gap: 16px; }
}

/* category card */
.card{
  position: relative;
  height: 150px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--cardShadow);
  border: 1px solid rgba(255,255,255,.08);
  transform: translateZ(0);
}
.card img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05);
}
.card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.62));
}
.card .label{
  position:absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 22px;
  font-weight: 900;
  text-shadow: 0 10px 22px rgba(0,0,0,.55);
}
.card:hover{
  transform: translateY(-2px);
}

/* about */
.about{
  padding: 24px 0 40px;
  max-width: 780px;
}
.about h2{
  margin:0 0 10px;
  font-size: 22px;
  letter-spacing:.2px;
}
.about p{
  margin:0;
  color: var(--muted);
  line-height: 1.7;
}

/* footer */
.footer{
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
}

/* modal */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 200;
}
.modal.show{ display:block; }
.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}
.modal-card{
  position:relative;
  width:min(760px, calc(100% - 28px));
  margin: 70px auto;
  border-radius: 22px;
  background: rgba(25,10,10,.92);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.modal-title{
  font-size: 22px;
  font-weight: 950;
}
.modal-sub{
  margin-top: 4px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  font-weight: 700;
}

.iconbtn{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor:pointer;
}

.modal-search{
  display:flex;
  gap:10px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.modal-search input{
  width:100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  outline:none;
}
.btn-ghost{
  padding: 12px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-weight: 800;
  cursor:pointer;
}

.modal-body{
  padding: 14px 18px 18px;
  max-height: min(62vh, 520px);
  overflow:auto;
}
.item{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: 10px;
}
.item:first-child{ margin-top:0; }
.item-name{ font-weight: 900; }
.item-desc{
  margin-top: 4px;
  color: rgba(255,255,255,.70);
  font-size: 12.5px;
  line-height: 1.4;
}
.item-price{ font-weight: 950; white-space: nowrap; }

.modal-foot{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration:none;
  font-weight: 900;
}
.brand-logo img{
  height: 100px;   /* istersen 50 yap */
  width: auto;
  display: block;
}