:root{
  --brand:#28623f;
  --ink:#26362c;
  --muted:#6a766d;
  --cream:#f7faf5;
  --line:#dfe8dc
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:85px
}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:16px
}
button,input,textarea{
  font:inherit
}
button,a,input,textarea{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
button:focus-visible,a:focus-visible{
  outline:3px solid #80ad65;
  outline-offset:4px
}
button{
  border:0
}
a{
  color:inherit;
  text-decoration:none
}
.topbar{
  height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 max(6%,calc((100vw - 1180px)/2));
  background:#fcfefb;
  border-bottom:1px solid var(--line)
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:24px;
  letter-spacing:2px;
  font-weight:800;
  color:var(--brand)
}
.brand small{
  display:block;
  font-size:9px;
  letter-spacing:1.8px;
  margin-top:6px;
  color:#66836c;
  font-weight:500
}
.brand-icon{
  font-size:42px;
  line-height:1
}
.table-button{
  padding:12px 18px;
  border:1px solid #c6d8c8;
  border-radius:8px;
  background:transparent;
  font-size:14px
}
.table-button b{
  color:var(--brand);
  font-size:18px;
  margin-left:5px
}
.table-button span{
  margin-left:16px
}
.hero{
  height:auto;
  position:relative;
  background:#262b20;
  overflow:hidden
}
.hero>img{
  display:block;
  width:100%;
  height:auto
}
.hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(18,23,17,.92),rgba(18,23,17,.63) 42%,rgba(18,23,17,.03) 85%)
}
.hero-copy{
  position:absolute;
  top:58px;
  left:max(6%,calc((100vw - 1180px)/2));
  color:#fff
}
.eyebrow{
  font-size:11px;
  letter-spacing:2px;
  font-weight:700;
  color:#dac7a0
}
.hero h1{
  font-family:'Playfair Display',serif;
  font-size:49px;
  line-height:1.25;
  font-weight:500;
  margin:18px 0
}
.hero p{
  font-size:14px;
  line-height:1.9;
  color:#e1dfd2
}
.hero-link{
  display:inline-block;
  border-bottom:1px solid #d7c6a2;
  padding-bottom:7px;
  font-size:13px;
  margin-top:10px
}
.hero-caption{
  position:absolute;
  right:6%;
  bottom:26px;
  color:white;
  font-family:'Playfair Display',serif;
  font-size:22px;
  font-style:italic
}
.welcome{
  max-width:1180px;
  margin:0 auto;
  padding:22px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  font-size:13px;
  color:#68675d
}
.green-dot{
  display:inline-block;
  background:#59705a;
  width:7px;
  height:7px;
  border-radius:50%;
  margin-right:7px
}
.welcome button{
  background:transparent;
  color:var(--brand);
  font-size:13px
}
.welcome button span{
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  background:#e2eede;
  min-width:22px;
  height:22px;
  margin-left:5px
}
.menu-section{
  max-width:1180px;
  margin:44px auto
}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end
}
.accent{
  color:var(--brand)
}
h2{
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:34px;
  font-weight:700;
  margin:10px 0 24px
}
.menu-note{
  font-size:13px;
  color:var(--muted);
  margin-bottom:28px
}
.results-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:5px 0 20px
}
.results-heading h3{
  font-size:19px;
  margin:0
}
.results-heading>span{
  font-size:12px;
  color:var(--muted)
}
.products{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px
}
.product{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  position:relative
}
.product-image{
  height:205px;
  position:relative;
  background:#e8e0d4
}
.product-image img{
  height:100%;
  width:100%;
  object-fit:cover
}
.badge{
  position:absolute;
  top:14px;
  left:14px;
  background:#fff9ed;
  color:#794b20;
  font-size:10px;
  padding:7px 9px;
  border-radius:4px;
  font-weight:700
}
.product-content{
  padding:20px
}
.product h4{
  font-size:16px;
  margin:0 0 10px;
  font-weight:600
}
.product p{
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  margin:0;
  min-height:44px
}
.product-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:20px
}
.price{
  font-size:17px;
  color:var(--brand);
  font-weight:700
}
.price small{
  font-size:11px;
  color:var(--muted);
  font-weight:400
}
.add{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--brand);
  color:white;
  font-size:24px;
  line-height:1
}
.quantity{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px
}
.quantity button{
  background:#edf4e9;
  color:var(--brand);
  border-radius:50%;
  width:30px;
  height:30px;
  font-size:20px
}
.menu-footnote{
  text-align:center;
  font-size:12px;
  color:var(--muted);
  margin:32px 0
}
footer{
  text-align:center;
  border-top:1px solid var(--line);
  padding:35px 20px 130px
}
.footer-brand{
  font-weight:700;
  color:var(--brand);
  letter-spacing:2px
}
footer p,footer small{
  font-size:11px;
  color:var(--muted);
  line-height:1.8
}
.cart-bar{
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  width:min(650px,calc(100% - 32px));
  background:#fff;
  box-shadow:0 8px 45px #3822152b;
  border:1px solid var(--line);
  padding:14px 18px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:10
}
.cart-bar[hidden]{
  display:none
}
.cart-bar b{
  font-size:19px;
  color:var(--brand)
}
.cart-bar small{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:4px
}
.cart-bar button,.primary{
  background:var(--brand);
  color:#fff;
  border-radius:7px;
  padding:16px 20px;
  font-size:14px;
  font-weight:600
}
.cart-bar button span{
  margin-left:20px
}
.primary{
  width:100%;
  margin-top:18px
}
dialog{
  width:min(490px,calc(100% - 28px));
  max-height:90dvh;
  border:0;
  border-radius:16px;
  padding:30px;
  background:var(--cream);
  color:var(--ink);
  box-shadow:0 25px 100px #0004
}
dialog::backdrop{
  background:#15180fb3;
  backdrop-filter:blur(3px)
}
dialog h2{
  font-size:32px;
  margin:16px 0
}
dialog p{
  font-size:13px;
  line-height:1.9;
  color:var(--muted)
}
.dialog-heading{
  display:flex;
  align-items:center;
  justify-content:space-between
}
.dialog-heading .eyebrow{
  font-size:10px
}
.close{
  font-size:26px;
  background:transparent;
  color:#666;
  padding:0 0 0 15px
}
dialog label{
  display:block;
  font-size:13px;
  margin-top:20px
}
dialog input,textarea{
  display:block;
  width:100%;
  border:1px solid #cedecc;
  background:white;
  border-radius:7px;
  padding:14px;
  margin-top:8px;
  font-size:16px;
  color:var(--ink)
}
textarea{
  min-height:85px;
  resize:vertical
}
dialog small{
  display:block;
  text-align:center;
  color:var(--muted);
  font-size:11px;
  line-height:1.8;
  margin-top:14px
}
.vn-customer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.vn-customer-fields label{margin:0;font-weight:600}
.vn-customer-fields label small{display:inline;margin:0;font-size:11px;font-weight:400}
.vn-customer-fields input{margin-top:6px;padding:11px 12px;font-size:14px}
@media(max-width:420px){.vn-customer-fields{grid-template-columns:1fr}}
.cart-item{
  padding:18px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.cart-item b{
  font-size:13px
}
.cart-item .item-price{
  font-size:12px;
  color:var(--brand);
  display:block;
  margin-top:7px
}
.summary{
  display:flex;
  justify-content:space-between;
  font-size:16px;
  padding-top:22px
}
.order{
  border:1px solid var(--line);
  border-radius:9px;
  background:white;
  padding:16px;
  margin:14px 0
}
.order h3{
  font-size:14px;
  margin:0 0 10px
}
.order p{
  font-size:12px;
  margin:7px 0
}
.order .status{
  color:var(--brand);
  font-size:12px
}
#toast{
  position:fixed;
  bottom:110px;
  left:50%;
  transform:translateX(-50%);
  background:#283b2c;
  color:white;
  padding:15px 22px;
  border-radius:8px;
  font-size:13px;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s;
  max-width:90%;
  text-align:center
}
#toast.visible{
  opacity:1
}
.empty{
  color:var(--muted);
  padding:35px 0;
  font-size:14px;
  grid-column:1/-1
}
@media(max-width:1250px){
  .welcome,.menu-section{
    margin-left:6%;
    margin-right:6%
  }
}
@media(max-width:700px){
  .topbar{
    height:76px;
    padding:0 20px
  }
  .brand{
    font-size:19px;
    gap:8px
  }
  .brand small{
    font-size:7px;
    letter-spacing:1.2px
  }
  .brand-icon{
    font-size:34px
  }
  .table-button{
    padding:9px 11px;
    font-size:12px
  }
  .table-button b{
    font-size:16px
  }
  .table-button span{
    margin-left:8px
  }
  .hero{
    height:auto
  }
  .hero-copy{
    left:24px;
    top:32px
  }
  .eyebrow{
    font-size:9px;
    letter-spacing:1.5px
  }
  .hero h1{
    font-size:33px;
    margin:14px 0
  }
  .hero p{
    font-size:12px;
    line-height:1.8
  }
  .hero-link{
    font-size:12px;
    margin-top:7px
  }
  .hero-shade{
    background:linear-gradient(90deg,#172014e6,#17201480 60%,#17201433)
  }
  .hero-caption{
    display:none
  }
  .welcome{
    margin:0 20px;
    padding:17px 0;
    font-size:11px
  }
  .welcome button{
    font-size:11px
  }
  .menu-section{
    margin:28px 20px
  }
  .section-heading h2{
    font-size:29px;
    margin-bottom:20px
  }
  .menu-note{
    display:none
  }
  .results-heading{
    margin-bottom:16px
  }
  .results-heading h3{
    font-size:17px
  }
  .results-heading>span{
    font-size:11px
  }
  .products{
    grid-template-columns:1fr;
    gap:12px
  }
  .product{
    display:flex;
    align-items:stretch;
    border-radius:10px;
    min-height:132px
  }
  .product-image{
    width:116px;
    min-width:116px;
    height:auto
  }
  .badge{
    top:7px;
    left:6px;
    padding:5px;
    font-size:8px
  }
  .product-content{
    padding:14px;
    flex:1;
    min-width:0
  }
  .product h4{
    font-size:14px;
    line-height:1.5;
    margin-bottom:5px
  }
  .product p{
    font-size:10px;
    line-height:1.7;
    min-height:0
  }
  .product-bottom{
    margin-top:12px;
    gap:5px
  }
  .price{
    font-size:14px;
    white-space:nowrap
  }
  .price small{
    font-size:9px
  }
  .add{
    width:29px;
    height:29px;
    font-size:22px
  }
  .quantity{
    gap:8px;
    font-size:12px
  }
  .quantity button{
    width:26px;
    height:26px
  }
  .menu-footnote{
    font-size:10px;
    line-height:1.9
  }
  .cart-bar{
    bottom:calc(12px + env(safe-area-inset-bottom));
    padding:12px
  }
  .cart-bar button{
    padding:14px 13px;
    font-size:12px
  }
  .cart-bar b{
    font-size:16px
  }
  .cart-bar button span{
    margin-left:8px
  }
  dialog{
    padding:24px
  }
  dialog h2{
    font-size:30px
  }
  footer p{
    font-size:10px
  }
}


.menu-group {
  margin-top: 32px;
}
.menu-group + .menu-group {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.menu-group .results-heading h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 28px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .menu-group .results-heading h3 {
    font-size: 25px;
  }
}

.people-tag {
  display: inline-block;
  margin: 0 0 9px;
  padding: 5px 9px;
  border: 1px solid #d4e2cf;
  border-radius: 5px;
  background: #edf4e8;
  color: #46623d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

/* Motion follows user interactions and respects reduced-motion preferences. */
.hero-copy {
  animation: menu-enter 700ms cubic-bezier(.2,.8,.2,1) both;
}
.product {
  transition: opacity 550ms ease, transform 550ms cubic-bezier(.2,.8,.2,1), box-shadow 250ms ease, border-color 250ms ease;
}
.results-heading {
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
}
.product-image img {
  transition: transform 650ms cubic-bezier(.2,.8,.2,1);
}
button, .hero-link {
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
button:active {
  transform: scale(.94);
}
button:disabled {
  opacity: .5;
  cursor: default;
}
.cart-bar {
  animation: cart-enter 400ms cubic-bezier(.2,.8,.2,1) both;
}
dialog[open] {
  animation: menu-enter 320ms cubic-bezier(.2,.8,.2,1) both;
}
dialog[open]::backdrop {
  animation: backdrop-enter 250ms ease both;
}
#toast {
  transition: opacity 220ms ease, translate 220ms ease;
  translate: 0 8px;
}
#toast.visible {
  translate: 0 0;
}
@media (hover: hover) {
  .product:hover {
    transform: translateY(-4px);
    border-color: #aec9a8;
    box-shadow: 0 12px 28px #39241610;
  }
  .product:hover .product-image img {
    transform: scale(1.05);
  }
  .primary:hover, .add:hover, .cart-bar button:hover {
    background-color: #1d4e30;
  }
  .quantity button:hover {
    background-color: #d8e8d0;
  }
}
@keyframes menu-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cart-enter {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-pending { opacity: 1; transform: none; }
}

.add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  height: 36px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.add span {
  font-size: 21px;
  font-weight: 400;
}
@media (max-width: 700px) {
  .product-bottom {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .product-bottom [data-controls] {
    margin-left: auto;
  }
  .add {
    min-height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }
}

.bottom-menu {
  position: fixed;
  z-index: 11;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 16px env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: #fcfefb;
  box-shadow: 0 -4px 24px #38221508;
}
.bottom-menu a, .bottom-menu button {
  position: relative;
  display: flex;
  flex: 1;
  max-width: 280px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}
.bottom-menu span {
  font-size: 24px;
}
.bottom-menu b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--brand);
  color: white;
  border-radius: 12px;
  font-size: 11px;
}
.bottom-menu b[hidden], .summary[hidden] {
  display: none;
}
.cart-bar {
  bottom: calc(76px + env(safe-area-inset-bottom));
}
#toast {
  bottom: calc(170px + env(safe-area-inset-bottom));
}
footer {
  padding-bottom: calc(210px + env(safe-area-inset-bottom));
}

