/* ---------- Notice ---------- */
.notice { background: var(--sg-charcoal); color: #fff; border-radius: var(--r-md); padding: 10px 16px; margin: 0 0 var(--s-5); font-weight: 600; text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: max(12px, env(safe-area-inset-top)) 16px 28px; text-align: center; isolation: isolate; }
.hero::before { /* soft white glow behind the logo, white = brand colour */
  content: ""; position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.hero__top { display: flex; justify-content: space-between; align-items: center; max-width: var(--maxw); margin: 0 auto; }
.hero__brand { margin: 18px auto 6px; width: min(330px, 78vw); animation: rise .6s var(--ease) both; }
.hero__logo { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(39,36,37,.18)); }
.hero__mascot { display: none; position: absolute; height: auto; z-index: -1; transform: rotate(-6deg); }
html[dir="ltr"] .hero__mascot { transform: rotate(6deg) scaleX(-1); }
@media (min-width: 720px) { .hero { padding-bottom: 40px; } .hero__brand { width: 380px; } }
@media (min-width: 1024px) { .hero__mascot { display: block; width: 190px; inset-inline-end: 4%; bottom: -46px; } }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; text-decoration: none; border: 0; }
.chip--ghost { background: var(--sg-white-70); color: var(--sg-charcoal); }
.chip--ghost:hover { background: #fff; }

.status { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 6px 14px; border-radius: var(--r-pill); background: var(--sg-charcoal); color: #fff; font-weight: 700; font-size: 14px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sg-mustard); box-shadow: 0 0 0 3px rgba(240,160,35,.3); }
.status.is-closed::before { background: var(--sg-red); box-shadow: 0 0 0 3px rgba(227,46,39,.3); }

/* ---------- Category nav ---------- */
.cats { position: sticky; top: 0; z-index: 20; background: var(--sg-mustard); box-shadow: 0 8px 16px -14px rgba(39,36,37,.6); }
.cats__track { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; max-width: var(--maxw); margin: 0 auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.cats__track::-webkit-scrollbar { display: none; }
.cats__btn { flex: 0 0 auto; scroll-snap-align: start; border: 0; min-height: 42px; padding: 6px 18px; border-radius: var(--r-pill);
  background: var(--sg-white-70); color: var(--sg-charcoal); font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s; }
.cats__btn:active { transform: scale(.96); }
.cats__btn[aria-current="true"] { background: var(--sg-charcoal); color: #fff; }

/* ---------- Menu ---------- */
.menu { max-width: var(--maxw); margin: 0 auto; padding: 20px 16px 120px; outline: none; }
.cat { scroll-margin-top: 72px; margin-bottom: 28px; }
.section-pill { display: inline-block; margin: 0 0 14px; padding: 4px 22px 2px; border-radius: var(--r-pill);
  background: var(--sg-white-70); font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.4; }
.cat__count { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--sg-charcoal-70); margin-inline-start: 6px; }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--sg-white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }

.item { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 10px; align-items: stretch;
  animation: rise .45s var(--ease) both; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.item:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
@media (min-width: 720px) { .item { grid-template-columns: 1fr; padding: 0; overflow: hidden; } }

.item__open { position: absolute; inset: 0; border: 0; background: transparent; border-radius: inherit; z-index: 1; }
.item__media { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--sg-mustard-wash); }
@media (min-width: 720px) { .item__media { aspect-ratio: 4 / 3; border-radius: 0; } }
.item__media img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 2px;
  background: repeating-linear-gradient(135deg, var(--sg-mustard-wash) 0 10px, #fff3dc 10px 20px); }
.ph img { width: min(34%, 64px); height: auto; object-fit: contain; opacity: .9; }
.ph span { font-size: 11px; font-weight: 700; color: var(--sg-charcoal-70); }

.item__body { display: flex; flex-direction: column; min-width: 0; padding-block: 2px; }
@media (min-width: 720px) { .item__body { padding: 12px 16px 16px; } }
.item__name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.3; }
.item__sub { margin: 0; font-size: 13px; color: var(--sg-charcoal-70); font-weight: 600; }
.item__desc { margin: 4px 0 0; font-size: 13.5px; color: var(--sg-charcoal-70); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--sg-red); white-space: nowrap; }
.price--lg { font-size: 26px; }

.add, .qmini__btn { position: relative; z-index: 2; border: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sg-charcoal); color: #fff; font-size: 24px; font-weight: 700; line-height: 1; display: grid; place-items: center;
  transition: transform .15s, background .2s; }
