/* Happy Buns — Burgers and More */
:root {
  --orange: #e35a00;
  --orange-dark: #b84800;
  --orange-soft: #ffe7d4;
  --char: #2b2b2b;
  --ink: #1d1d1d;
  --muted: #5f5a55;
  --cream: #fff7ee;
  --paper: #ffffff;
  --lettuce: #6c9c3c;
  --tomato: #b2262e;
  --mustard: #f5b82e;
  --line: #eadfd3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 25, 10, .10);
  --max: 1160px;
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; color: var(--char); font-weight: 600; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--white { background: var(--paper); }
.section--dark { background: var(--char); color: #f3ece4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .82rem;
  color: var(--orange); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: #cfc6bc; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Wavy lettuce divider like the logo */
.wave {
  height: 14px; width: 100%;
  background:
    radial-gradient(circle at 10px -4px, transparent 12px, var(--lettuce) 13px) 0 0 / 20px 14px repeat-x;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: .85em 1.5em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 0 var(--orange-dark); }
.btn--primary:hover { background: #f06508; }
.btn--ghost { border-color: currentColor; color: var(--char); background: transparent; }
.btn--light { background: #fff; color: var(--char); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 238, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .55em .95em; border-radius: 999px; text-decoration: none;
  color: var(--char); font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
}
.nav-links a:hover { background: var(--orange-soft); }
.nav-links a[aria-current="page"] { background: var(--char); color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: .6em 1.15em; min-height: 44px; font-size: 1rem; box-shadow: 0 4px 0 var(--orange-dark); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--char); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav { height: 68px; }
  .brand img { height: 42px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 68px 0 auto 0; background: var(--cream);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 24px; display: none;
  }
  .nav-open .nav-menu { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links a { font-size: 1.25rem; padding: .7em 1em; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }
}
@media (min-width: 861px) { .nav-menu { display: flex; align-items: center; } }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--char); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,14,8,.88) 0%, rgba(20,14,8,.65) 45%, rgba(20,14,8,.15) 100%);
}
.hero__inner { position: relative; padding: clamp(80px, 14vw, 170px) 0 clamp(80px, 12vw, 150px); max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--mustard); }
.hero p { font-size: 1.2rem; color: #f1e7dc; max-width: 48ch; }
.hero .btn--ghost { color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .35em .85em; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  font-weight: 700; font-size: .9rem;
}
.stars { color: var(--mustard); letter-spacing: 1px; }

.page-hero { background: var(--char); color: #fff; padding: clamp(56px, 9vw, 96px) 0 clamp(44px, 7vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d9cfc4; font-size: 1.15rem; max-width: 56ch; margin: 0; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px;
  background: url("../images/mark.png") center / contain no-repeat; opacity: .10;
}

/* Info strip */
.strip { background: var(--orange); color: #fff; }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__item { display: flex; gap: 14px; align-items: center; padding: 22px 20px; text-decoration: none; color: #fff; }
.strip__item + .strip__item { border-left: 1px solid rgba(255,255,255,.25); }
.strip__item svg { width: 30px; height: 30px; flex: none; }
.strip__item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.strip__item span { opacity: .9; font-size: .95rem; }
@media (max-width: 760px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
}

/* Category cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--orange-soft);
}
.card__icon svg { width: 38px; height: 38px; }
.card p { color: var(--muted); }
.card .from { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--orange); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
.photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo--tilt { transform: rotate(-1.5deg); border: 8px solid #fff; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* Features list */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--lettuce) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Favorites */
.favs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.fav {
  background: #3a3a3a; border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column;
  border-top: 6px solid var(--orange);
}
.fav:nth-child(2) { border-top-color: var(--lettuce); }
.fav:nth-child(3) { border-top-color: var(--mustard); }
.fav:nth-child(4) { border-top-color: var(--tomato); }
.fav h3 { margin-bottom: .3em; }
.fav p { color: #cfc6bc; font-size: .96rem; }
.fav .price { margin-top: auto; font-family: var(--font-display); font-size: 1.4rem; color: var(--mustard); font-weight: 600; }
@media (max-width: 1000px) { .favs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .favs { grid-template-columns: 1fr; } }

/* Rating block */
.rating { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.rating__num { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 6.5rem); color: var(--orange); line-height: 1; font-weight: 600; }
.rating__stars { font-size: 2rem; color: var(--mustard); letter-spacing: 3px; line-height: 1; }
.rating__meta { text-align: left; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; padding: 0; list-style: none; }
.pill { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-weight: 700; color: var(--char); font-size: .95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff;
  padding: .3em .8em; border-radius: 999px; font-size: .88rem; font-weight: 700;
}
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; color: #ffe7d4; font-size: 1.1rem; }
.cta-band .btn--light { color: var(--orange-dark); box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.cta-band .btn--ghost { color: #fff; }

/* Menu page */
.menu-nav {
  position: sticky; top: 76px; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line);
}
.menu-nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  white-space: nowrap; display: block; text-decoration: none; padding: .5em 1.1em; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--char);
  font-family: var(--font-display); font-weight: 500;
}
.menu-nav a.active { background: var(--orange); color: #fff; border-color: var(--orange); }
@media (max-width: 860px) { .menu-nav { top: 68px; } }

.menu-section { padding: 56px 0 24px; scroll-margin-top: 150px; }
.menu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.menu-head h2 { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .35em .8em; border-radius: 8px; background: var(--lettuce); color: #fff; }
.tag--orange { background: var(--orange); }
.tag--red { background: var(--tomato); }
.tag--dark { background: var(--char); }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
}
.item h3 { margin: 0; font-size: 1.25rem; }
.item .num { color: var(--orange); margin-right: .25em; }
.item .price { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--orange-dark); white-space: nowrap; text-align: right; }
.item .price small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }
.item p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .97rem; }
.item--feature { border: 2px solid var(--orange); background: linear-gradient(180deg, #fff 0%, #fff5ec 100%); }
.item--feature .flag { grid-column: 1 / -1; justify-self: start; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--orange); color: #fff; border-radius: 6px; padding: .2em .6em; margin-bottom: 6px; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; } }

.combo {
  margin: 28px 0 0; background: var(--char); color: #fff; border-radius: 22px; padding: 26px 28px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
}
.combo__price { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--mustard); font-weight: 600; }
.combo h3 { color: #fff; margin: 0 0 .2em; }
.combo p { margin: 0; color: #d9cfc4; }
.combo__up { background: rgba(255,255,255,.1); border-radius: 14px; padding: 12px 16px; font-size: .95rem; }
.combo__up strong { color: var(--mustard); }
@media (max-width: 700px) { .combo { grid-template-columns: 1fr; text-align: left; gap: 12px; } }

.drinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.drink { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; }
.drink .price { font-family: var(--font-display); font-size: 2rem; color: var(--orange); font-weight: 600; }
.drink p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .drinks { grid-template-columns: 1fr; } }

.board { margin-top: 18px; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.board img { width: 100%; }
.note { font-size: .92rem; color: var(--muted); }

/* Visit page */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row svg { width: 26px; height: 26px; flex: none; color: var(--orange); margin-top: 3px; }
.info-row h3 { font-size: 1.1rem; margin: 0 0 .2em; }
.info-row p { margin: 0; color: var(--muted); }
.info-row a { font-weight: 700; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* Footer */
.site-footer { background: #1e1e1e; color: #bdb3a8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: .8em; }
.site-footer a { color: #e9e0d6; text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo { width: 190px; margin-bottom: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #333; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Mobile sticky action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(30,30,30,.96); backdrop-filter: blur(8px);
  }
  .mobile-bar .btn { min-height: 50px; padding: .6em 1em; font-size: 1rem; }
  .mobile-bar .btn--ghost { color: #fff; }
  body { padding-bottom: 76px; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .gallery img { transition: none; }
}

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- Photos & socials (v2) ---- */
.card { padding: 0; }
.card > :not(.card__photo) { margin-left: 26px; margin-right: 26px; }
.card > h3 { margin-top: 22px; }
.card > .from { margin-bottom: 26px; }
.card > .card__icon { margin-top: 30px; }
.card > p:last-child { margin-bottom: 30px; }
.card__photo { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__photo img { transform: scale(1.05); }

.fav { padding: 0 0 22px; overflow: hidden; }
.fav > :not(picture) { margin-left: 22px; margin-right: 22px; }
.fav h3 { margin-top: 18px; }
.fav__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.item--photo { grid-template-columns: 120px 1fr; padding: 14px; gap: 16px; align-items: start; }
.item__img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; }
.item__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; min-width: 0; padding-top: 4px; }
.item__body .flag { grid-column: 1 / -1; justify-self: start; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--orange); color: #fff; border-radius: 6px; padding: .2em .6em; margin-bottom: 6px; }
@media (max-width: 420px) { .item--photo { grid-template-columns: 92px 1fr; } .item__img { width: 92px; height: 92px; } }

.gallery { grid-template-columns: repeat(3, 1fr); }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery .g-wide img { height: 100%; aspect-ratio: auto; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery figcaption { font-size: .75rem; left: 8px; bottom: 8px; } }

.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.follow-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.follow-row .socials { margin: 0; }

@media (max-width: 760px) {
  .mobile-bar { grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
  .mobile-bar .btn { padding: .6em .5em; gap: .35em; }
}

/* ---- Online ordering (v3) ---- */
[hidden] { display: none !important; }
.page-hero--slim { padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 48px); }
.closed-banner { background: var(--tomato); color: #fff; font-weight: 800; padding: 12px 0; }
.closed-banner a { color: #fff; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 60px; }
.order-cat { padding-top: 40px; scroll-margin-top: 150px; }
.order-cat .menu-head { margin-bottom: 18px; }
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.oitem { display: flex; gap: 14px; align-items: stretch; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; font: inherit; color: inherit; position: relative; transition: border-color .15s, transform .15s; min-width: 0; }
.oitem:hover { border-color: var(--orange); transform: translateY(-2px); }
.oitem img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; }
.oitem__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 30px; }
.oitem__body strong { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--char); }
.oitem__desc { color: var(--muted); font-size: .92rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oitem__price { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--orange-dark); }
.oitem__add { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; font-weight: 700; }

.cart { position: sticky; top: 150px; margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; max-height: calc(100vh - 170px); overflow: auto; }
.cart__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cart__head h2 { font-size: 1.5rem; margin: 0; }
.cart__close { display: none; border: 0; background: var(--cream); width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.cart__lines { list-style: none; margin: 0; padding: 0; }
.cline { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cline__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cline__main span { color: var(--muted); font-size: .88rem; }
.cline__main .cline__note { color: var(--tomato); }
.cline__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-weight: 800; white-space: nowrap; }
.linkbtn { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 600; padding: 0; }
.cart-empty { color: var(--muted); padding: 14px 0; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; font-family: var(--font-display); font-size: 1.3rem; }
.checkout { display: grid; gap: 12px; margin-top: 10px; }
.sel { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.sel input, .sel select { font: inherit; font-weight: 400; font-size: 1rem; padding: .7em .8em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.sel input:focus, .sel select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
legend { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; color: var(--char); }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.opt:has(input:checked) { border-color: var(--orange); background: #fff6ee; }
.opt input { width: 20px; height: 20px; accent-color: var(--orange); flex: none; }
.opt span { flex: 1; font-weight: 700; }
.opt em { font-style: normal; color: var(--muted); font-size: .88rem; }
.opt--hl { border-style: dashed; }
.combo-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-error { background: #fde8e6; color: #8b2116; border-radius: 10px; padding: 10px 12px; margin: 0; font-weight: 700; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.small { font-size: .85rem; margin: 0; text-align: center; }

.dlg { border: 0; padding: 0; border-radius: 22px; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: auto; }
.dlg::backdrop { background: rgba(20, 14, 8, .6); }
.dlg__img { width: 100%; height: 220px; object-fit: cover; display: block; }
.dlg__pad { padding: 22px 22px 6px; }
.dlg__pad h2 { font-size: 1.7rem; margin-bottom: .2em; }
.dlg__desc { color: var(--muted); }
.dlg__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.6rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.dlg__foot { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 14px 22px; background: var(--paper); border-top: 1px solid var(--line); }
.dlg__foot .btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--char); }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.sel--note { margin-bottom: 12px; }
.dlg--pay { width: min(560px, calc(100vw - 24px)); padding: 56px 12px 12px; }

.cart-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--char); color: #fff; padding: .7em 1.2em; border-radius: 999px; font-weight: 700; z-index: 90; box-shadow: var(--shadow); }
.done__card { max-width: 560px; margin: 0 auto; background: var(--paper); border-radius: 26px; padding: 40px 28px; box-shadow: var(--shadow); }
.done__card img { margin: 0 auto 10px; }
.done__card h1 { font-size: clamp(3.5rem, 12vw, 5rem); color: var(--orange); margin: 0 0 .1em; }

@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
  .cart { position: fixed; inset: 0; top: auto; margin: 0; max-height: 92vh; border-radius: 22px 22px 0 0; z-index: 80; transform: translateY(105%); transition: transform .25s ease; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .cart-open .cart { transform: none; }
  .cart-open::after { content: ""; position: fixed; inset: 0; background: rgba(20,14,8,.55); z-index: 70; }
  .cart__close { display: block; }
  .cart-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; border: 0; border-radius: 16px; background: var(--orange); color: #fff; font: inherit; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding: 16px 20px; box-shadow: 0 8px 24px rgba(227,90,0,.4); cursor: pointer; }
  .cart-bar span { display: inline-flex; align-items: center; gap: 8px; }
  .cart-bar svg { width: 22px; height: 22px; }
}
@media (max-width: 640px) {
  .order-grid { grid-template-columns: 1fr; }
  .oitem img { width: 84px; height: 84px; }
  .combo-opts { grid-template-columns: 1fr; }
  .dlg { width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .dlg__img { height: 180px; }
}

/* Clover card fields */
.card-box { display: grid; gap: 10px; }
.cfield { min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 0 8px; overflow: hidden; }
.cfield iframe { width: 100% !important; height: 46px !important; }
.crow { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }

.cart__sub { display: flex; justify-content: space-between; color: var(--muted); padding-top: 10px; font-weight: 700; }