@media (max-width: 700px) {
  .extras-section .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .extras-section .product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
  }
  .extras-section .product-image {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
  }
  .extras-section .product-image img {
    position: absolute;
    inset: 0;
  }
  .extras-section .product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
  }
  .extras-section .product h4 {
    font-size: 14px;
  }
  .extras-section .product-bottom {
    margin-top: auto;
    padding-top: 16px;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }
  .extras-section .product-bottom [data-controls] {
    margin-left: 0;
    width: 100%;
  }
  .extras-section .add {
    width: 100%;
    min-height: 38px;
  }
}

.restaurant-contact {
  margin: 16px auto;
  font-style: normal;
  line-height: 1.8;
}
.restaurant-contact a {
  display: inline-block;
  color: var(--brand);
  font-size: 18px;
  font-weight: 600;
}
.restaurant-contact p {
  margin: 8px auto 0;
  max-width: 420px;
  font-size: 14px;
  color: var(--ink);
}
.bottom-menu a, .bottom-menu button {
  flex-direction: column;
  gap: 3px;
  padding: 8px 4px;
  font-size: 12px;
}
.bottom-menu b {
  position: absolute;
  top: 5px;
  left: calc(50% + 13px);
}
.payment-amount {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #edf4e8;
  text-align: center;
}
.payment-amount small {
  margin: 0 0 8px;
  font-size: 13px;
}
.payment-amount strong {
  display: block;
  font-size: 30px;
  color: var(--brand);
}
.payment-amount > span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.payment-methods {
  border: 0;
  padding: 0;
  margin: 24px 0 16px;
}
.payment-methods legend {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}
.payment-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}
.payment-methods input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  accent-color: var(--brand);
}
#payment-qr img {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
}
#bank-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 13px;
}
#bank-details dt {
  color: var(--muted);
}
#bank-details dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.payment-status {
  padding: 14px;
  background: #e2eede;
  border-radius: 8px;
  color: var(--brand);
}
.sheet-handle {
  display: none;
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sheet-header h2 {
  margin: 8px 0 16px;
}
.sheet-header .close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #edf2eb;
}
body:has(.bottom-sheet[open]) {
  overflow: hidden;
}
@media (max-width: 700px) {
  .bottom-sheet {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: 85dvh;
    margin: 0;
    padding: 0;
    border-radius: 26px 26px 0 0;
    overflow: hidden;
  }
  .bottom-sheet[open] {
    display: flex;
    flex-direction: column;
    animation: sheet-enter 360ms cubic-bezier(.2,.8,.2,1) both;
  }
  .sheet-handle {
    display: block;
    flex-shrink: 0;
    width: 38px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 4px;
    background: #cad6c7;
  }
  .sheet-header {
    flex-shrink: 0;
    padding: 20px 24px 14px;
    border-bottom: 1px solid var(--line);
  }
  .sheet-header h2 {
    font-size: 27px;
    margin: 8px 0 0;
  }
  .sheet-content {
    min-height: 100px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 24px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .sheet-footer {
    flex-shrink: 0;
    border-top: 1px solid var(--line);
    padding: 0 24px calc(20px + env(safe-area-inset-bottom));
    background: #fcfefb;
  }
  @keyframes sheet-enter {
    from { transform: translateY(100%); opacity: .6; }
    to { transform: translateY(0); opacity: 1; }
  }
}

.bottom-menu {
  left: 50%;
  right: auto;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(620px, calc(100% - 24px));
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 6px 30px #1d4e301a;
}
.bottom-menu a, .bottom-menu button {
  min-width: 0;
  min-height: 60px;
  font-size: 11px;
  border-radius: 16px;
}
.bottom-menu a:hover, .bottom-menu button:hover {
  background: #edf4e8;
}
.bottom-menu a:focus-visible, .bottom-menu button:focus-visible {
  outline-offset: -2px;
}
.cart-bar {
  bottom: calc(94px + env(safe-area-inset-bottom));
}
.menu-group {
  scroll-margin-top: 24px;
}
@media (max-width: 700px) {
  .payment-sheet-content {
    padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
  }
}

.menu-index-content {
  padding-top: 12px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.menu-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.menu-index-list a {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand);
  font-weight: 600;
}
.menu-index-list small {
  margin: 0 0 0 auto;
  font-size: 12px;
  white-space: nowrap;
}
.menu-index-list a:not(.featured-category)::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.menu-index-list .featured-category {
  grid-column: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2px;
  min-height: 116px;
  padding: 12px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(20, 48, 30, 0.14);
  background: linear-gradient(0deg, rgba(8, 29, 18, 0.96) 0%, rgba(8, 29, 18, 0.78) 52%, rgba(8, 29, 18, 0.15) 95%), var(--category-photo) center / cover, #214a34;
  color: white;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  line-height: 1.25;
}
.menu-index-list .featured-category small {
  margin: 0;
  color: white;
  font: 500 12px/1.5 'Be Vietnam Pro', sans-serif;
}
.menu-index-list [href="#menu-lau"] { --category-photo: url('hotpot.jpg'); }
.menu-index-list [href="#menu-nuong"] { --category-photo: url('beef.jpg'); }
.menu-index-list a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .bottom-menu {
    width: calc(100% - 16px);
    padding: 4px;
    border-radius: 22px;
  }
  .bottom-menu a, .bottom-menu button {
    font-size: 10px;
    white-space: nowrap;
  }
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.cart-item-image {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2eede;
}
.cart-item-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-item-details b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.cart-item .item-price {
  margin-top: 0;
}
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.cart-item-actions .remove-item {
  margin-top: 0;
  padding: 2px 4px;
}
.cart-item .quantity {
  gap: 10px;
}
.cart-item .quantity span {
  min-width: 18px;
  text-align: center;
}
@media (max-width: 360px) {
  .cart-item {
    gap: 8px;
  }
  .cart-item .quantity {
    gap: 7px;
  }
  .cart-item .quantity button {
    width: 26px;
    height: 26px;
  }
}

#order-success-dialog {
  width: min(380px, calc(100% - 40px));
  padding: 36px 26px 28px;
  text-align: center;
  background: #fcfefb;
}
.success-close {
  position: absolute;
  right: 16px;
  top: 12px;
  padding: 0;
}
.success-check {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e2f3df;
  color: #2c8a45;
  font-size: 44px;
  line-height: 1;
}
#order-success-dialog h2 {
  margin: 0 0 12px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--brand);
}
#order-success-dialog p {
  margin: 0;
  line-height: 1.8;
}
.success-time {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
}
#order-success-dialog[open] .success-check {
  animation: success-pop 420ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes success-pop {
  0% { transform: scale(.6); opacity: 0; }
  70% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.invoice-details {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.invoice-details[hidden] {
  display: none;
}
.invoice-details summary {
  cursor: pointer;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.invoice-toggle {
  display: block;
  margin-top: 5px;
  padding-left: 17px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.invoice-details[open] .invoice-toggle {
  display: none;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 12px;
}
.invoice-table th, .invoice-table td {
  padding: 12px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.invoice-table th:nth-child(2), .invoice-table td:nth-child(2) {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}
.invoice-table th:last-child, .invoice-table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.invoice-table td:first-child {
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.invoice-unit-price {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.invoice-table tfoot th, .invoice-table tfoot td {
  border-bottom: 0;
  color: var(--brand);
  font-weight: 700;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.order-card {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
}
.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #edf4e8;
  border-bottom: 1px solid var(--line);
}
.order-card-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--brand);
  font-size: 14px;
}
.order-round-icon {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  background: #dcebd6;
  color: var(--brand);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.order-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #566b59;
}
.order-time > span {
  font-size: 20px;
}
.ordered-items {
  list-style: none;
  margin: 0;
  padding: 0 14px;
}
.ordered-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px 0;
}
.ordered-item + .ordered-item {
  border-top: 1px solid var(--line);
}
.ordered-item-info b {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ordered-item-price {
  display: block;
  margin: 4px 0 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.ordered-item-quantity {
  display: inline-block;
  padding: 0;
  border-radius: 5px;
  color: var(--brand);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.ordered-item-total {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}
.order-card .order-note {
  padding: 12px 14px;
  margin: 0;
  background: #f7faf5;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.order-card-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.order-card-total span {
  font-size: 12px;
  color: var(--muted);
}
.order-card-total strong {
  font-size: 16px;
  color: var(--brand);
}

.ordered-item-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.ordered-item-meta .ordered-item-price {
  margin: 0;
}
.ordered-item-quantity {
  white-space: nowrap;
}

.remove-item {
  display: inline-block;
  padding: 6px 0;
  margin-top: 3px;
  background: transparent;
  color: #8b3a2f;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.selected-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.unselect-item {
  padding: 6px 8px;
  border-radius: 5px;
  background: transparent;
  color: #6a766d;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .extras-section .selected-controls {
    align-items: flex-start;
  }
  .extras-section .unselect-item {
    padding-left: 0;
  }
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 3px 14px #1d4e300a;
}
.menu-group {
  scroll-margin-top: 24px;
}

.cart-bag-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1.7px solid currentColor;
  border-radius: 2px 2px 4px 4px;
  vertical-align: -3px;
}
.cart-bag-icon::before {
  content: '';
  position: absolute;
  left: 3px;
  top: -6px;
  width: 6px;
  height: 7px;
  border: 1.7px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

#added-toast {
  position: fixed;
  z-index: 30;
  top: 104px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 7px 13px 7px 8px;
  border: 1px solid #cce1c5;
  border-radius: 999px;
  background: #fcfefb;
  box-shadow: 0 8px 30px #1d4e3026;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 300ms cubic-bezier(.2,.8,.2,1);
}
#added-toast.visible {
  opacity: 1;
  transform: translateX(0);
}
.added-toast-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e2f3df;
  color: #2c8a45;
  font-size: 14px;
  font-weight: 700;
}
#added-toast strong {
  display: inline;
  color: var(--brand);
  font-size: 13px;
}
#added-toast-name {
  display: inline;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 700px) {
  #added-toast {
    top: 88px;
    right: 12px;
  }
}

