:root{
  --bg:#0a0908;
  --bg-alt:#121110;
  --panel:#17140f;
  --panel-2:#1c1812;
  --gold:#d4af37;
  --gold-hi:#f3dd94;
  --gold-lo:#8a6a1f;
  --ember:#8a1f1f;
  --ember-hi:#c73030;
  --text:#f3ecd9;
  --text-dim:#b9ab8a;
  --text-faint:#7d715a;
  --line: rgba(212,175,55,0.28);
  --shadow: 0 10px 30px rgba(0,0,0,0.55);
  --radius: 16px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(212,175,55,0.08), transparent 60%),
    radial-gradient(800px 500px at 90% 20%, rgba(138,31,31,0.06), transparent 60%),
    var(--bg);
  color:var(--text);
  font-family:'Poppins', sans-serif;
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.display{font-family:'Cormorant Garamond', serif;}
.eyebrow{font-family:'Marcellus', serif; letter-spacing:0.32em; text-transform:uppercase;}

::selection{background:var(--gold); color:#1a1508;}

/* ---------- utility ---------- */
.container{max-width:1080px; margin:0 auto; padding:0 20px;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer;}

/* ---------- ember texture divider ---------- */
.ember-divider{
  display:flex; align-items:center; justify-content:center; gap:14px;
  margin:10px auto 34px; opacity:0.9;
}
.ember-divider .line{height:1px; width:64px; background:linear-gradient(90deg, transparent, var(--gold), transparent);}
.ember-divider .dot{width:6px; height:6px; border-radius:50%; background:var(--gold); box-shadow:0 0 10px 2px rgba(212,175,55,0.6);}

/* ---------- header ---------- */
header.hero{
  position:relative;
  padding:56px 20px 40px;
  text-align:center;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(212,175,55,0.10), transparent 70%);
}
.hero-emblem{
  width:74px; height:74px; margin:0 auto 18px;
  border:1px solid var(--gold-lo);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  position:relative;
  animation: emberGlow 3.4s ease-in-out infinite;
}
.hero-emblem::before{
  content:"";
  position:absolute; inset:-6px;
  border:1px solid rgba(212,175,55,0.25);
  border-radius:50%;
}
.hero-emblem svg{width:34px; height:34px;}
@keyframes emberGlow{
  0%,100%{ box-shadow:0 0 0px 0px rgba(212,175,55,0.0);}
  50%{ box-shadow:0 0 22px 3px rgba(212,175,55,0.28);}
}
.brand-name{
  font-size:clamp(2.4rem, 7vw, 4.2rem);
  margin:0;
  font-weight:700;
  letter-spacing:0.02em;
  background:linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 2px 22px rgba(212,175,55,0.18);
}
.brand-tagline{
  margin:10px 0 22px;
  color:var(--text-dim);
  font-size:0.82rem;
  letter-spacing:0.24em;
  text-transform:uppercase;
}
.brand-meta{
  display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center;
  color:var(--text-dim); font-size:0.86rem; margin-bottom:26px;
}
.brand-meta span{display:inline-flex; align-items:center; gap:6px;}
.brand-meta b{color:var(--gold-hi); font-weight:500;}

.cta-row{display:flex; flex-wrap:wrap; gap:12px; justify-content:center;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 20px;
  border-radius:999px;
  font-size:0.82rem;
  letter-spacing:0.06em;
  font-weight:500;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.02);
  color:var(--text);
  transition:transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn svg{width:16px; height:16px; flex:none;}
.btn:hover{transform:translateY(-2px); border-color:var(--gold); box-shadow:0 8px 24px rgba(212,175,55,0.15);}
.btn-gold{
  background:linear-gradient(180deg, var(--gold-hi), var(--gold) 70%);
  color:#1c1608; border-color:transparent; font-weight:600;
}
.btn-gold:hover{box-shadow:0 10px 26px rgba(212,175,55,0.35);}
.btn-outline-red{border-color:rgba(199,48,48,0.5); color:#f0b9b9;}
.btn-outline-red:hover{border-color:var(--ember-hi); box-shadow:0 8px 22px rgba(199,48,48,0.2);}

/* ---------- sticky category nav ---------- */
.catnav-wrap{
  position:sticky; top:0; z-index:40;
  background:rgba(10,9,8,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.catnav{
  display:flex; gap:8px; overflow-x:auto; padding:14px 20px;
  scrollbar-width:none;
}
.catnav::-webkit-scrollbar{display:none;}
.catnav a{
  flex:none; padding:8px 16px; border-radius:999px;
  border:1px solid var(--line); font-size:0.78rem;
  letter-spacing:0.05em; color:var(--text-dim);
  white-space:nowrap; transition:all .2s ease;
}
.catnav a.active, .catnav a:hover{
  color:#1c1608; background:var(--gold); border-color:var(--gold);
}

/* ---------- sections ---------- */
.menu-section{padding:52px 0 10px;}
.section-head{text-align:center; margin-bottom:8px;}
.section-icon{font-size:1.7rem; display:block; margin-bottom:6px; filter:drop-shadow(0 0 10px rgba(212,175,55,0.35));}
.section-title{
  font-size:clamp(1.7rem, 4vw, 2.3rem); margin:0; font-weight:700;
  color:var(--gold-hi);
}
.section-sub{color:var(--text-faint); font-size:0.78rem; letter-spacing:0.14em; text-transform:uppercase; margin-top:4px;}

.grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr));
  gap:16px; margin-top:26px;
}

