:root{
  --bg:#0d0d0d;
  --paper:#f3f1ec;
  --paper-2:#fbfaf7;
  --ink:#141414;
  --muted:#6e746f;
  --line:rgba(20,20,20,.08);
  --green:#0f5a3a;
  --green-2:#137249;
  --green-soft:rgba(15,90,58,.10);
  --white:#fff;
  --radius:24px;
  --radius-sm:16px;
  --shadow:0 20px 50px rgba(0,0,0,.16);
  --max:1320px;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
}

body{
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--white);
}

button,
input,
select,
textarea{
  font:inherit;
}

a{
  color:inherit;
  text-decoration:none;
}

.wrap{
  width:min(calc(100% - 32px),var(--max));
  margin:0 auto;
  padding:26px 0 40px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--white);
  font-weight:700;
  font-size:14px;
  letter-spacing:.01em;
  backdrop-filter:blur(10px);
}

.lang-toggle{
  cursor:pointer;
}

.grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);
  gap:18px;
  align-items:start;
}

.panel{
  background:var(--paper);
  color:var(--ink);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.sticky{
  position:sticky;
  top:18px;
}

.panel-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:24px 24px 18px;
  border-bottom:1px solid var(--line);
}

.panel-title{
  margin:0 0 8px;
  font-size:clamp(1.45rem, 2vw, 2rem);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.03em;
  color:var(--ink);
}

.hint{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
  max-width:650px;
}

.action-chip{
  background:rgba(15,90,58,.70);
  border-color:rgba(255,255,255,.16);
  color:#fff;
  white-space:nowrap;
}

.seg{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
  padding:6px;
  background:#ece8de;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.05);
}

.seg-btn{
  appearance:none;
  border:0;
  background:transparent;
  color:#5f665f;
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.06em;
  cursor:pointer;
  transition:.18s ease;
}

.seg-btn:hover{
  color:var(--ink);
}

.seg-btn.is-active{
  background:var(--green);
  color:#fff;
  box-shadow:0 10px 20px rgba(15,90,58,.22);
}

.menu{
  padding:18px 24px 26px;
}

.cat{
  margin:20px 0 14px;
  color:var(--green);
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.12em;
  font-size:12px;
}

.cat:first-child{
  margin-top:0;
}

.card{
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px 18px 16px;
  margin-bottom:14px;
}

.row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.name{
  margin:0 0 8px;
  font-size:1.06rem;
  line-height:1.2;
  font-weight:900;
  color:var(--ink);
}

.desc{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.price{
  flex:0 0 auto;
  font-weight:900;
  font-size:1rem;
  color:var(--green);
  white-space:nowrap;
}

.controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:16px;
}

.left-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

.select{
  min-width:190px;
  max-width:100%;
  appearance:none;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  color:var(--ink);
  border-radius:12px;
  padding:11px 14px;
  outline:none;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:14px;
  min-height:46px;
  padding:0 16px;
  cursor:pointer;
  font-weight:800;
  transition:.18s ease;
}

.btn.primary{
  background:var(--green);
  color:#fff;
}

.btn.primary:hover{
  background:var(--green-2);
}

.btn.ghost{
  background:#ece8de;
  color:var(--ink);
}

.btn.ghost:hover{
  background:#e3dfd5;
}

.btn.small{
  min-height:40px;
  padding:0 14px;
  font-size:14px;
}

.cart{
  padding:18px 24px 14px;
}

.pickup-box{
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  margin-bottom:14px;
}

.field + .field{
  margin-top:12px;
}

.label{
  margin-bottom:8px;
  font-size:13px;
  font-weight:800;
  color:var(--ink);
}

.input,
.textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius:14px;
  padding:12px 14px;
  outline:none;
  color:var(--ink);
}

.textarea{
  resize:vertical;
  min-height:92px;
}

.empty{
  background:var(--paper-2);
  border:1px dashed rgba(0,0,0,.14);
  color:var(--muted);
  border-radius:20px;
  padding:16px;
  line-height:1.55;
  font-size:14px;
}

.cart-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:20px;
  padding:14px 14px;
  margin-bottom:12px;
}

.cart-left{
  min-width:0;
}

.cart-title{
  margin:0 0 4px;
  font-size:15px;
  font-weight:900;
  color:var(--ink);
}

.meta{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.qty{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.qbtn{
  width:34px;
  height:34px;
  border:0;
  border-radius:10px;
  background:#ece8de;
  color:var(--ink);
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.qbtn:hover{
  background:#dfdacd;
}

.q{
  min-width:24px;
  text-align:center;
  font-weight:900;
}

.cart-footer{
  padding:16px 24px 24px;
  border-top:1px solid var(--line);
}

.total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-size:15px;
  font-weight:800;
  color:var(--ink);
}

#totalTxt{
  color:var(--green);
  font-size:1.1rem;
  font-weight:900;
}

.sub{
  margin:10px 0 16px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.wa .btn{
  width:100%;
}

@media (max-width: 1080px){
  .grid{
    grid-template-columns:1fr;
  }

  .sticky{
    position:static;
  }
}

@media (max-width: 640px){
  .wrap{
    width:min(calc(100% - 20px),var(--max));
    padding-top:18px;
  }

  .topbar{
    margin-bottom:14px;
  }

  .panel-header,
  .menu,
  .cart,
  .cart-footer{
    padding-left:16px;
    padding-right:16px;
  }

  .panel-header{
    flex-direction:column;
    align-items:stretch;
  }

  .controls{
    flex-direction:column;
    align-items:stretch;
  }

  .left-controls{
    width:100%;
  }

  .select{
    width:100%;
    min-width:0;
  }

  .btn.primary{
    width:100%;
  }

  .row{
    gap:10px;
  }

  .price{
    font-size:.95rem;
  }
}