.cart-bar {
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 700px) {
  .cart-bar button {
    padding: 14px 10px;
    font-size: 11px;
  }
  .cart-bar button .cart-bag-icon {
    margin-left: 6px;
    width: 14px;
    height: 14px;
  }
  .cart-bar button .cart-bag-icon::before {
    left: 2px;
  }
}

.cart-bar {
  flex-wrap: nowrap;
  gap: 12px;
  padding: 10px 14px;
}
@media (max-width: 700px) {
  .bottom-menu {
    padding: 2px 4px;
    bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .bottom-menu a, .bottom-menu button {
    min-height: 52px;
    padding: 5px 2px;
    gap: 2px;
  }
  .bottom-menu span {
    font-size: 21px;
  }
  .bottom-menu b {
    top: 1px;
    min-width: 19px;
    height: 19px;
    font-size: 10px;
  }
  .cart-bar {
    bottom: calc(74px + env(safe-area-inset-bottom));
    padding: 9px 12px;
    gap: 8px;
  }
  .cart-bar button {
    padding: 12px 10px;
  }
  .cart-bar b {
    font-size: 15px;
  }
  .cart-bar small {
    font-size: 10px;
    margin-top: 3px;
  }
}

:root {
  --header-height: 92px;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 12px);
}
html:has(#cart-bar:not([hidden])) {
  scroll-padding-top: calc(var(--header-height) + 86px);
}
.cart-bar {
  position: sticky;
  top: var(--header-height);
  bottom: auto;
  left: auto;
  z-index: 19;
  transform: none;
  translate: none;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 5px 18px #1d4e3012;
  animation: none;
}
@media (max-width: 700px) {
  :root {
    --header-height: 76px;
  }
  .cart-bar {
    padding: 9px 20px;
  }
}