.add:hover, .qmini__btn:hover { background: #000; }
.add:active, .qmini__btn:active { transform: scale(.9); }
.qmini { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; background: var(--sg-mustard-wash); border-radius: var(--r-pill); padding: 3px; }
.qmini__btn { width: 38px; height: 38px; font-size: 20px; }
.qmini__val { min-width: 20px; text-align: center; font-weight: 800; }

.item.is-off { opacity: .62; }
.item.is-off .item__media { filter: grayscale(1); }
.badge-off { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--sg-charcoal); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: var(--r-pill); }

.skeleton { height: 124px; border-radius: var(--r-lg); background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.7), rgba(255,255,255,.4)); background-size: 200% 100%; animation: shimmer 1.2s infinite; margin-bottom: 12px; }
.error { background: #fff; border-radius: var(--r-lg); padding: 24px; text-align: center; }

/* ---------- Info ---------- */
.info { max-width: var(--maxw); margin: 0 auto; padding: 0 16px 40px; }
.info__grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .info__grid { grid-template-columns: 1.1fr 1.3fr 1fr; gap: 16px; } }
.info__card { padding: 18px; }
.info__card h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--sg-charcoal-12); }
.hours td:last-child { text-align: end; }
.hours tr.is-today td { font-weight: 800; }
.hours tr.is-today td:first-child::after { content: " •"; color: var(--sg-red); }
.muted { color: var(--sg-charcoal-70); font-size: 14px; margin: 0; }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--sg-mustard-wash); margin-bottom: 10px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; border: 0; display: grid; place-items: center; gap: 6px; align-content: center; font-weight: 700;
  background: repeating-linear-gradient(45deg, var(--sg-mustard-wash) 0 14px, #fff3dc 14px 28px); }
.contact { display: grid; gap: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: var(--r-pill);
  border: 0; font-weight: 800; font-size: 16px; text-decoration: none; transition: background .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--sg-charcoal); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--outline { background: #fff; color: var(--sg-charcoal); box-shadow: inset 0 0 0 2px var(--sg-charcoal); }
.btn--outline:hover { background: var(--sg-mustard-wash); }
.btn--wa { width: 100%; background: var(--sg-red); color: #fff; font-size: 18px; min-height: 56px; }
.btn--wa:hover { background: var(--sg-red-deep); }
.btn--wa[disabled] { opacity: .5; cursor: not-allowed; }
.btn--text { background: none; color: var(--sg-charcoal-70); min-height: 40px; font-weight: 700; text-decoration: underline; }
.btn--grow { flex: 1; }
.btn--block { width: 100%; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 24px 16px 110px; font-size: 14px; }
.footer img { margin: 0 auto 6px; width: 150px; height: auto; }
.footer p { margin: 0; }

/* ---------- Cart bar ---------- */
.cartbar { position: fixed; z-index: 30; inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 10px 8px 20px; border: 0; border-radius: var(--r-pill);
  background: var(--sg-charcoal); color: #fff; box-shadow: var(--shadow-float); animation: up .35s var(--ease) both; }
html[dir="rtl"] .cartbar { padding: 8px 10px 8px 20px; }
.cartbar__count { min-width: 40px; height: 40px; border-radius: 50%; background: var(--sg-mustard); color: var(--sg-charcoal); font-weight: 800; display: grid; place-items: center; }
.cartbar__label { flex: 1; text-align: start; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.cartbar__total { font-weight: 800; }
.cartbar.bump { animation: bump .35s var(--ease); }

/* ---------- Sheets (dialogs) ---------- */
.sheet { padding: 0; border: 0; background: transparent; width: 100%; max-width: 560px; max-height: 100dvh; margin: auto auto 0; color: inherit; }
@media (min-width: 720px) { .sheet { margin: auto; } }
.sheet::backdrop { background: rgba(39,36,37,.55); backdrop-filter: blur(2px); }
.sheet[open] .sheet__inner { animation: up .3s var(--ease) both; }
.sheet__inner { position: relative; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92dvh; overflow: auto; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 720px) { .sheet__inner { border-radius: var(--r-lg); } }
.sheet__close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--sg-charcoal); font-size: 26px; line-height: 1; box-shadow: var(--shadow-card); }
.sheet__media { aspect-ratio: 16 / 10; background: var(--sg-mustard-wash); }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__media .ph img { width: 72px; }
.sheet__body { padding: 18px 20px 22px; }
.sheet__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.3; padding-inline-end: 44px; }
.sheet__sub { margin: 0; color: var(--sg-charcoal-70); font-weight: 600; }
.sheet__desc { margin: 8px 0; color: var(--sg-charcoal-70); }
.sheet__desc:empty { display: none; }
.sheet__actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; }

.stepper { display: flex; align-items: center; gap: 4px; background: var(--sg-mustard-wash); border-radius: var(--r-pill); padding: 4px; }
.stepper__btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; font-weight: 800; box-shadow: var(--shadow-card); }
.stepper__val { min-width: 28px; text-align: center; font-weight: 800; font-size: 18px; }