.item-card{
  position:relative;
  background:linear-gradient(160deg, var(--panel-2), var(--panel));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.item-card:hover{
  transform:translateY(-3px);
  border-color:rgba(212,175,55,0.55);
  box-shadow:var(--shadow);
}
.item-top{display:flex; justify-content:space-between; align-items:flex-start; gap:10px;}
.item-name{font-family:'Marcellus', serif; font-size:1.02rem; color:var(--text); line-height:1.3;}
.item-tag{
  font-size:0.62rem; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--gold-lo); border:1px solid var(--gold-lo); border-radius:6px;
  padding:2px 6px; margin-left:8px; white-space:nowrap;
}
.item-price-row{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:14px; gap:10px; flex-wrap:wrap;
}
.price-tag{color:var(--gold-hi); font-weight:600; font-size:1.05rem; font-family:'Cormorant Garamond', serif;}
.price-tag small{color:var(--text-faint); font-weight:400; font-size:0.68rem; letter-spacing:0.06em; display:block; margin-top:-2px;}

.add-btn{
  border:1px solid var(--gold); color:var(--gold-hi); background:transparent;
  padding:8px 16px; border-radius:999px; font-size:0.74rem; font-weight:600;
  letter-spacing:0.06em; transition:all .2s ease;
}
.add-btn:hover{background:var(--gold); color:#1c1608;}

.size-row{display:flex; gap:8px; margin-top:14px; flex-wrap:wrap;}
.size-btn{
  flex:1; min-width:118px;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  border:1px solid var(--line); border-radius:12px; padding:9px 8px;
  background:rgba(255,255,255,0.015); color:var(--text-dim);
  transition:all .2s ease;
}
.size-btn b{color:var(--gold-hi); font-family:'Cormorant Garamond', serif; font-size:1.05rem;}
.size-btn:hover{border-color:var(--gold); background:rgba(212,175,55,0.07); color:var(--text);}

.qty-stepper{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--gold-lo); border-radius:999px; padding:4px 6px;
}
.qty-stepper button{
  width:24px; height:24px; border-radius:50%; border:none;
  background:rgba(212,175,55,0.16); color:var(--gold-hi); font-size:0.95rem; line-height:1;
}
.qty-stepper button:hover{background:var(--gold); color:#1c1608;}
.qty-stepper span{min-width:16px; text-align:center; font-size:0.85rem; color:var(--text);}

/* combo card special */
.combo-card{border-color:rgba(199,48,48,0.4);}
.combo-card .item-name{color:var(--gold-hi);}
.combo-list{margin:10px 0 0; padding:0; list-style:none; font-size:0.78rem; color:var(--text-dim);}
.combo-list li{padding:2px 0; padding-left:14px; position:relative;}
.combo-list li::before{content:"·"; position:absolute; left:0; color:var(--gold);}

/* ---------- floating cart button ---------- */
.cart-fab{
  position:fixed; right:18px; bottom:18px; z-index:60;
  background:linear-gradient(180deg, var(--gold-hi), var(--gold));
  color:#1c1608; border:none; border-radius:999px;
  padding:14px 20px; display:flex; align-items:center; gap:10px;
  box-shadow:0 10px 30px rgba(212,175,55,0.35);
  font-weight:600; font-size:0.88rem;
  transition:transform .2s ease;
}
.cart-fab:hover{transform:translateY(-2px);}
.cart-fab .badge{
  background:var(--ember-hi); color:#fff; border-radius:999px;
  min-width:20px; height:20px; display:flex; align-items:center; justify-content:center;
  font-size:0.72rem; padding:0 5px;
}
.cart-fab svg{width:18px; height:18px;}

/* ---------- cart drawer ---------- */
.overlay{
  position:fixed; inset:0; background:rgba(0,0,0,0.6); backdrop-filter:blur(2px);
  z-index:70; opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.overlay.open{opacity:1; pointer-events:auto;}

.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(420px, 100%);
  background:linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-left:1px solid var(--line);
  z-index:80; transform:translateX(100%); transition:transform .35s cubic-bezier(.2,.8,.2,1);
  display:flex; flex-direction:column;
}
.drawer.open{transform:translateX(0);}
.drawer-head{
  padding:20px; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
}
.drawer-head h3{margin:0; color:var(--gold-hi); font-size:1.4rem;}
.close-btn{
  background:none; border:1px solid var(--line); color:var(--text-dim);
  width:32px; height:32px; border-radius:50%; font-size:1rem;
}
.close-btn:hover{border-color:var(--gold); color:var(--gold);}

.drawer-body{flex:1; overflow-y:auto; padding:16px 20px;}
.empty-cart{
  text-align:center; color:var(--text-faint); padding:60px 10px; font-size:0.9rem;
}
.cart-line{
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 0; border-bottom:1px solid rgba(212,175,55,0.12);
  gap:10px;
}
.cart-line-name{font-family:'Marcellus', serif; font-size:0.9rem; color:var(--text);}
.cart-line-sub{font-size:0.7rem; color:var(--text-faint); margin-top:2px;}
.cart-line-right{display:flex; align-items:center; gap:10px;}
.cart-line-price{color:var(--gold-hi); font-size:0.88rem; min-width:56px; text-align:right;}
.remove-x{background:none; border:none; color:var(--text-faint); font-size:1rem;}
.remove-x:hover{color:var(--ember-hi);}

.order-type-row{display:flex; gap:8px; margin:14px 0 6px;}
.order-type-row button{
  flex:1; padding:9px 6px; border-radius:10px; border:1px solid var(--line);
  background:transparent; color:var(--text-dim); font-size:0.74rem; letter-spacing:0.03em;
}
.order-type-row button.active{background:var(--gold); color:#1c1608; border-color:var(--gold); font-weight:600;}

.field{margin-top:12px;}
.field label{display:block; font-size:0.72rem; letter-spacing:0.06em; color:var(--text-faint); margin-bottom:6px; text-transform:uppercase;}
.field input{
  width:100%; padding:11px 12px; border-radius:10px;
  border:1px solid var(--line); background:rgba(255,255,255,0.02); color:var(--text);
  font-family:'Poppins', sans-serif; font-size:0.88rem;
}
.field input:focus{outline:none; border-color:var(--gold);}

.drawer-foot{border-top:1px solid var(--line); padding:16px 20px 20px;}
.total-row{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px;}
.total-row span{color:var(--text-dim); font-size:0.82rem; letter-spacing:0.06em; text-transform:uppercase;}
.total-row b{color:var(--gold-hi); font-family:'Cormorant Garamond', serif; font-size:1.7rem;}
.wa-btn{
  width:100%; padding:15px; border-radius:12px; border:none;
  background:linear-gradient(180deg, #2fce6a, #21a854);
  color:#06210f; font-weight:700; font-size:0.92rem; letter-spacing:0.03em;
  display:flex; align-items:center; justify-content:center; gap:10px;
  box-shadow:0 10px 26px rgba(33,168,84,0.3);
}
.wa-btn:hover{filter:brightness(1.06);}
.wa-btn:disabled{opacity:0.45; filter:none; box-shadow:none; cursor:not-allowed;}
.hint{font-size:0.68rem; color:var(--text-faint); text-align:center; margin-top:10px;}

/* ---------- footer ---------- */
footer{
  margin-top:60px; padding:50px 20px 40px; text-align:center;
  border-top:1px solid var(--line);
  background:radial-gradient(600px 200px at 50% 100%, rgba(212,175,55,0.06), transparent 70%);
}
footer .brand-name{font-size:1.9rem; margin-bottom:10px;}
footer .foot-meta{color:var(--text-dim); font-size:0.85rem; line-height:2;}
footer .foot-meta b{color:var(--gold-hi); font-weight:500;}
.footer-cta{margin-top:24px;}

/* ---------- toast ---------- */
.toast{
  position:fixed; left:50%; bottom:90px; transform:translate(-50%, 20px);
  background:var(--gold); color:#1c1608; padding:10px 18px; border-radius:999px;
  font-size:0.8rem; font-weight:600; z-index:90; opacity:0; pointer-events:none;
  transition:all .3s ease; box-shadow:0 8px 24px rgba(212,175,55,0.4);
}
.toast.show{opacity:1; transform:translate(-50%, 0);}

@media (max-width:600px){
  .container{padding:0 14px;}
  .cart-fab{padding:12px 16px; font-size:0.8rem;}
}