.cart-price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-table {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 5px;
  background: #edf4e8;
  color: var(--brand);
  font-size: 11px;
  white-space: nowrap;
  font-weight: 600;
}
@media (max-width: 700px) {
  .cart-price-line {
    gap: 5px;
  }
  .cart-table {
    font-size: 10px;
    padding: 2px 4px;
  }
}
.topbar {
  position: relative;
  top: auto;
  z-index: auto;
}
.cart-bar {
  top: 0;
}
html {
  scroll-padding-top: 12px;
}
html:has(#cart-bar:not([hidden])) {
  scroll-padding-top: 86px;
}
#added-toast {
  top: 16px;
}
body:has(#cart-bar:not([hidden])) #added-toast {
  top: 76px;
}
.cart-bar button {
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 12px;
}
.cart-bar b {
  font-size: 22px;
}
.cart-table {
  font-size: 14px;
  padding: 3px 7px;
  border-radius: 7px;
}
@media (max-width: 700px) {
  .cart-bar {
    padding: 10px 14px;
  }
  .cart-bar b {
    font-size: 19px;
  }
  .cart-table {
    font-size: 13px;
    padding: 3px 5px;
  }
  .cart-price-line {
    gap: 6px;
  }
  .cart-bar button {
    padding: 10px 12px;
    font-size: 10px;
    white-space: nowrap;
  }
  .cart-bar button .cart-bag-icon {
    display: none;
  }
}
.cart-bar button {
  font-size: 14px;
}
@media (max-width: 700px) {
  .cart-bar button {
    font-size: 12px;
  }
}