.cart-lines { list-style: none; margin: 14px 0 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--sg-charcoal-12); align-items: center; }
.cart-line__name { font-weight: 800; }
.cart-line__price { color: var(--sg-charcoal-70); font-size: 14px; }
.cart-line .qmini { grid-row: span 2; }
.cart-empty { text-align: center; padding: 20px 0; color: var(--sg-charcoal-70); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; font-size: 18px; font-weight: 700; }
.cart-total strong { font-family: var(--font-display); font-size: 24px; color: var(--sg-red); }

.order-form { display: grid; gap: 12px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.seg legend { font-weight: 700; margin-bottom: 6px; padding: 0; width: 100%; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: var(--r-md); background: var(--sg-mustard-wash); font-weight: 700; cursor: pointer; }
.seg input:checked + span { background: var(--sg-charcoal); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--sg-charcoal); outline-offset: 2px; }
.field { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.field input, .field textarea { border: 2px solid var(--sg-charcoal-12); border-radius: var(--r-sm); padding: 10px 12px; font-weight: 500; font-size: 16px; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--sg-charcoal); outline: none; }
.hint { margin: 0; font-size: 13px; color: var(--sg-charcoal-70); text-align: center; }

.noscript { text-align: center; padding: 20px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bump { 50% { transform: scale(1.04); } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Contact icons ---------- */
.social { display: flex; gap: 8px; }
.icon-chip { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sg-white-70); color: var(--sg-charcoal); transition: background .2s, transform .15s; }
.icon-chip:hover { background: #fff; }
.icon-chip:active { transform: scale(.92); }
.icon-chip svg { width: 20px; height: 20px; }
.contact-btn { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); text-decoration: none; background: var(--sg-mustard-wash); transition: background .2s; min-height: 56px; }
.contact-btn:hover { background: var(--sg-mustard-soft); }
.contact-btn__ic { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--sg-charcoal); color: #fff; }
.contact-btn--wa .contact-btn__ic { background: var(--sg-red); }
.contact-btn__ic svg { width: 20px; height: 20px; }
.contact-btn__txt { display: grid; line-height: 1.3; }
.contact-btn__txt b { font-weight: 800; }
.contact-btn__txt .num { font-size: 14px; color: var(--sg-charcoal-70); justify-self: start; }
.btn__ic { display: inline-grid; width: 20px; height: 20px; }
.btn__ic svg { width: 20px; height: 20px; }
/* small source photos: show them sharp, not stretched */
.sheet__media.is-small { display: grid; place-items: center; padding: 16px; }
.sheet__media.is-small img { width: auto; height: 100%; max-height: 260px; aspect-ratio: 1; border-radius: var(--r-md); object-fit: cover; }