@media (min-width: 701px) {
  .cart-bar {
    position: fixed;
    top: auto;
    bottom: calc(94px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: min(620px, calc(100% - 24px));
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 32px #1d4e3024;
    z-index: 10;
  }
  html:has(#cart-bar:not([hidden])) {
    scroll-padding-top: 12px;
    scroll-padding-bottom: calc(176px + env(safe-area-inset-bottom));
  }
  body:has(#cart-bar:not([hidden])) #added-toast {
    top: 16px;
  }
}

/* App-like rounded surfaces, refined details & larger readable typography */
body {
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.topbar {
  height: 76px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.4px;
  line-height: 1.15;
}

.brand-icon {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 40px;
}

.brand small {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 9px;
  margin-top: 2px;
  letter-spacing: 1.5px;
}

.table-button {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid #cde0ce;
  background: #f2f8ef;
  font-size: 13px;
  font-weight: 500;
}

.table-button b {
  font-size: 15px;
}

.welcome {
  font-size: 15px;
  padding: 20px 0;
}

.welcome button {
  padding: 9px 15px;
  border-radius: 999px;
  background: #edf4e8;
  font-size: 14px;
  font-weight: 600;
}

.welcome button span {
  min-width: 24px;
  height: 24px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  margin-left: 7px;
}

.menu-group .results-heading h3 {
  font-size: 30px;
}

.results-heading > span {
  font-size: 14px;
}

.product {
  border-radius: 20px;
  border: 1px solid #fff;
  box-shadow: 0 4px 18px rgba(29, 78, 48, 0.05);
}

@media (hover: hover) {
  .product:hover {
    border-color: #fff;
  }
}

.badge {
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.people-tag {
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
}

.product-content {
  padding: 18px 20px 20px;
}

.product h4 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.product-bottom {
  margin-top: 12px;
  gap: 14px;
}

.product p {
  font-size: 14px;
  line-height: 1.65;
  min-height: 46px;
}

.price {
  font-size: 19px;
  white-space: nowrap;
}

.price small {
  font-size: 13px;
}

.add {
  width: auto;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(40, 98, 63, 0.24);
}

.unselect-item {
  padding: 9px 16px;
  border-radius: 999px;
  background: #edf4e8;
  border: 1px solid #cde0ce;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.quantity {
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  background: #f2f7ef;
  border: 1px solid #dce8d7;
  font-size: 15px;
  font-weight: 600;
}

.quantity button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-size: 18px;
}

.menu-footnote {
  font-size: 14px;
}

.bottom-menu {
  padding: 2px 6px;
  border-radius: 26px;
  background: rgba(252, 254, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(29, 78, 48, 0.12);
}

.bottom-menu a, .bottom-menu button {
  min-height: 52px;
  padding: 4px 6px;
  border-radius: 18px;
  font-size: 12px;
}

.primary {
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(40, 98, 63, 0.22);
}

dialog {
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(18, 28, 20, 0.28);
}

dialog.bottom-sheet {
  border-radius: 26px 26px 0 0;
}

dialog h2 {
  font-size: 28px;
}

dialog p {
  font-size: 15px;
  line-height: 1.7;
}

dialog label {
  font-size: 14px;
  font-weight: 500;
}

dialog input, textarea {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

dialog input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(40, 98, 63, 0.14);
}

.close {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #edf2eb;
  color: var(--ink);
  font-size: 22px;
}

.cart-bar {
  border-radius: 20px;
}

.cart-bar small {
  font-size: 13px;
}

.cart-bar button {
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(40, 98, 63, 0.24);
}

@media (max-width: 700px) {
  .topbar {
    height: 64px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
    letter-spacing: 0.3px;
  }
  .brand-icon {
    font-size: 34px;
  }
  .brand small {
    font-size: 8px;
    margin-top: 2px;
    letter-spacing: 1.2px;
  }
  .table-button {
    padding: 5px 11px;
    font-size: 12px;
  }
  .table-button b {
    font-size: 14px;
  }
  .welcome {
    font-size: 13px;
    padding: 16px 0;
  }
  .welcome button {
    padding: 7px 12px;
    font-size: 13px;
  }
  .menu-group .results-heading h3 {
    font-size: 25px;
  }
  .results-heading > span {
    font-size: 13px;
  }
  .product {
    border-radius: 12px;
    padding: 8px;
    gap: 10px;
    min-height: 128px;
  }
  .product-image {
    width: 108px;
    min-width: 108px;
    border-radius: 8px;
    overflow: hidden;
  }
  .product-content {
    padding: 4px 4px 4px 0;
  }
  .extras-section .product-content {
    padding: 8px 4px 4px;
  }
  .extras-section .product h4 {
    margin-bottom: 0;
  }
  .extras-section .product-bottom {
    margin-top: 2px;
    padding-top: 0;
    gap: 14px;
    flex: 1;
  }
  .extras-section .product-bottom [data-controls] {
    margin-top: auto;
  }
  .badge {
    top: 6px;
    left: 6px;
    padding: 4px 8px;
    font-size: 10px;
  }
  .people-tag {
    padding: 3px 12px;
    font-size: 10px;
  }
  .product h4 {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 2px;
  }
  .product-bottom {
    margin-top: 8px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .product p {
    font-size: 13px;
    line-height: 1.5;
  }
  .price {
    font-size: 14px;
  }
  .price small {
    font-size: 10px;
  }
  .add {
    width: auto;
    height: 32px;
    min-height: 32px;
    padding: 0 10px;
    gap: 3px;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(40, 98, 63, 0.18);
  }
  .add span {
    font-size: 16px;
  }
  .extras-section .add {
    width: 100%;
    min-height: 32px;
    height: 32px;
  }
  .unselect-item {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
  }
  .extras-section .unselect-item {
    width: 100%;
    text-align: center;
  }
  .quantity {
    gap: 8px;
    padding: 3px;
    font-size: 14px;
  }
  .quantity button {
    width: 30px;
    height: 30px;
  }
  .menu-footnote {
    font-size: 12px;
  }
  .cart-bar {
    border-radius: 0 0 14px 14px;
    padding: 8px 14px;
  }
  .cart-bar b {
    font-size: 16px;
  }
  .cart-table {
    font-size: 11px;
    padding: 2px 6px;
  }
  .cart-bar small {
    font-size: 11px;
    margin-top: 2px;
  }
  .cart-bar button {
    padding: 9px 13px;
    font-size: 12px;
  }
  .bottom-menu {
    padding: 2px 4px;
    border-radius: 18px;
  }
  .bottom-menu a, .bottom-menu button {
    min-height: 46px;
    padding: 3px 2px;
    gap: 1px;
    font-size: 11px;
  }
}

#added-toast {
  top: 24px;
  right: 20px;
  gap: 9px;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1d4e30;
  color: #fff;
  box-shadow: 0 12px 32px rgba(20, 48, 30, 0.28);
  transform: translateY(-8px) scale(0.96);
}

#added-toast.visible {
  transform: translateY(0) scale(1);
}

.added-toast-check {
  width: 24px;
  height: 24px;
  background: #38a169;
  color: #fff;
  font-size: 13px;
}

#added-toast strong {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

#added-toast-name {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

@media (max-width: 700px) {
  #added-toast {
    top: 20px;
    right: 12px;
    gap: 6px;
    padding: 5px 11px 5px 6px;
  }
  .added-toast-check {
    width: 19px;
    height: 19px;
    font-size: 11px;
  }
  #added-toast strong,
  #added-toast-name {
    font-size: 11px;
  }
  body:has(#cart-bar:not([hidden])) #added-toast {
    top: 82px;
  }
}

/* Footer with info & bank QR card */
footer {
  background: #f2f7ef;
  border-top: 1px solid var(--line);
  padding: 32px 20px calc(185px + env(safe-area-inset-bottom));
  text-align: left;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.4px;
  line-height: 1.15;
}

.footer-brand-icon {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 32px;
  line-height: 1;
}
.brand.has-logo .brand-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:min(180px,45vw);
  max-height:44px;
  object-fit:contain;
}
.footer-brand.has-logo .brand-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:min(160px,55vw);
  max-height:52px;
  object-fit:contain;
}
.footer-brand-wrap.has-logo{align-self:flex-start}
@media(max-width:700px){
  .topbar{height:60px}
  .brand.has-logo{margin-left:-8px}
  .brand.has-logo .brand-logo{max-width:160px;max-height:48px}
  .footer-brand-wrap.has-logo{align-self:center;margin-left:0}
  .footer-brand.has-logo{justify-content:center}
  .footer-brand.has-logo .brand-logo{max-width:min(220px,70vw);max-height:72px}
}

.footer-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.restaurant-contact {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.restaurant-contact a.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d93829, #b92418);
  border: 0;
  box-shadow: 0 6px 18px rgba(185, 36, 24, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.restaurant-contact a.footer-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #fff;
}

.restaurant-contact a.footer-phone b {
  color: #fff;
  font-weight: 700;
}

@media (hover: hover) {
  .restaurant-contact a.footer-phone:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }
}

.restaurant-contact p {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-qr-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  background: #fff;
  border: 1px solid #e3ece0;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(29, 78, 48, 0.06);
}

.footer-qr-card[hidden] {
  display: none;
}

.footer-qr-frame {
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e7efe4;
}

.footer-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-bank-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-qr-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--brand);
}

.footer-bank-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.footer-bank-account {
  font-size: 14px;
  color: var(--ink);
}

.footer-bank-account b {
  color: var(--brand);
  letter-spacing: 0.4px;
}

.footer-bank-holder {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 700px) {
  footer {
    padding: 24px 20px calc(88px + env(safe-area-inset-bottom));
    text-align: center;
  }
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .footer-info {
    align-items: center;
  }
  .restaurant-contact {
    align-items: center;
  }
  .footer-qr-card {
    justify-content: flex-start;
    text-align: left;
    padding: 12px;
    gap: 14px;
    border-radius: 14px;
  }
  .footer-qr-frame {
    width: 96px;
    height: 96px;
    border-radius: 10px;
  }
  .footer-bank-name {
    font-size: 15px;
  }
  .footer-bank-account {
    font-size: 13px;
  }
}

/* Periodic gentle shake every 3s on confirm-order button */
#cart-button {
  background: linear-gradient(135deg, #d93829, #b92418);
  color: #fff;
  box-shadow: 0 6px 18px rgba(185, 36, 24, 0.28);
  animation: cart-btn-shake 3s ease-in-out infinite;
}

@media (hover: hover) {
  #cart-button:hover {
    background: linear-gradient(135deg, #e04233, #c4281b);
  }
}

/* Improved Ordered Items (#orders-dialog) */
.order-card {
  border-radius: 16px;
  border: 1px solid #e1ebe0;
  background: #fff;
}

.order-card-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.order-card-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.order-round-badge {
  display: inline-block;
  width: fit-content;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.order-round-summary {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.order-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.order-status-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcf2dc;
  color: #1f6a36;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ordered-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
}

.ordered-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2eede;
}

.ordered-item-info {
  flex: 1;
  min-width: 0;
}

.ordered-item-info b {
  font-size: 14px;
  line-height: 1.35;
}

.ordered-item-meta {
  gap: 7px;
  margin-top: 3px;
}

.ordered-item-qty-badge {
  display: inline-grid;
  place-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: #edf4e8;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.ordered-item-meta .ordered-item-price {
  white-space: nowrap;
}

.orders-footer-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.orders-footer-actions .secondary,
.orders-footer-actions .primary {
  flex: 1;
  margin-top: 0;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.orders-footer-actions .secondary {
  background: #edf4e8;
  color: var(--brand);
  border: 1px solid #cde0ce;
}

.orders-footer-actions .secondary[hidden],
.orders-footer-actions .primary[hidden] {
  display: none;
}

#cart-button:hover,
#cart-button:active {
  animation-play-state: paused;
}

@keyframes cart-btn-shake {
  0%, 82%, 100% {
    transform: translateX(0) rotate(0);
  }
  85% {
    transform: translateX(-3px) rotate(-1.5deg);
  }
  88% {
    transform: translateX(3px) rotate(1.5deg);
  }
  91% {
    transform: translateX(-2.5px) rotate(-1.2deg);
  }
  94% {
    transform: translateX(2.5px) rotate(1.2deg);
  }
  97% {
    transform: translateX(-1px) rotate(-0.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #cart-button {
    animation: none;
  }
}

/* Polished Payment Sheet (#payment-dialog) */
.payment-amount {
  padding: 22px 20px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #28623f, #1d4e30);
  color: #fff;
  box-shadow: 0 10px 28px rgba(29, 78, 48, 0.22);
}

.payment-amount small {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.payment-amount strong {
  font-size: 32px;
  color: #fff;
  letter-spacing: -0.4px;
}

.payment-amount > span {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.invoice-details {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #e1ebe0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(29, 78, 48, 0.04);
}

.invoice-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
}

.invoice-details summary::-webkit-details-marker {
  display: none;
}

.invoice-toggle {
  margin-top: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf4e8;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.invoice-table {
  font-size: 13px;
}

.payment-methods {
  margin: 18px 0 14px;
}

.payment-methods legend {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.payment-methods label {
  gap: 12px;
  margin: 8px 0;
  padding: 14px 16px;
  border: 1.5px solid #e1ebe0;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.payment-methods label:has(input:checked) {
  border-color: var(--brand);
  background: #f2f8ef;
  color: var(--brand);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(40, 98, 63, 0.1);
}

#cash-panel:not([hidden]),
#transfer-panel:not([hidden]) {
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid #e1ebe0;
  border-radius: 16px;
  background: #fff;
}

#cash-panel p,
#qr-instruction {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

#payment-qr img {
  width: min(100%, 220px);
  margin: 4px auto 16px;
  padding: 8px;
  border: 1px solid #e7efe4;
  border-radius: 14px;
  background: #fff;
}

#bank-details {
  margin: 0 0 12px;
  gap: 10px 12px;
  font-size: 14px;
}

#qr-instruction {
  padding-top: 12px;
  border-top: 1px dashed #dce7d8;
}

.payment-status {
  border-radius: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* Taller bottom sheets, compact sheet/dialog headers & tighter mobile padding */
dialog h2 {
  font-size: 22px;
  margin: 8px 0 12px;
}

.sheet-header h2 {
  font-size: 22px;
  margin: 4px 0 10px;
}

@media (max-width: 700px) {
  .bottom-sheet {
    max-height: 94dvh;
  }
  .sheet-handle {
    margin: 7px auto 0;
  }
  .sheet-header {
    padding: 8px 16px;
  }
  .sheet-header h2 {
    font-size: 20px;
    margin: 2px 0 0;
  }
  .sheet-content {
    padding: 10px 16px 16px;
  }
  .sheet-footer {
    padding: 0 16px calc(16px + env(safe-area-inset-bottom));
  }
}

.download-qr-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #edf4e8;
  border: 1px solid #cde0ce;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.download-qr-button[hidden] {
  display: none;
}

/* Tablet / iPad 2-column grid so product cards and buttons never clip */
@media (min-width: 701px) and (max-width: 1080px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .product-bottom {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
}

.product-bottom .unavailable {
  display: block;
  max-width: 92px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  color: #596d60;
  text-align: right;
}

.bottom-menu a[hidden] { display: none; }
